deployer

package
v0.0.0-...-3d0887b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2020 License: GPL-3.0 Imports: 23 Imported by: 0

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 ContainerDefinitions struct {
	ContainerName string `json:"container_name"`
	Tag           string `json:"tag"`
}

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL