Documentation
¶
Index ¶
- func AppendFinalizer(obj client.Object, finalizer string)
- func ClearMembershipInfo(nt *nomostest.NT, fleetMembership, fleetProject, gkeURI string)
- func FleetHasMembership(nt *nomostest.NT, fleetMembership, fleetProject string) (bool, error)
- func ReconcilerPodHasFWICredsAnnotation(nt *nomostest.NT, reconcilerName, gsaEmail string, auth configsync.AuthType) error
- func ReconcilerPodMissingFWICredsAnnotation(nt *nomostest.NT, reconcilerName string) error
- func RegisterCluster(nt *nomostest.NT, fleetMembership, fleetProject, gkeURI string) error
- func RemoveFinalizer(obj client.Object, removeFinalizer string) bool
- func UpdateDeploymentContainerVerbosityArg(nt *nomostest.NT, name, namespace, containerName string, logLevel int) error
- func UpdateRootSyncReconcilerLogLevel(nt *nomostest.NT, syncName, containerName string, logLevel int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendFinalizer ¶ added in v1.16.0
AppendFinalizer adds a finalizer to the object
func ClearMembershipInfo ¶ added in v1.17.2
ClearMembershipInfo deletes the membership by unregistering the cluster. It also deletes the reconciler-manager to ensure the membership watch is not set up.
func FleetHasMembership ¶ added in v1.17.2
FleetHasMembership checks whether the membership exists in the fleet project.
func ReconcilerPodHasFWICredsAnnotation ¶ added in v1.17.2
func ReconcilerPodHasFWICredsAnnotation(nt *nomostest.NT, reconcilerName, gsaEmail string, auth configsync.AuthType) error
ReconcilerPodHasFWICredsAnnotation checks whether the reconciler Pod has the FWI credentials annotation.
func ReconcilerPodMissingFWICredsAnnotation ¶ added in v1.17.2
ReconcilerPodMissingFWICredsAnnotation checks whether the reconciler Pod does not contain annotation with the injected FWI credentials.
func RegisterCluster ¶ added in v1.17.2
RegisterCluster registers a cluster in a fleet.
func RemoveFinalizer ¶ added in v1.16.0
RemoveFinalizer removes a finalizer from the object. Returns whether the finalizer was removed.
func UpdateDeploymentContainerVerbosityArg ¶ added in v1.21.0
func UpdateDeploymentContainerVerbosityArg(nt *nomostest.NT, name, namespace, containerName string, logLevel int) error
UpdateDeploymentContainerVerbosityArg updates the verbosity argument for a specific Deployment container and waits for the Deployment to reconcile.
Warning: If the Deployment is managed by Config Sync, this change will likely be reverted and could hang until watch timeout and then error. Update the Deployment in the source of truth instead.
func UpdateRootSyncReconcilerLogLevel ¶ added in v1.21.0
func UpdateRootSyncReconcilerLogLevel(nt *nomostest.NT, syncName, containerName string, logLevel int) error
UpdateRootSyncReconcilerLogLevel updates the LogLevel for a specific RootSync container and waits for the RootSync to reconcile.
Warning: If the RootSync is managed by another RootSync, this change will likely be reverted and could hang until watch timeout and then error. Update the RootSync in the source of truth instead.
Types ¶
This section is empty.