cluster

package
v0.0.0-...-c572354 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2026 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeployOperatorIntoCluster

func DeployOperatorIntoCluster(ctx context.Context) error

Deploy the Operator into the cluster, similar to how an AdminUpdate would. Does not sync the Cluster resource, see SyncClusterObject for that.

func EnsureACRTokenIsValid

func EnsureACRTokenIsValid(ctx context.Context) error

EnsureACRTokenIsValid checks the expiry date of the Azure Container Registry (ACR) Token from the RegistryProfile. It returns an error if the expiry date is past the date now or if there is no registry profile found.

func EnsureAPIServerIsUp

func EnsureAPIServerIsUp(ctx context.Context) error

func EnsureAPIServerServingCertificateConfiguration

func EnsureAPIServerServingCertificateConfiguration(ctx context.Context) error

func EnsureClusterMsiCertificate

func EnsureClusterMsiCertificate(ctx context.Context) error

func EnsureIngressServingCertificateConfiguration

func EnsureIngressServingCertificateConfiguration(ctx context.Context) error

func FixSSHStep

func FixSSHStep(ctx context.Context) error

func MigrateInternalLoadBalancerZonesStep

func MigrateInternalLoadBalancerZonesStep(ctx context.Context) error

func ResetOperatorVersion

func ResetOperatorVersion(ctx context.Context) error

Reset the Operator Version setting in CosmosDB to blank (= Operator version matches version of RP deploying). Does not directly update the Operator in-cluster.

func RotateManagedCertificates

func RotateManagedCertificates(ctx context.Context) error

func SetOperatorFlagInClusterDoc

func SetOperatorFlagInClusterDoc(ctx context.Context, flagName string, flagValue string) error

Set an Operator flag in a cluster doc. Does not apply it to the cluster (see UpdateClusterOperatorFlags for that).

func SyncClusterObject

func SyncClusterObject(ctx context.Context) error

Syncs the Cluster object in the cluster with the data stored in CosmosDB.

func UpdateClusterOperatorFlags

func UpdateClusterOperatorFlags(ctx context.Context) error

UpdateClusterOperatorFlags updates the OperatorFlags object in the ARO Cluster custom resource.

func WaitForAROOperatorReady

func WaitForAROOperatorReady(ctx context.Context) (bool, error)

Check whether the ARO Operator is ready.

func WaitForAROOperatorRunningDesiredVersion

func WaitForAROOperatorRunningDesiredVersion(ctx context.Context) (bool, error)

Check whether the ARO Operator is at the desired version.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL