Documentation ¶
Index ¶
- type Reconciler
- func (r *Reconciler) EnsureCASecret(ctx context.Context, log logr.Logger, cluster *anywherev1.Cluster) (controller.Result, error)
- func (r *Reconciler) Reconcile(ctx context.Context, log logr.Logger, cluster *anywherev1.Cluster) (controller.Result, error)
- func (r *Reconciler) ReconcileDelete(ctx context.Context, log logr.Logger, cluster *anywherev1.Cluster) error
- type RemoteClientRegistry
- type UUIDGenerator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
type Reconciler struct {
// contains filtered or unexported fields
}
Reconciler allows to reconcile AWSIamConfig.
func New ¶
func New(certgen crypto.CertificateGenerator, generateUUID UUIDGenerator, client client.Client, remoteClientRegistry RemoteClientRegistry) *Reconciler
New returns a new Reconciler.
func (*Reconciler) EnsureCASecret ¶
func (r *Reconciler) EnsureCASecret(ctx context.Context, log logr.Logger, cluster *anywherev1.Cluster) (controller.Result, error)
EnsureCASecret ensures the AWS IAM Authenticator secret is present. It uses a controller.Result to indicate when requeues are needed.
func (*Reconciler) Reconcile ¶
func (r *Reconciler) Reconcile(ctx context.Context, log logr.Logger, cluster *anywherev1.Cluster) (controller.Result, error)
Reconcile takes the AWS IAM Authenticator installation to the desired state defined in AWSIAMConfig. It uses a controller.Result to indicate when requeues are needed. Intended to be used in a kubernetes controller.
func (*Reconciler) ReconcileDelete ¶
func (r *Reconciler) ReconcileDelete(ctx context.Context, log logr.Logger, cluster *anywherev1.Cluster) error
ReconcileDelete deletes any AWS Iam authenticator specific resources leftover on the eks-a cluster.
Click to show internal directories.
Click to hide internal directories.