operandhandler

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2025 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrCDIUninstall = "ErrCDIUninstall"

	ErrVirtUninstall = "ErrVirtUninstall"

	ErrHCOUninstall = "ErrHCOUninstall"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type OperandHandler

type OperandHandler struct {
	// contains filtered or unexported fields
}

func NewOperandHandler

func NewOperandHandler(client client.Client, scheme *runtime.Scheme, ci hcoutil.ClusterInfo, eventEmitter hcoutil.EventEmitter) *OperandHandler

func (*OperandHandler) Ensure

func (h *OperandHandler) Ensure(req *common.HcoRequest) error

func (*OperandHandler) EnsureDeleted

func (h *OperandHandler) EnsureDeleted(req *common.HcoRequest) error

func (*OperandHandler) FirstUseInitiation

func (h *OperandHandler) FirstUseInitiation(scheme *runtime.Scheme, ci hcoutil.ClusterInfo, hc *hcov1beta1.HyperConverged, pwdFS fs.FS)

FirstUseInitiation is a lazy init function The k8s client is not available when calling to NewOperandHandler. Initial operations that need to read/write from the cluster can only be done when the client is already working.

func (*OperandHandler) GetImageStreamNames

func (h *OperandHandler) GetImageStreamNames() []string

func (*OperandHandler) GetQuickStartNames

func (h *OperandHandler) GetQuickStartNames() []string

func (*OperandHandler) Reset

func (h *OperandHandler) Reset()

Jump to

Keyboard shortcuts

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