func()

in cmd/gke-identity-service-migrator/main.go [200:207]


func (c *RewriteCRBCommand) SetFlags(f *flag.FlagSet) {
	f.StringVar(&c.userIncludePrefix, "user-include-prefix", "", "Prefix for recognizing federated user identities.  Will be stripped from the translated user name.")
	f.StringVar(&c.userIncludeSuffix, "user-include-suffix", "", "Suffix for recognizing federated user identities.  Typically your organization's domain name.")
	f.StringVar(&c.groupsIncludePrefix, "groups-include-prefix", "", "Prefix for recognizing federated group names  Will be stripped from the translated user name.")
	f.StringVar(&c.groupsExcludeSuffix, "groups-exclude-suffix", "", "Suffix for excluding federated group names.  Use this to filter out groups introduced by Google Groups for RBAC.")

	f.StringVar(&c.workforcePoolName, "workforce-pool-name", "", "The name of the Workforce Identity Pool being used to federate principals and groups into GCP.")
}