Documentation
¶
Overview ¶
Package controllers provides experimental API controllers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOwnerClusterKey ¶
func GetOwnerClusterKey(obj metav1.ObjectMeta) (*client.ObjectKey, error)
GetOwnerClusterKey returns only the Cluster name and namespace.
Types ¶
type AWSFargateProfileReconciler ¶
type AWSFargateProfileReconciler struct {
client.Client
Recorder record.EventRecorder
EnableIAM bool
WatchFilterValue string
}
AWSFargateProfileReconciler reconciles a AWSFargateProfile object.
func (*AWSFargateProfileReconciler) Reconcile ¶
func (r *AWSFargateProfileReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr error)
Reconcile reconciles AWSFargateProfiles.
func (*AWSFargateProfileReconciler) SetupWithManager ¶
func (r *AWSFargateProfileReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
SetupWithManager is used to setup the controller.
type AWSMachinePoolReconciler ¶
type AWSMachinePoolReconciler struct {
client.Client
Recorder record.EventRecorder
WatchFilterValue string
TagUnmanagedNetworkResources bool
// contains filtered or unexported fields
}
AWSMachinePoolReconciler reconciles a AWSMachinePool object.
func (*AWSMachinePoolReconciler) Reconcile ¶
func (r *AWSMachinePoolReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr error)
Reconcile is the reconciliation loop for AWSMachinePool.
func (*AWSMachinePoolReconciler) SetupWithManager ¶
func (r *AWSMachinePoolReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
type AWSManagedMachinePoolReconciler ¶
type AWSManagedMachinePoolReconciler struct {
client.Client
Recorder record.EventRecorder
EnableIAM bool
AllowAdditionalRoles bool
WatchFilterValue string
TagUnmanagedNetworkResources bool
MaxWaitActiveUpdateDelete time.Duration
}
AWSManagedMachinePoolReconciler reconciles a AWSManagedMachinePool object.
func (*AWSManagedMachinePoolReconciler) Reconcile ¶
func (r *AWSManagedMachinePoolReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr error)
Reconcile reconciles AWSManagedMachinePools.
func (*AWSManagedMachinePoolReconciler) SetupWithManager ¶
func (r *AWSManagedMachinePoolReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
SetupWithManager is used to setup the controller.
type ROSAMachinePoolReconciler ¶ added in v2.4.0
type ROSAMachinePoolReconciler struct {
client.Client
Recorder record.EventRecorder
WatchFilterValue string
NewStsClient func(cloud.ScopeUsage, cloud.Session, logger.Wrapper, runtime.Object) stsservice.STSClient
NewOCMClient func(ctx context.Context, rosaScope *scope.ROSAControlPlaneScope) (rosa.OCMClient, error)
}
ROSAMachinePoolReconciler reconciles a ROSAMachinePool object.
func (*ROSAMachinePoolReconciler) Reconcile ¶ added in v2.4.0
func (r *ROSAMachinePoolReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr error)
Reconcile reconciles ROSAMachinePool.
func (*ROSAMachinePoolReconciler) SetupWithManager ¶ added in v2.4.0
func (r *ROSAMachinePoolReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
SetupWithManager is used to setup the controller.
type ROSANetworkReconciler ¶ added in v2.9.2
type ROSANetworkReconciler struct {
client.Client
Log logr.Logger
Scheme *runtime.Scheme
WatchFilterValue string
// contains filtered or unexported fields
}
ROSANetworkReconciler reconciles a ROSANetwork object.
func (*ROSANetworkReconciler) Reconcile ¶ added in v2.9.2
func (r *ROSANetworkReconciler) Reconcile(ctx context.Context, req ctrl.Request) (res ctrl.Result, reterr error)
Reconcile reconcile ROSANetwork.
func (*ROSANetworkReconciler) SetupWithManager ¶ added in v2.9.2
func (r *ROSANetworkReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
SetupWithManager is used to setup the controller.
type ROSARoleConfigReconciler ¶ added in v2.9.2
type ROSARoleConfigReconciler struct {
client.Client
Recorder record.EventRecorder
WatchFilterValue string
NewStsClient func(cloud.ScopeUsage, cloud.Session, logger.Wrapper, runtime.Object) stsiface.STSClient
NewOCMClient func(ctx context.Context, scope rosa.OCMSecretsRetriever) (rosa.OCMClient, error)
Runtime *rosacli.Runtime
}
ROSARoleConfigReconciler reconciles a ROSARoleConfig object.
func (*ROSARoleConfigReconciler) Reconcile ¶ added in v2.9.2
func (r *ROSARoleConfigReconciler) Reconcile(ctx context.Context, req ctrl.Request) (res ctrl.Result, reterr error)
Reconcile reconciles ROSARoleConfig.
func (*ROSARoleConfigReconciler) SetupWithManager ¶ added in v2.9.2
func (r *ROSARoleConfigReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error