package
0.0.0-20220313231258-bcce8f3bab31
Repository: https://github.com/iac-io/myiac.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
ListClusterNodePools list the node pools in the GKE cluster.
NewGcpIamClient Creates a new IamClient with default context.
NewDefaultObjectStorageCache creates a GCP-based Object Storage cache using a inner context.
NewDefaultServiceAccountClient creates a new GCP client for service account key management based on defaults Authentication against GCP must have already been performed before invoking this operation.
No description provided by the author
No description provided by the author
NewGcpIamClient Creates a new IamClient with external provided context and *iam.Service.
NewGcpObjectStorageCache creates a GCP-based Object Storage cache, optionally receiving a Context.
NewGoogleCloudDNSService Creates a GCP cloud dns service zone is the managedZone name (should've been created beforehand).
Creates a new encrypter using GCP KMS service
See: https://cloud.google.com/kms/docs/creating-keys
.
No description provided by the author
NewServiceAccountClient creates a new GCP client for service account key management.
No description provided by the author
ResizeCluster change the size of GKE cluster node pools to the provided values
The resize command needs to be executed once per node pool:
gcloud container clusters resize NAME (--num-nodes=NUM_NODES | --size=NUM_NODES) [--async] [--node-pool=NODE_POOL] [--region=REGION | --zone=ZONE, -z ZONE].
ResizePool change node-pool size.
Set OS Environment Variable so the key file is available gor gcloud cli.
Deprecated see provider.go / setup_environment.go.
Deprecated.
# Constants
No description provided by the author
# Structs
GoogleCloudDNSService is the service that allows to create or update dns records.
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
IamClient wrapper interface around GCP Service Account Client that allows creation and listing of Service Account keys.
ObjectStorageCache allows management of basic object storage operations in GCP (write, read).
ObjectStorageClient is the interface for the client.Storage GCP SDK operations so they can be mocked in tests or injected.
ServiceAccountClient allows management of service account keys (create, list) for given service account emails.