Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseStep ¶
type BaseStep[Opts any] struct { // Options to pass via yaml to this step. conf.JsonOpts[Opts] // Database connection. DB db.DB }
Common base for all steps that provides some functionality that would otherwise be duplicated across all steps.
type DemoStep ¶
type DemoStep struct {
// BaseStep is a helper struct that provides common functionality for all steps.
BaseStep[DemoStepOpts]
}
type DemoStepOpts ¶
type DemoStepOpts struct {
// A name of a virtual machine to de-schedule.
VMName string `json:"vmName"`
}
Click to show internal directories.
Click to hide internal directories.