operator

package
v0.82.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: GPL-2.0 Imports: 20 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 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 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