Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Butler ¶
type Butler struct { Config *config.Params // bmcbutler config + CLI params passed by the user. ButlerChan <-chan Msg Log *logrus.Logger StopChan <-chan struct{} SyncWG *sync.WaitGroup WorkerPool *workerpool.WorkerPool Secrets *secrets.Store // contains filtered or unexported fields }
Holds attributes required to spawn butlers.
type Msg ¶ added in v0.0.7
type Msg struct { Asset asset.Asset // Asset to be configured AssetConfig []byte // The BMC configuration read in from configuration.yml AssetSetup []byte // The one-time-setup configuration read from setup.yml AssetExecute string // Commands to be executed on the BMC }
Represents butler messages passed over the butlerChan. These declare assets for butlers to carry actions on.
Click to show internal directories.
Click to hide internal directories.