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 Usecases ¶
type Usecases struct {
// ContextBox connector to perform tasks related to Context-box
ContextBox ports.ContextBoxPort
// 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
}
func (*Usecases) ConfigProcessor ¶
ConfigProcessor will fetch new configs from the context-box service. Each received config will be processed in a separate go-routine. If a sync.WaitGroup is supplied it will call the Add(1) and then the Done() method on it after the go-routine finishes the work, if nil it will be ignored.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.