Documentation ¶
Index ¶
- Constants
- type AwsClientBuilder
- type CNIReconciler
- type IPValidator
- type Reconciler
- func (r *Reconciler) CheckControlPlaneReady(ctx context.Context, log logr.Logger, clusterSpec *cluster.Spec) (controller.Result, error)
- func (r *Reconciler) Reconcile(ctx context.Context, log logr.Logger, c *anywherev1.Cluster) (controller.Result, error)
- func (s *Reconciler) ReconcileCNI(ctx context.Context, log logr.Logger, clusterSpec *cluster.Spec) (controller.Result, error)
- func (s *Reconciler) ReconcileControlPlane(ctx context.Context, log logr.Logger, clusterSpec *cluster.Spec) (controller.Result, error)
- func (r *Reconciler) ReconcileWorkerNodes(ctx context.Context, log logr.Logger, c *anywherev1.Cluster) (controller.Result, error)
- func (s *Reconciler) ReconcileWorkers(ctx context.Context, log logr.Logger, clusterSpec *cluster.Spec) (controller.Result, error)
- func (r *Reconciler) ValidateMachineConfigs(ctx context.Context, log logr.Logger, clusterSpec *cluster.Spec) (controller.Result, error)
- type RemoteClientRegistry
Constants ¶
View Source
const BoostrapSecretName = "capas-manager-bootstrap-credentials"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AwsClientBuilder ¶
type AwsClientBuilder struct {
// contains filtered or unexported fields
}
func NewAwsClientBuilder ¶
func NewAwsClientBuilder(client client.Client) *AwsClientBuilder
func (*AwsClientBuilder) Get ¶
func (b *AwsClientBuilder) Get(ctx context.Context) (snow.AwsClientMap, error)
type CNIReconciler ¶ added in v0.12.0
type IPValidator ¶ added in v0.13.0
type IPValidator interface {
ValidateControlPlaneIP(ctx context.Context, log logr.Logger, spec *cluster.Spec) (controller.Result, error)
}
IPValidator defines an interface for the methods to validate the control plane IP.
type Reconciler ¶
type Reconciler struct { *serverside.ObjectApplier // contains filtered or unexported fields }
func New ¶
func New(client client.Client, cniReconciler CNIReconciler, remoteClientRegistry RemoteClientRegistry, ipValidator IPValidator) *Reconciler
New initializes a new reconciler for the Snow provider.
func (*Reconciler) CheckControlPlaneReady ¶ added in v0.12.0
func (r *Reconciler) CheckControlPlaneReady(ctx context.Context, log logr.Logger, clusterSpec *cluster.Spec) (controller.Result, error)
func (*Reconciler) Reconcile ¶
func (r *Reconciler) Reconcile(ctx context.Context, log logr.Logger, c *anywherev1.Cluster) (controller.Result, error)
func (*Reconciler) ReconcileCNI ¶ added in v0.12.0
func (s *Reconciler) ReconcileCNI(ctx context.Context, log logr.Logger, clusterSpec *cluster.Spec) (controller.Result, error)
func (*Reconciler) ReconcileControlPlane ¶ added in v0.12.0
func (s *Reconciler) ReconcileControlPlane(ctx context.Context, log logr.Logger, clusterSpec *cluster.Spec) (controller.Result, error)
func (*Reconciler) ReconcileWorkerNodes ¶ added in v0.13.0
func (r *Reconciler) ReconcileWorkerNodes(ctx context.Context, log logr.Logger, c *anywherev1.Cluster) (controller.Result, error)
ReconcileWorkerNodes validates the cluster definition and reconciles the worker nodes to the desired state.
func (*Reconciler) ReconcileWorkers ¶ added in v0.12.0
func (s *Reconciler) ReconcileWorkers(ctx context.Context, log logr.Logger, clusterSpec *cluster.Spec) (controller.Result, error)
func (*Reconciler) ValidateMachineConfigs ¶ added in v0.12.0
func (r *Reconciler) ValidateMachineConfigs(ctx context.Context, log logr.Logger, clusterSpec *cluster.Spec) (controller.Result, error)
Click to show internal directories.
Click to hide internal directories.