config

package
v0.0.0-...-9253115 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// PathToDefaultDiskEncryptionParamsFile path to config file with default disk encryption parameters.
	PathToDefaultDiskEncryptionParamsFile = "./default.yaml"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DiskEncrptionConfig

type DiskEncrptionConfig struct {
	*systemtestsconfig.SystemTestsConfig
	// BMCClient provides access to the BMC. Nil when BMC configs are not provided.
	Spoke1BMC   *bmc.BMC
	BMCUsername string        `yaml:"BMCUsername" envconfig:"ECO_SYSTEM_TESTS_BMC_USERNAME"`
	BMCPassword string        `yaml:"BMCPassword" envconfig:"ECO_SYSTEM_TESTS_BMC_PASSWORD"`
	BMCHosts    []string      `yaml:"BMCHosts" envconfig:"ECO_SYSTEM_TESTS_BMC_HOSTS"`
	BMCTimeout  time.Duration `yaml:"BMCTimeout" envconfig:"ECO_SYSTEM_TESTS_BMC_TIMEOUT"`
}

DiskEncrptionConfig type keeps disk encryption configuration.

func NewDiskEncryptionConfig

func NewDiskEncryptionConfig() *DiskEncrptionConfig

NewDiskEncryptionConfig returns instance of DiskEncrptionConfig config type.

Jump to

Keyboard shortcuts

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