Documentation ¶
Overview ¶
Package deployer implements various deployment mechanisms of services
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSECS ¶
type AWSECS struct {
// contains filtered or unexported fields
}
AWSECS implements a deployment mechanism using AWS Elastic container service as the orchestrator If uses Fargate as the launcher with Linux as the operating system
func NewAWSECS ¶
func NewAWSECS( service string, taskDefinition string, container string, containerEnv map[string]string, logger *logrus.Entry, ) (*AWSECS, error)
NewAWSECS creates a new instance of the AWS ECS deployer that will deploy the given container in the specified cluster
func (*AWSECS) IsDeploying ¶
IsDeploying returns true while an increase or decrease of services have been requested but not completed yet
type Docker ¶
type Docker struct {
// contains filtered or unexported fields
}
Docker implements a deployment mechanism using Docker as the orchestrator
func NewDocker ¶
func NewDocker( service string, container string, containerEnv map[string]string, logger *logrus.Entry, ) (*Docker, error)
NewDocker creates a new instance of the Docker deployer that will deploy the given container
func (*Docker) IsDeploying ¶
IsDeploying returns true while an increase or decrease of services have been requested but not completed yet
type Mock ¶
type Mock struct {
// contains filtered or unexported fields
}
Mock implements a mock deployment mechanism
func NewMock ¶
func NewMock() *Mock
NewMock creates a new instance of the Mock deployer that will deploy the given container
func (*Mock) IsDeploying ¶
IsDeploying returns true while an increase or decrease of services have been requested but not completed yet