runner

package
v0.0.0-...-6816ca5 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunTests

func RunTests(t logr.Logger, cfgData ConfigFile)

RunTests actions against BMCs.

Types

type ConfigFile

type ConfigFile struct {
	Server Server `yaml:"server"`
	Data   `yaml:",inline"`
}

ConfigFile is the config file.

func (*ConfigFile) Config

func (c *ConfigFile) Config(name string) error

Config for the resources file.

type Data

type Data struct {
	Resources []Resource `yaml:"resources"`
}

Data of BMC resources.

type Resource

type Resource struct {
	IP       string   `yaml:"ip"`
	Username string   `yaml:"username"`
	Password string   `yaml:"password"`
	Vendor   string   `yaml:"vendor"`
	UseCases UseCases `yaml:"useCases"`
}

Resource details of a single BMC.

type Server

type Server struct {
	URL  string `yaml:"url"`
	Port string `yaml:"port"`
}

Server is the connection details.

type UseCases

type UseCases struct {
	Power  []string `yaml:"power"`
	Device []string `yaml:"device"`
}

UseCases classes with names.

Jump to

Keyboard shortcuts

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