Documentation ¶
Overview ¶
This package provides common functionality to run cloud prepare/cleanup on GCP Clusters
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddGCPFlags ¶
AddGCPFlags adds basic flags needed by GCP
func RunOnGCP ¶
func RunOnGCP(gwInstanceType, kubeConfig, kubeContext string, dedicatedGWNodes bool, function func(cloud api.Cloud, gwDeployer api.GatewayDeployer, reporter api.Reporter) error) error
RunOnGCP runs the given function on GCP, supplying it with a cloud instance connected to GCP and a reporter that writes to CLI. The functions makes sure that infraID and region are specified, and extracts the credentials from a secret in order to connect to GCP.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.