Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupConfig ¶
SetupConfig adds a controller that reconciles ProviderConfigs by accounting for their current usage.
Types ¶
type TokenReconciler ¶
type TokenReconciler struct {
// contains filtered or unexported fields
}
A TokenReconciler reconciles managed resources by creating and managing the lifecycle of an external resource, i.e. a resource in an external system such as a cloud provider API. Each controller must watch the managed resource kind for which it is responsible.
func NewTokenReconciler ¶
func NewTokenReconciler(m manager.Manager, of resource.ProviderConfigKinds, o ...TokenReconcilerOption) *TokenReconciler
NewTokenReconciler returns a Reconciler of ProviderConfigs.
type TokenReconcilerOption ¶
type TokenReconcilerOption func(*TokenReconciler)
A TokenReconcilerOption configures a Reconciler.
func WithLogger ¶
func WithLogger(l logging.Logger) TokenReconcilerOption
WithLogger specifies how the Reconciler should log messages.
func WithRecorder ¶
func WithRecorder(er event.Recorder) TokenReconcilerOption
WithRecorder specifies how the Reconciler should record events.
Click to show internal directories.
Click to hide internal directories.