controller

package
v0.0.2-alpha Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ApiServerName = "api-server"
)

Variables

This section is empty.

Functions

func CoaleseString

func CoaleseString(args ...string) string

func GenerateKubeconfigFromSecret

func GenerateKubeconfigFromSecret(tls corev1.Secret, host string) ([]byte, error)

Types

type ControlPlaneReconciler

type ControlPlaneReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

ControlPlaneReconciler reconciles a ControlPlane object

func NewControlPlaneReconciler

func NewControlPlaneReconciler(mgr manager.Manager) *ControlPlaneReconciler

func (*ControlPlaneReconciler) Reconcile

func (r *ControlPlaneReconciler) 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 ControlPlane 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.14.4/pkg/reconcile

func (*ControlPlaneReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type KubeAPIServerReconciler

type KubeAPIServerReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

KubeAPIServerReconciler reconciles a KubeAPIServer object

func NewKubeAPIServerReconciler

func NewKubeAPIServerReconciler(mgr manager.Manager) *KubeAPIServerReconciler

func (*KubeAPIServerReconciler) CreateOrPatch

func (*KubeAPIServerReconciler) GenerateDeployment

func (*KubeAPIServerReconciler) Reconcile

func (r *KubeAPIServerReconciler) 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 KubeAPIServer 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.14.4/pkg/reconcile

func (*KubeAPIServerReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type KubeControllerManagerReconciler

type KubeControllerManagerReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

KubeControllerManagerReconciler reconciles a KubeControllerManager object

func NewKubeControllerManagerReconciler

func NewKubeControllerManagerReconciler(mgr manager.Manager) *KubeControllerManagerReconciler

func (*KubeControllerManagerReconciler) CreateOrPatch

func (*KubeControllerManagerReconciler) 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 KubeControllerManager 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.14.4/pkg/reconcile

func (*KubeControllerManagerReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type KubeSchedulerReconciler

type KubeSchedulerReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

KubeSchedulerReconciler reconciles a KubeScheduler object

func NewKubeSchedulerReconciler

func NewKubeSchedulerReconciler(mgr manager.Manager) *KubeSchedulerReconciler

func (*KubeSchedulerReconciler) CreateOrPatch

func (*KubeSchedulerReconciler) Reconcile

func (r *KubeSchedulerReconciler) 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 KubeScheduler 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.14.4/pkg/reconcile

func (*KubeSchedulerReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type LoadbalancerReconciler

type LoadbalancerReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

LoadbalancerReconciler reconciles a Loadbalancer object

func NewLoadbalancerReconciler

func NewLoadbalancerReconciler(mgr manager.Manager) *LoadbalancerReconciler

func (*LoadbalancerReconciler) CreateOrPatch

func (*LoadbalancerReconciler) Reconcile

func (r *LoadbalancerReconciler) 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 Loadbalancer 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.14.4/pkg/reconcile

func (*LoadbalancerReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type PkiReconciler

type PkiReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

PkiReconciler reconciles a Pki object

func NewPkiReconciler

func NewPkiReconciler(mgr manager.Manager) *PkiReconciler

func (*PkiReconciler) CreateOrPatch

func (r *PkiReconciler) CreateOrPatch(ctx context.Context, obj client.Object, owner metav1.Object, f controllerutil.MutateFn) error

func (*PkiReconciler) Reconcile

func (r *PkiReconciler) 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 Pki 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.14.4/pkg/reconcile

func (*PkiReconciler) SetupWithManager

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