# Functions

AddServiceAccountAsProjectMember adds the service account as member to the project with the given roles.
No description provided by the author
GetProjectByNamespace returns the project for the given namespace.
IsMember returns true together with the index in case the passed service account NamespacedName is contained in the ProjectMember list.
No description provided by the author
NewClientSetForConfig returns a new controller ClientSet struct from a config.
NewClientSetFromBytes creates a new controller ClientSet struct for a given kubeconfig byte slice.
No description provided by the author
NewClientSetFromGoogleSAKey creates a new controller ClientSet struct for a given google service account key and client config.
NewClientSetFromSecret creates a new controller ClientSet struct for a given secret.
NewClientSetFromSecretRef creates a new controller ClientSet struct for a given SecretReference.
No description provided by the author
No description provided by the author
RemoveServiceAccountFromProjectMember removes the service account from the members of the project.

# Constants

DataKeyKubeConfig is the key in a secret holding the kubeconfig.
DataKeyServiceaccountJSON is the key in a secret data holding the google service account key.
DataKeyToken is the key in a secret holding the token.

# Structs

ClientSet is a struct containing the configuration for the respective Kubernetes cluster, the collection of Kubernetes clients <ClientSet> containing all REST clients for the built-in Kubernetes API groups, and the Garden which is a REST clientSet for the Garden API group.