Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrFailedToBuildInfrastructure is returned when the infra fails to build in terraformer // including any partial failures. ErrFailedToBuildInfrastructure = errors.New("failed to successfully build desired state") )
Functions ¶
This section is empty.
Types ¶
type DoFn ¶ added in v0.9.11
Do function is what the above defined Task understands and will execute. This type may itself run tasks which may be scheduled for execution.
type Task ¶ added in v0.9.11
type Task struct {
// contains filtered or unexported fields
}
Task processes parts or all of the infrastructure as specified in the passed in builder.Context. Any partial state change that the task does, should be reflected in the passed in builder.Context.
type Usecases ¶
type Usecases struct {
// Manager client to perform tasks related to manager
Manager managerclient.ClientAPI
// Terraformer connector to perform tasks related to Terraformer
Terraformer ports.TerraformerPort
// Ansibler connector to perform tasks related to Ansibler
Ansibler ports.AnsiblerPort
// KubeEleven connector to perform tasks related to KubeEleven
KubeEleven ports.KubeElevenPort
// Kuber connector to perform tasks related to Kuber
Kuber ports.KuberPort
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.