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 ¶
AppendFinalizer adds a finalizer to the object
func ClearMembershipInfo ¶
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 ¶
FleetHasMembership checks whether the membership exists in the fleet project.
func ReconcilerPodHasFWICredsAnnotation ¶
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 ¶
ReconcilerPodMissingFWICredsAnnotation checks whether the reconciler Pod does not contain annotation with the injected FWI credentials.
func RegisterCluster ¶
RegisterCluster registers a cluster in a fleet.
func RemoveFinalizer ¶
RemoveFinalizer removes a finalizer from the object. Returns whether the finalizer was removed.
func UpdateDeploymentContainerVerbosityArg ¶
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 ¶
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.