Documentation ¶
Index ¶
- type CodeDeploySpec
- func (c CodeDeploySpec) DeploymentConfigExists(name string) (res bool, err error)
- func (c CodeDeploySpec) DeploymentConfigHasCanaryInterval(name string, interval int) (res bool, err error)
- func (c CodeDeploySpec) DeploymentConfigHasCanaryPercentage(name string, percent int) (res bool, err error)
- func (c CodeDeploySpec) DeploymentConfigHasComputePlatform(name, computePlatform string) (res bool, err error)
- func (c CodeDeploySpec) DeploymentConfigHasLinearInterval(name string, interval int) (res bool, err error)
- func (c CodeDeploySpec) DeploymentConfigHasLinearPercentage(name string, percent int) (res bool, err error)
- func (c CodeDeploySpec) DeploymentConfigIsCanary(name string) (res bool, err error)
- func (c CodeDeploySpec) DeploymentConfigIsLinear(name string) (res bool, err error)
- func (c CodeDeploySpec) DeploymentGroupHasAutoRollback(appName, id string) (res bool, err error)
- func (c CodeDeploySpec) DeploymentGroupHasAutoRollbackForEvents(appName, id string, events []string) (res bool, err error)
- func (c CodeDeploySpec) DeploymentGroupHasDeploymentConfig(appName, id, config string) (res bool, err error)
- func (c CodeDeploySpec) DeploymentGroupHasServiceRole(appName, id, role string) (res bool, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CodeDeploySpec ¶
CodeDeploySpec contains the AWS session
func (CodeDeploySpec) DeploymentConfigExists ¶ added in v0.10.1
func (c CodeDeploySpec) DeploymentConfigExists(name string) (res bool, err error)
DeploymentConfigExists returns true if the specified Deployment Config exist
func (CodeDeploySpec) DeploymentConfigHasCanaryInterval ¶ added in v0.10.0
func (c CodeDeploySpec) DeploymentConfigHasCanaryInterval(name string, interval int) (res bool, err error)
DeploymentConfigHasCanaryInterval returns true if the canary interval of the specified Deployment Config matches the one provided
func (CodeDeploySpec) DeploymentConfigHasCanaryPercentage ¶ added in v0.10.0
func (c CodeDeploySpec) DeploymentConfigHasCanaryPercentage(name string, percent int) (res bool, err error)
DeploymentConfigHasCanaryPercentage returns true if the canary percentage of the specified Deployment Config matches the one provided
func (CodeDeploySpec) DeploymentConfigHasComputePlatform ¶ added in v0.10.0
func (c CodeDeploySpec) DeploymentConfigHasComputePlatform(name, computePlatform string) (res bool, err error)
DeploymentConfigHasComputePlatform returns true if the compute platform for the specified Deployment Config matches the one provided
func (CodeDeploySpec) DeploymentConfigHasLinearInterval ¶ added in v0.10.0
func (c CodeDeploySpec) DeploymentConfigHasLinearInterval(name string, interval int) (res bool, err error)
DeploymentConfigHasLinearInterval returns true if the linear interval of the specified Deployment Config matches the one provided
func (CodeDeploySpec) DeploymentConfigHasLinearPercentage ¶ added in v0.10.0
func (c CodeDeploySpec) DeploymentConfigHasLinearPercentage(name string, percent int) (res bool, err error)
DeploymentConfigHasLinearPercentage returns true if the linear percentage of the specified Deployment Config matches the one provided
func (CodeDeploySpec) DeploymentConfigIsCanary ¶ added in v0.10.0
func (c CodeDeploySpec) DeploymentConfigIsCanary(name string) (res bool, err error)
DeploymentConfigIsCanary returns true if the traffic routing type of the specified Deployment Config is of type "TimeBasedCanary"
func (CodeDeploySpec) DeploymentConfigIsLinear ¶ added in v0.10.0
func (c CodeDeploySpec) DeploymentConfigIsLinear(name string) (res bool, err error)
DeploymentConfigIsLinear returns true if the traffic routing type of the specified Deployment Config is of type "TimeBasedLinear"
func (CodeDeploySpec) DeploymentGroupHasAutoRollback ¶
func (c CodeDeploySpec) DeploymentGroupHasAutoRollback(appName, id string) (res bool, err error)
DeploymentGroupHasAutoRollback returns true if the provided Deployment Group has auto-rollback enabled
func (CodeDeploySpec) DeploymentGroupHasAutoRollbackForEvents ¶
func (c CodeDeploySpec) DeploymentGroupHasAutoRollbackForEvents(appName, id string, events []string) (res bool, err error)
DeploymentGroupHasAutoRollbackForEvents returns true if the provided Deployment Group is configured to auto-rollback for the specified events
func (CodeDeploySpec) DeploymentGroupHasDeploymentConfig ¶
func (c CodeDeploySpec) DeploymentGroupHasDeploymentConfig(appName, id, config string) (res bool, err error)
DeploymentGroupHasDeploymentConfig returns true if the specified Deployment Configuration is associated to the provided Deployment Group
func (CodeDeploySpec) DeploymentGroupHasServiceRole ¶
func (c CodeDeploySpec) DeploymentGroupHasServiceRole(appName, id, role string) (res bool, err error)
DeploymentGroupHasServiceRole returns true if the specified IAM role ARN is attached to the provided Deployment Group