configure

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2019 License: Apache-2.0 Imports: 11 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,
	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 BmcChassis

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

BmcChassis struct declares attributes required to apply configuration.

func NewBmcChassisConfigurator

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

NewBmcChassisConfigurator returns a new configure struct to apply configuration.

func (*BmcChassis) Apply

func (b *BmcChassis) Apply()

Apply applies configuration.

type BmcChassisSetup

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

BmcChassisSetup struct holds various attributes for chassis setup methods.

func NewBmcChassisSetup

func NewBmcChassisSetup(
	chassis devices.BmcChassis,
	asset *asset.Asset,
	resources []string,
	config *cfgresources.SetupChassis,
	butlerConfig *config.Params,
	metricsEmitter *metrics.Emitter,
	stopChan <-chan struct{},
	logger *logrus.Logger) *BmcChassisSetup

NewBmcChassisSetup returns a new struct to apply configuration.

func (*BmcChassisSetup) Apply

func (b *BmcChassisSetup) Apply()

Apply applies one time setup configuration.

func (*BmcChassisSetup) Post

func (b *BmcChassisSetup) 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