Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrBmcConnectionFail = errors.New("Unable to login to bmc") //could be a timeout or just bad credentials. ErrUnkownAsset = errors.New("Unknown asset type") )
Functions ¶
This section is empty.
Types ¶
type ButlerManager ¶
type ButlerManager struct { Log *logrus.Logger SpawnCount int SyncWG sync.WaitGroup ButlerChan <-chan ButlerMsg MetricsEmitter metrics.Emitter IgnoreLocation bool }
func (*ButlerManager) SpawnButlers ¶
func (bm *ButlerManager) SpawnButlers()
spawn a pool of butlers
func (*ButlerManager) Wait ¶
func (bm *ButlerManager) Wait()
type SetupAction ¶
func (*SetupAction) Chassis ¶
func (s *SetupAction) Chassis(chassis devices.BmcChassis, config *cfgresources.ResourcesSetup) (configured bool)
func (*SetupAction) Post ¶
func (s *SetupAction) Post(asset *asset.Asset)
Actions to be taken once a chassis was setup successfully.
Click to show internal directories.
Click to hide internal directories.