Documentation ¶
Index ¶
- Constants
- func CoaleseString(args ...string) string
- func GenerateKubeconfigFromSecret(tls corev1.Secret, host string) ([]byte, error)
- type ControlPlaneReconciler
- type KubeAPIServerReconciler
- func (r *KubeAPIServerReconciler) CreateOrPatch(ctx context.Context, obj client.Object, owner metav1.Object, ...) error
- func (r *KubeAPIServerReconciler) GenerateDeployment(kas clusterv1alpha1.KubeAPIServer) appsv1.Deployment
- func (r *KubeAPIServerReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *KubeAPIServerReconciler) SetupWithManager(mgr ctrl.Manager) error
- type KubeControllerManagerReconciler
- func (r *KubeControllerManagerReconciler) CreateOrPatch(ctx context.Context, obj client.Object, owner metav1.Object, ...) error
- func (r *KubeControllerManagerReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *KubeControllerManagerReconciler) SetupWithManager(mgr ctrl.Manager) error
- type KubeSchedulerReconciler
- type LoadbalancerReconciler
- type PkiReconciler
Constants ¶
const (
ApiServerName = "api-server"
)
Variables ¶
This section is empty.
Functions ¶
func CoaleseString ¶
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 (r *KubeAPIServerReconciler) CreateOrPatch(ctx context.Context, obj client.Object, owner metav1.Object, f controllerutil.MutateFn) error
func (*KubeAPIServerReconciler) GenerateDeployment ¶
func (r *KubeAPIServerReconciler) GenerateDeployment(kas clusterv1alpha1.KubeAPIServer) appsv1.Deployment
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 (r *KubeControllerManagerReconciler) CreateOrPatch(ctx context.Context, obj client.Object, owner metav1.Object, f controllerutil.MutateFn) error
func (*KubeControllerManagerReconciler) Reconcile ¶
func (r *KubeControllerManagerReconciler) 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 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 (r *KubeSchedulerReconciler) CreateOrPatch(ctx context.Context, obj client.Object, owner metav1.Object, f controllerutil.MutateFn) error
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 (r *LoadbalancerReconciler) CreateOrPatch(ctx context.Context, obj client.Object, owner metav1.Object, f controllerutil.MutateFn) error
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 ¶
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.