Documentation
¶
Index ¶
- Constants
- func GetShoot(ctx context.Context, landscapeClient client.Client, projectNamespace string, ...) (*gardenv1beta1.Shoot, errutils.ReasonableError)
- func UpdateShootFields(ctx context.Context, shoot *gardenv1beta1.Shoot, profile *shared.Profile, ...) error
- type ClusterReconciler
- type ReconcileResult
Constants ¶
View Source
const ControllerName = "Cluster"
View Source
const GardenerDeletionConfirmationAnnotation = "confirmation.gardener.cloud/deletion"
View Source
const GardenerOIDCExtensionType = "shoot-oidc-service"
Variables ¶
This section is empty.
Functions ¶
func GetShoot ¶
func GetShoot(ctx context.Context, landscapeClient client.Client, projectNamespace string, c *clustersv1alpha1.Cluster) (*gardenv1beta1.Shoot, errutils.ReasonableError)
func UpdateShootFields ¶
func UpdateShootFields(ctx context.Context, shoot *gardenv1beta1.Shoot, profile *shared.Profile, cluster *clustersv1alpha1.Cluster, clusterConfigs []*providerv1alpha1.ClusterConfig) error
UpdateShootFields updates the shoot with the values from the profile. It tries to avoid invalid changes, such as downgrading the kubernetes version or removing required fields.
Types ¶
type ClusterReconciler ¶
type ClusterReconciler struct {
*shared.RuntimeConfiguration
// contains filtered or unexported fields
}
func NewClusterReconciler ¶
func NewClusterReconciler(rc *shared.RuntimeConfiguration, eventRecorder record.EventRecorder) *ClusterReconciler
func (*ClusterReconciler) SetupWithManager ¶
func (r *ClusterReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ReconcileResult ¶
type ReconcileResult = ctrlutils.ReconcileResult[*clustersv1alpha1.Cluster]
Click to show internal directories.
Click to hide internal directories.