controllers

package
v0.0.0-...-02f1c70 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppManagedControlPlane          = "managed-control-plane"
	ComponentEtcdPeer               = "etcd-peer"
	ComponentEtcdClient             = "etcd-client"
	ComponentEtcd                   = "etcd-cluster"
	ComponentAPIServer              = "api-server"
	ComponentScheduler              = "scheduler"
	ComponentControllerManager      = "controller-manager"
	ComponentCloudControllerManager = "cloud-controller-manager"

	ServiceEtcdClient = "etcd-client"
	ServiceEtcd       = "etcd"
	StatefulSetEtcd   = "etcd"
	EtcdPeerPort      = 2380
	EtcdClientPort    = 2379

	ServiceAPIServerExternal     = "control-plane-external"
	ServiceAPIServerExternalType = corev1.ServiceTypeLoadBalancer
	ServiceAPIServerInternal     = "control-plane-internal"
	ServiceAPIServerInternalType = corev1.ServiceTypeLoadBalancer
	DeploymentAPIServer          = "api-server"
	APIServerPort                = 6443
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ManagedApiServerReconciler

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

ManagedApiServerReconciler reconciles a ManagedApiServer object

func (*ManagedApiServerReconciler) Reconcile

func (r *ManagedApiServerReconciler) 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 ManagedApiServer 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://pkgo.dev/sigs.k8s.io/controller-runtime@v0.14.1/pkg/reconcile

func (*ManagedApiServerReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type ManagedCloudControllerManagerReconciler

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

ManagedCloudControllerManagerReconciler reconciles a ManagedCloudControllerManager object

func (*ManagedCloudControllerManagerReconciler) Reconcile

func (r *ManagedCloudControllerManagerReconciler) 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 ManagedCloudControllerManager 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://pkgo.dev/sigs.k8s.io/controller-runtime@v0.14.1/pkg/reconcile

func (*ManagedCloudControllerManagerReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type ManagedControlPlaneReconciler

type ManagedControlPlaneReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	Log    logr.Logger
}

ManagedControlPlaneReconciler reconciles a ManagedControlPlane object

func (*ManagedControlPlaneReconciler) Reconcile

func (r *ManagedControlPlaneReconciler) 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 ManagedControlPlane 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://pkgo.dev/sigs.k8s.io/controller-runtime@v0.14.1/pkg/reconcile

func (*ManagedControlPlaneReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type ManagedControllerManagerReconciler

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

ManagedControllerManagerReconciler reconciles a ManagedControllerManager object

func (*ManagedControllerManagerReconciler) Reconcile

func (r *ManagedControllerManagerReconciler) 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 ManagedControllerManager 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://pkgo.dev/sigs.k8s.io/controller-runtime@v0.14.1/pkg/reconcile

func (*ManagedControllerManagerReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type ManagedEtcdReconciler

type ManagedEtcdReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	Log    logr.Logger
}

ManagedEtcdReconciler reconciles a ManagedEtcd object

func (*ManagedEtcdReconciler) Reconcile

func (r *ManagedEtcdReconciler) 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 ManagedEtcd 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://pkgo.dev/sigs.k8s.io/controller-runtime@v0.14.1/pkg/reconcile

func (*ManagedEtcdReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type ManagedSchedulerReconciler

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

ManagedSchedulerReconciler reconciles a ManagedScheduler object

func (*ManagedSchedulerReconciler) Reconcile

func (r *ManagedSchedulerReconciler) 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 ManagedScheduler 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://pkgo.dev/sigs.k8s.io/controller-runtime@v0.14.1/pkg/reconcile

func (*ManagedSchedulerReconciler) SetupWithManager

func (r *ManagedSchedulerReconciler) 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
JackTT - Gopher 🇻🇳