hyperconverged

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2020 License: Apache-2.0 Imports: 39 Imported by: 0

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

func Add

Add creates a new HyperConverged Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.

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.

Jump to

Keyboard shortcuts

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