controller

package
v0.0.0-...-ac3aa44 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2025 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrVolumeNotSameHost    = "all volumes must exist in pools on the same host as the domain"
	ErrNetworkNotSameHost   = "all networks must be on the same host as the domain"
	ErrPCIDeviceNotSameHost = "all pci devices must be on the same host as the domain"
	ErrVolumeNotReady       = "volume is not ready"
	ErrNetworkNotReady      = "network is not ready"
	ErrPCIDeviceNotReady    = "pci device is not ready"
)
View Source
const (
	ErrVolumeInUse              = "volume is in use by another resource"
	ErrBackingStoreNotCreated   = "backing store volume has not yet been created"
	ErrBackingStoreNotSameHost  = "backing store does not exist on the same host"
	ErrCannotResizeBackingStore = "can not resize volume that is used as a backing store"
	ErrVolumeMultipleDomains    = "volume linked to multiple domains"
)

Errors

View Source
const (
	CIPrefix = "cidata:"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthReconciler

type AuthReconciler struct {
	client.Client
	AuthStore *store.AuthStore
}

func (*AuthReconciler) Reconcile

func (r *AuthReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*AuthReconciler) SetupWithManager

func (r *AuthReconciler) SetupWithManager(mgr ctrl.Manager) error

type CloudInitReconciler

type CloudInitReconciler struct {
	client.Client
	HostStore *store.HostStore
}

func (*CloudInitReconciler) Reconcile

func (r *CloudInitReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*CloudInitReconciler) SetupWithManager

func (r *CloudInitReconciler) SetupWithManager(mgr ctrl.Manager) error

type DomainReconciler

type DomainReconciler struct {
	client.Client
	HostStore *store.HostStore
}

func (*DomainReconciler) Reconcile

func (r *DomainReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*DomainReconciler) SetupWithManager

func (r *DomainReconciler) SetupWithManager(mgr ctrl.Manager) error

type HostReconciler

type HostReconciler struct {
	client.Client
	AuthStore *store.AuthStore
	HostStore *store.HostStore
}

func (*HostReconciler) Reconcile

func (r *HostReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*HostReconciler) SetupWithManager

func (r *HostReconciler) SetupWithManager(mgr ctrl.Manager) error

type NetworkReconciler

type NetworkReconciler struct {
	client.Client
	HostStore *store.HostStore
}

func (*NetworkReconciler) Reconcile

func (r *NetworkReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*NetworkReconciler) SetupWithManager

func (r *NetworkReconciler) SetupWithManager(mgr ctrl.Manager) error

type PCIDeviceReconciler

type PCIDeviceReconciler struct {
	client.Client
	HostStore *store.HostStore
}

func (*PCIDeviceReconciler) Reconcile

func (r *PCIDeviceReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*PCIDeviceReconciler) SetupWithManager

func (r *PCIDeviceReconciler) SetupWithManager(mgr ctrl.Manager) error

type PoolReconciler

type PoolReconciler struct {
	client.Client
	HostStore *store.HostStore
}

func (*PoolReconciler) Reconcile

func (r *PoolReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*PoolReconciler) SetupWithManager

func (r *PoolReconciler) SetupWithManager(mgr ctrl.Manager) error

type VolumeReconciler

type VolumeReconciler struct {
	client.Client
	HostStore *store.HostStore
}

func (*VolumeReconciler) Reconcile

func (r *VolumeReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*VolumeReconciler) SetupWithManager

func (r *VolumeReconciler) SetupWithManager(mgr ctrl.Manager) error

Jump to

Keyboard shortcuts

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