Documentation
¶
Overview ¶
Package deploy holds the structures to deploy a workload.
Index ¶
- func NewBackendDeployer(in *WorkloadDeployerInput) (*backendSvcDeployer, error)
- func NewJobDeployer(in *WorkloadDeployerInput) (*jobDeployer, error)
- func NewLBDeployer(in *WorkloadDeployerInput) (*lbSvcDeployer, error)
- func NewRDWSDeployer(in *WorkloadDeployerInput) (*rdwsDeployer, error)
- func NewWorkerSvcDeployer(in *WorkloadDeployerInput) (*workerSvcDeployer, error)
- type ActionRecommender
- type DeployWorkloadInput
- type UploadArtifactsOutput
- type WorkloadDeployerInput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBackendDeployer ¶
func NewBackendDeployer(in *WorkloadDeployerInput) (*backendSvcDeployer, error)
NewBackendDeployer is the constructor for backendSvcDeployer.
func NewJobDeployer ¶
func NewJobDeployer(in *WorkloadDeployerInput) (*jobDeployer, error)
NewJobDeployer is the constructor for jobDeployer.
func NewLBDeployer ¶
func NewLBDeployer(in *WorkloadDeployerInput) (*lbSvcDeployer, error)
NewLBDeployer is the constructor for lbSvcDeployer.
func NewRDWSDeployer ¶
func NewRDWSDeployer(in *WorkloadDeployerInput) (*rdwsDeployer, error)
NewRDWSDeployer is the constructor for RDWSDeployer.
func NewWorkerSvcDeployer ¶
func NewWorkerSvcDeployer(in *WorkloadDeployerInput) (*workerSvcDeployer, error)
NewWorkerSvcDeployer is the constructor for workerSvcDeployer.
Types ¶
type ActionRecommender ¶
type ActionRecommender interface {
RecommendedActions() []string
}
ActionRecommender contains methods that output action recommendation.
type DeployWorkloadInput ¶
type DeployWorkloadInput struct {
ImageDigest string
EnvFileARN string
AddonsURL string
RootUserARN string
Tags map[string]string
ForceNewUpdate bool
}
DeployWorkloadInput is the input of DeployWorkload.
type UploadArtifactsOutput ¶
UploadArtifactsOutput is the output of UploadArtifacts.
type WorkloadDeployerInput ¶
type WorkloadDeployerInput struct {
Name string
App *config.Application
Env *config.Environment
ImageTag string
Mft interface{}
}
WorkloadDeployerInput is the input to for workloadDeployer constructor.
Click to show internal directories.
Click to hide internal directories.