nfddelete

package
v0.0.0-...-d940a3b Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllNFDCustomResources

func AllNFDCustomResources(apiClient *clients.Settings, namespace string, crNames ...string) error

AllNFDCustomResources deletes all NFD custom resources by names. This is a convenience function for direct use in tests.

func NfdLabelsByKeys

func NfdLabelsByKeys(apiClient *clients.Settings, labelsRemove ...string) error

NfdLabelsByKeys delete labels from a given list.

Types

type NFDCustomResourceCleaner

type NFDCustomResourceCleaner struct {
	APIClient *clients.Settings
	Namespace string
	LogLevel  glog.Level
}

NFDCustomResourceCleaner implements CustomResourceCleaner for NFD operators.

func NewNFDCustomResourceCleaner

func NewNFDCustomResourceCleaner(
	apiClient *clients.Settings,
	namespace string,
	logLevel glog.Level) *NFDCustomResourceCleaner

NewNFDCustomResourceCleaner creates a new NFD custom resource cleaner.

func (*NFDCustomResourceCleaner) CleanupCustomResources

func (n *NFDCustomResourceCleaner) CleanupCustomResources() error

CleanupCustomResources implements the CustomResourceCleaner interface for NFD.

Jump to

Keyboard shortcuts

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