Documentation ¶
Index ¶
- Variables
- func AssertEvents(t *testing.T, testCase string, expectedEvents []string, realEvents chan string)
- func FooBar() map[string]string
- func NewBareMetalHost(name string, online bool, powerOn bool) *bmov1.BareMetalHost
- func NewInfrastructure(name string, platform osconfigv1.PlatformType) *osconfigv1.Infrastructure
- func NewMachine(name string, nodeName string, bareMetalHostName string) *mapiv1.Machine
- func NewMachineHealthCheck(name string) *maov1.MachineHealthCheck
- func NewMachineRemediation(name string, machineName string, remediationType mrv1.RemediationType, ...) *mrv1.MachineRemediation
- func NewNode(name string, ready bool, machineName string) *corev1.Node
- func NewSelector(labels map[string]string) *metav1.LabelSelector
- func NewSelectorFooBar() *metav1.LabelSelector
- func NewUnhealthyConditionsConfigMap(name string, data string) *corev1.ConfigMap
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func AssertEvents ¶
AssertEvents verifies when the test run iniates expected events
func NewBareMetalHost ¶
func NewBareMetalHost(name string, online bool, powerOn bool) *bmov1.BareMetalHost
NewBareMetalHost returns new bare metal host object that can be used for testing
func NewInfrastructure ¶
func NewInfrastructure(name string, platform osconfigv1.PlatformType) *osconfigv1.Infrastructure
NewInfrastructure returns a new Infrastructure object that can be used for testing
func NewMachine ¶
NewMachine returns new machine object that can be used for testing
func NewMachineHealthCheck ¶
func NewMachineHealthCheck(name string) *maov1.MachineHealthCheck
NewMachineHealthCheck returns new MachineHealthCheck object that can be used for testing
func NewMachineRemediation ¶
func NewMachineRemediation(name string, machineName string, remediationType mrv1.RemediationType, remediationState mrv1.RemediationState) *mrv1.MachineRemediation
NewMachineRemediation returns new machine remediation object that can be used for testing
func NewSelector ¶
func NewSelector(labels map[string]string) *metav1.LabelSelector
NewSelector returns new LabelSelector
func NewSelectorFooBar ¶
func NewSelectorFooBar() *metav1.LabelSelector
NewSelectorFooBar returns new foo:bar label selector
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.