Documentation ¶
Index ¶
- Constants
- 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
Constants ¶
View Source
const TestCrossProjectFleetProjectID = "cs-dev-hub"
TestCrossProjectFleetProjectID is the fleet host project.
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.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.