operator

package
v0.85.1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2025 License: GPL-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EventuallyIsFound

func EventuallyIsFound(key types.NamespacedName, obj client.Object, msg string)

func EventuallyIsNotFound

func EventuallyIsNotFound(key types.NamespacedName, obj client.Object, msg string)

func EventuallyOperandIsFound

func EventuallyOperandIsFound(testData TestData)

func EventuallyOperandIsNotFound

func EventuallyOperandIsNotFound(testData TestData)

func EventuallyOperandIsReady

func EventuallyOperandIsReady(testData TestData)

func InstallNMState

func InstallNMState(nmstate nmstatev1.NMState)

func InstallOperator

func InstallOperator(operator TestData)

func IsOpenShift added in v0.83.0

func IsOpenShift() bool

func UninstallNMState

func UninstallNMState(nmstate nmstatev1.NMState)

func UninstallNMStateAndWaitForDeletion

func UninstallNMStateAndWaitForDeletion(testData TestData)

func UninstallOperator

func UninstallOperator(operator TestData)

Types

type TestData

type TestData struct {
	Ns                                                       string
	Nmstate                                                  nmstatev1.NMState
	WebhookKey, HandlerKey, CertManagerKey, ConsolePluginKey types.NamespacedName
	MetricsKey                                               *types.NamespacedName
	ManifestsDir                                             string
	ManifestFiles                                            []string
}

func NewOperatorTestData

func NewOperatorTestData(ns string, manifestsDir string, manifestFiles []string) TestData

Jump to

Keyboard shortcuts

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