Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Errors //ErrConfigNotFound is thrown when the configuration file is not found ErrConfigNotFound = errors.New("Config file not found") ErrDeploymentFailed = errors.New("Deployment failed") )
Functions ¶
func LambdaHandler ¶
func LambdaHandler(ctx context.Context, event events.CodePipelineEvent)
Types ¶
type ContainerDefinitions ¶
type DeploymentJSON ¶
type DeploymentJSON struct {
Cluster string `json:"cluster"`
RollbackOnFail bool `json:"rollback_on_fail"`
Deployment string `json:"deployment"`
Namespace string `json:"namespace"`
Containers []ContainerDefinitions `json:"containers"`
}
type KubeClient ¶
type KubeClient struct {
Client kubernetes.Interface
}
Click to show internal directories.
Click to hide internal directories.