Documentation
¶
Index ¶
- Constants
- type OperandHandler
- func (h *OperandHandler) Ensure(req *common.HcoRequest) error
- func (h *OperandHandler) EnsureDeleted(req *common.HcoRequest) error
- func (h *OperandHandler) FirstUseInitiation(scheme *runtime.Scheme, ci hcoutil.ClusterInfo, hc *hcov1beta1.HyperConverged, ...)
- func (h *OperandHandler) GetImageStreamNames() []string
- func (h *OperandHandler) GetQuickStartNames() []string
- func (h *OperandHandler) Reset()
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()
Click to show internal directories.
Click to hide internal directories.