Documentation ¶
Overview ¶
Package controllers has controllers for Capability API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfigForServiceAccount ¶ added in v0.14.0
func GetConfigForServiceAccount(ctx context.Context, coreClient client.Client, nsName, saName, host string) (*rest.Config, error)
GetConfigForServiceAccount returns a *rest.Config which uses the service account for talking to a Kubernetes API server.
Types ¶
type CapabilityReconciler ¶
type CapabilityReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme Host string }
CapabilityReconciler reconciles a Capability object.
func (*CapabilityReconciler) Reconcile ¶
func (r *CapabilityReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile reconciles a Capability spec by executing specified queries.
func (*CapabilityReconciler) SetupWithManager ¶
func (r *CapabilityReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.