Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Finalizer is the string for the k8s finalizer Finalizer = "finalizer.compute.gce" // ReconcilePeriodAnnotation is the annotation to accept alternative reconcile-period ReconcilePeriodAnnotation = "compute.gce/reconcile-period" // ProjectIDAnnotation is the annotation for accept an alternative Project ID ProjectIDAnnotation = "compute.gce/project-id" // ServiceAccountAnnotation is the annotation to specify a serviceAccountName for IAM tasks ServiceAccountAnnotation = "iam.gce/serviceAccountName" // ManagedZoneAnnotation is the annotation to specify a managed zone for DNS tasks ManagedZoneAnnotation = "dns.gce/zone" )
Variables ¶
This section is empty.
Functions ¶
func GetAnnotation ¶
GetAnnotation returns a thing
func ServiceAccountEmail ¶
ServiceAccountEmail takes the projectid and a name and returns a valid service account email address
func ServiceAccountFQN ¶
ServiceAccountFQN creates the fully qualified name of the service account
func ServiceAccountName ¶
ServiceAccountName takes the projectid and a name and returns a valid Service Account URL
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.