components

package
v1.0.21 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WaitForCRDs

func WaitForCRDs(ctx context.Context, c client.Client, logger logr.Logger, crdNames []string) error

WaitForCRDs waits for the given CRDs to be available in the cluster.

Types

type Component

type Component interface {

	// Name returns the name of the component
	Name() string

	// Install installs the component
	Install(ctx context.Context) error

	// Uninstall uninstalls the component
	Uninstall(ctx context.Context) error

	// CheckExists checks if the component exists
	CheckExists(ctx context.Context) (bool, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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