configure

package
v0.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2020 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bmc

type Bmc struct {
	// contains filtered or unexported fields
}

Bmc struct declares attributes required to apply configuration.

func NewBmcConfigurator

func NewBmcConfigurator(bmc devices.Bmc,
	asset *asset.Asset,
	resources []string,
	config *cfgresources.ResourcesConfig,
	butlerConfig *config.Params,
	stopChan <-chan struct{},
	logger *logrus.Logger) *Bmc

NewBmcConfigurator returns a new configure struct to apply configuration.

func (*Bmc) Apply

func (b *Bmc) Apply()

Apply applies configuration. nolint: gocyclo

type Cmc added in v0.0.8

type Cmc struct {
	// contains filtered or unexported fields
}

Cmc struct declares attributes required to apply configuration.

func NewCmcConfigurator added in v0.0.8

func NewCmcConfigurator(bmc devices.Cmc,
	asset *asset.Asset,
	resources []string,
	config *cfgresources.ResourcesConfig,
	stopChan <-chan struct{},
	logger *logrus.Logger) *Cmc

NewCmcConfigurator returns a new configure struct to apply configuration.

func (*Cmc) Apply added in v0.0.8

func (b *Cmc) Apply()

Apply applies configuration.

type CmcSetup added in v0.0.8

type CmcSetup struct {
	// contains filtered or unexported fields
}

CmcSetup struct holds various attributes for chassis setup methods.

func NewCmcSetup added in v0.0.8

func NewCmcSetup(
	chassis devices.Cmc,
	asset *asset.Asset,
	resources []string,
	config *cfgresources.SetupChassis,
	butlerConfig *config.Params,
	stopChan <-chan struct{},
	logger *logrus.Logger) *CmcSetup

NewCmcSetup returns a new struct to apply configuration.

func (*CmcSetup) Apply added in v0.0.8

func (b *CmcSetup) Apply()

Apply applies one time setup configuration.

func (*CmcSetup) Post added in v0.0.8

func (b *CmcSetup) Post()

Post method is when a chassis was setup successfully.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL