controller

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2023 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MachineImageSyncerNameLabel              = "kubernetes-upgrader.dimitrikoshkin.com/machine-image-syncer-name"
	MachineImageSyncerKubernetesVersionLabel = "kubernetes-upgrader.dimitrikoshkin.com/kubernetes-version"

	TemplateClonedFromNameAnnotation = "kubernetes-upgrader.dimitrikoshkin.com/cloned-from"
)

Variables

This section is empty.

Functions

func ResourceNotPaused added in v0.6.0

func ResourceNotPaused(logger logr.Logger) predicate.Funcs

Types

type ClusterClassClusterUpgraderReconciler added in v0.5.0

type ClusterClassClusterUpgraderReconciler struct {
	client.Client
	Scheme   *runtime.Scheme
	Recorder record.EventRecorder
}

ClusterClassClusterUpgraderReconciler reconciles a ClusterClassClusterUpgrader object.

func (*ClusterClassClusterUpgraderReconciler) Reconcile added in v0.5.0

func (r *ClusterClassClusterUpgraderReconciler) Reconcile(
	ctx context.Context,
	req ctrl.Request,
) (_ ctrl.Result, rerr 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 ClusterClassClusterUpgrader 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 (*ClusterClassClusterUpgraderReconciler) SetupWithManager added in v0.5.0

func (r *ClusterClassClusterUpgraderReconciler) SetupWithManager(
	ctx context.Context,
	mgr ctrl.Manager,
) error

SetupWithManager sets up the controller with the Manager.

type DebianRepositorySourceReconciler added in v0.5.0

type DebianRepositorySourceReconciler struct {
	client.Client
	Scheme   *runtime.Scheme
	Recorder record.EventRecorder
}

DebianRepositorySourceReconciler reconciles a DebianRepositorySource object.

func (*DebianRepositorySourceReconciler) Reconcile added in v0.5.0

func (r *DebianRepositorySourceReconciler) Reconcile(
	ctx context.Context,
	req ctrl.Request,
) (_ ctrl.Result, rerr 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 DebianRepositorySource 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 (*DebianRepositorySourceReconciler) SetupWithManager added in v0.5.0

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

SetupWithManager sets up the controller with the Manager.

type MachineImageReconciler added in v0.3.0

type MachineImageReconciler struct {
	client.Client
	Scheme   *runtime.Scheme
	Recorder record.EventRecorder
}

MachineImageReconciler reconciles a MachineImage object.

func (*MachineImageReconciler) Reconcile added in v0.3.0

func (r *MachineImageReconciler) Reconcile(
	ctx context.Context,
	req ctrl.Request,
) (_ ctrl.Result, rerr 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.

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

func (*MachineImageReconciler) SetupWithManager added in v0.3.0

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

SetupWithManager sets up the controller with the Manager.

type MachineImageSyncerReconciler added in v0.4.0

type MachineImageSyncerReconciler struct {
	client.Client
	Scheme   *runtime.Scheme
	Recorder record.EventRecorder
}

MachineImageSyncerReconciler reconciles a MachineImageSyncer object.

func (*MachineImageSyncerReconciler) Reconcile added in v0.4.0

func (r *MachineImageSyncerReconciler) Reconcile(
	ctx context.Context,
	req ctrl.Request,
) (_ ctrl.Result, rerr 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 MachineImageSyncer 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 (*MachineImageSyncerReconciler) SetupWithManager added in v0.4.0

func (r *MachineImageSyncerReconciler) SetupWithManager(
	ctx context.Context,
	mgr ctrl.Manager,
) error

SetupWithManager sets up the controller with the Manager.

type PlanReconciler added in v0.3.0

type PlanReconciler struct {
	client.Client
	Scheme   *runtime.Scheme
	Recorder record.EventRecorder
}

PlanReconciler reconciles a Plan object.

func (*PlanReconciler) Reconcile added in v0.3.0

func (r *PlanReconciler) Reconcile(
	ctx context.Context,
	req ctrl.Request,
) (_ ctrl.Result, rerr 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.

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

func (*PlanReconciler) SetupWithManager added in v0.3.0

func (r *PlanReconciler) 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