Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateKubeconfig ¶ added in v0.31.0
func GenerateKubeconfig(clusterName string, contextNamespace string, server string, caData []byte) ([]byte, error)
GenerateKubeconfig generates a kubeconfig to authenticate against the provided server. If the server points to localhost, the kubernetes default service is used instead as server.
Types ¶
type ServiceAccountReconciler ¶ added in v0.31.0
type ServiceAccountReconciler struct {
client.Client
Log logr.Logger
Recorder record.EventRecorder
Config *extensionsv1alpha1.ControllerManagerConfiguration
// contains filtered or unexported fields
}
ServiceAccountReconciler reconciles a ServiceAccount object
func (*ServiceAccountReconciler) Reconcile ¶ added in v0.31.0
func (r *ServiceAccountReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile implements reconcile.Reconciler.
func (*ServiceAccountReconciler) SetupWithManager ¶ added in v0.31.0
func (r *ServiceAccountReconciler) SetupWithManager(mgr ctrl.Manager, config extensionsv1alpha1.ServiceAccountControllerConfiguration) error
SetupWithManager sets up manager with a new controller and r as the reconcile.Reconciler
type TerminalHeartbeatReconciler ¶
type TerminalHeartbeatReconciler struct {
client.Client
Recorder record.EventRecorder
Config *extensionsv1alpha1.ControllerManagerConfiguration
// contains filtered or unexported fields
}
TerminalHeartbeatReconciler reconciles a TerminalHeartbeat object
func (*TerminalHeartbeatReconciler) SetupWithManager ¶
func (r *TerminalHeartbeatReconciler) SetupWithManager(mgr ctrl.Manager, config extensionsv1alpha1.TerminalHeartbeatControllerConfiguration) error
type TerminalReconciler ¶
type TerminalReconciler struct {
Scheme *runtime.Scheme
*gardenclient.ClientSet
Recorder record.EventRecorder
Config *extensionsv1alpha1.ControllerManagerConfiguration
ReconcilerCountPerNamespace map[string]int
// contains filtered or unexported fields
}
TerminalReconciler reconciles a Terminal object
func (*TerminalReconciler) SetupWithManager ¶
func (r *TerminalReconciler) SetupWithManager(mgr ctrl.Manager, config extensionsv1alpha1.TerminalControllerConfiguration) error
Click to show internal directories.
Click to hide internal directories.