Documentation ¶
Index ¶
Constants ¶
View Source
const ( // We cannot set owner reference of cluster-wide resources to namespaced HyperConverged object. Therefore, // use finalizers to manage the cleanup. FinalizerName = "hyperconvergeds.hco.kubevirt.io" ErrCDIUninstall = "ErrCDIUninstall" ErrVirtUninstall = "ErrVirtUninstall" ErrHCOUninstall = "ErrHCOUninstall" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EnsureResult ¶ added in v1.2.0
type EnsureResult struct { Updated bool Created bool UpgradeDone bool Err error Type string Name string }
func NewEnsureResult ¶ added in v1.2.0
func NewEnsureResult(resource runtime.Object) *EnsureResult
func (*EnsureResult) Error ¶ added in v1.2.0
func (r *EnsureResult) Error(err error) *EnsureResult
func (*EnsureResult) SetCreated ¶ added in v1.2.0
func (r *EnsureResult) SetCreated() *EnsureResult
func (*EnsureResult) SetName ¶ added in v1.2.0
func (r *EnsureResult) SetName(name string) *EnsureResult
func (*EnsureResult) SetUpdated ¶ added in v1.2.0
func (r *EnsureResult) SetUpdated() *EnsureResult
func (*EnsureResult) SetUpgradeDone ¶ added in v1.2.0
func (r *EnsureResult) SetUpgradeDone(upgradeDone bool) *EnsureResult
type ReconcileHyperConverged ¶
type ReconcileHyperConverged struct {
// contains filtered or unexported fields
}
ReconcileHyperConverged reconciles a HyperConverged object
func (*ReconcileHyperConverged) Reconcile ¶
Reconcile reads that state of the cluster for a HyperConverged object and makes changes based on the state read and what is in the HyperConverged.Spec Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.
Click to show internal directories.
Click to hide internal directories.