proxmox

package
v0.0.6-rc2 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CustomCertReconcilationPeriod     = 10
	CustomCertMaxConcurrentReconciles = 10
)
View Source
const (
	ManagedVMreconcilationPeriod     = 15
	ManagedVMmaxConcurrentReconciles = 5
)
View Source
const (

	// Controller settings
	SDUreconcilationPeriod     = 10
	SDUmaxConcurrentReconciles = 3
)
View Source
const (

	// Controller settings
	VMreconcilationPeriod     = 10
	VMmaxConcurrentReconciles = 10
)
View Source
const (
	VMSetreconcilationPeriod     = 10
	VMSetmaxConcurrentReconciles = 5
)
View Source
const (
	// Controller settings
	VMSnapshotreconcilationPeriod     = 10
	VMSnapshotmaxConcurrentReconciles = 3
)
View Source
const (
	// Controller settings
	VMSnapshotPolicyreconcilationPeriod     = 10
	VMSnapshotPolicymaxConcurrentReconciles = 3
)

Variables

View Source
var (
	Clientset, DynamicClient = kubernetes.GetKubeconfig()
)
View Source
var (
	StatusCode int
)

Functions

func VMSnapshotCR

func VMSnapshotCR(vmName, snapshotName, namespace string) *proxmoxv1alpha1.VirtualMachineSnapshot

Types

type ContainerReconciler

type ContainerReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

ContainerReconciler reconciles a Container object

func (*ContainerReconciler) CloneContainer

func (r *ContainerReconciler) CloneContainer(container *proxmoxv1alpha1.Container) error

func (*ContainerReconciler) Reconcile

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

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the Container object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.15.0/pkg/reconcile

func (*ContainerReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

func (*ContainerReconciler) StartOrUpdateContainer

func (r *ContainerReconciler) StartOrUpdateContainer(ctx context.Context,
	container *proxmoxv1alpha1.Container) error

func (*ContainerReconciler) UpdateContainer

func (r *ContainerReconciler) UpdateContainer(ctx context.Context, container *proxmoxv1alpha1.Container) error

func (*ContainerReconciler) UpdateContainerStatus

func (r *ContainerReconciler) UpdateContainerStatus(ctx context.Context, container *proxmoxv1alpha1.Container) error

type CustomCertificateReconciler

type CustomCertificateReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

CustomCertificateReconciler reconciles a CustomCertificate object

func (*CustomCertificateReconciler) Reconcile

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the CustomCertificate object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.16.3/pkg/reconcile

func (*CustomCertificateReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type ManagedVirtualMachineReconciler

type ManagedVirtualMachineReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

ManagedVirtualMachineReconciler reconciles a ManagedVirtualMachine object

func (*ManagedVirtualMachineReconciler) Reconcile

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the ManagedVirtualMachine object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.15.0/pkg/reconcile

func (*ManagedVirtualMachineReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type StorageDownloadURLReconciler

type StorageDownloadURLReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

StorageDownloadURLReconciler reconciles a StorageDownloadURL object

func (*StorageDownloadURLReconciler) Reconcile

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the StorageDownloadURL object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.16.3/pkg/reconcile

func (*StorageDownloadURLReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type VirtualMachineReconciler

type VirtualMachineReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

VirtualMachineReconciler reconciles a VirtualMachine object

func (*VirtualMachineReconciler) CreateVirtualMachine

func (r *VirtualMachineReconciler) CreateVirtualMachine(vm *proxmoxv1alpha1.VirtualMachine) error

func (*VirtualMachineReconciler) DeleteVirtualMachine

func (r *VirtualMachineReconciler) DeleteVirtualMachine(vm *proxmoxv1alpha1.VirtualMachine)

func (*VirtualMachineReconciler) Reconcile

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*VirtualMachineReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

func (*VirtualMachineReconciler) UpdateVirtualMachineStatus

func (r *VirtualMachineReconciler) UpdateVirtualMachineStatus(vm *proxmoxv1alpha1.VirtualMachine) error

type VirtualMachineSetReconciler

type VirtualMachineSetReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

VirtualMachineSetReconciler reconciles a VirtualMachineSet object

func (*VirtualMachineSetReconciler) CreateVirtualMachineCR

func (r *VirtualMachineSetReconciler) CreateVirtualMachineCR(vmSet *proxmoxv1alpha1.VirtualMachineSet, index string) error

func (*VirtualMachineSetReconciler) Reconcile

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the VirtualMachineSet object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.15.0/pkg/reconcile

func (*VirtualMachineSetReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type VirtualMachineSnapshotPolicyReconciler

type VirtualMachineSnapshotPolicyReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

VirtualMachineSnapshotPolicyReconciler reconciles a VirtualMachineSnapshotPolicy object

func (*VirtualMachineSnapshotPolicyReconciler) Reconcile

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the VirtualMachineSnapshotPolicy object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.15.0/pkg/reconcile

func (*VirtualMachineSnapshotPolicyReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

func (*VirtualMachineSnapshotPolicyReconciler) StartSnapshotCronJobs

type VirtualMachineSnapshotReconciler

type VirtualMachineSnapshotReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

VirtualMachineSnapshotReconciler reconciles a VirtualMachineSnapshot object

func (*VirtualMachineSnapshotReconciler) Reconcile

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the VirtualMachineSnapshot object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.15.0/pkg/reconcile

func (*VirtualMachineSnapshotReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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