Documentation ¶
Index ¶
- Variables
- func EnableApis(apis ...string) error
- func GetGoogleMachineTypes() []string
- func GetGoogleProjects() ([]string, error)
- func GetGoogleZones() ([]string, error)
- func GetOrCreateServiceAccount(serviceAccount string, projectId string, clusterConfigDir string) (string, error)
- func Login(serviceAccountKeyPath string, skipLogin bool) error
Constants ¶
This section is empty.
Variables ¶
View Source
var PROJECT_LIST_HEADER = "PROJECT_ID"
View Source
var (
REQUIRED_SERVICE_ACCOUNT_ROLES = []string{"roles/compute.instanceAdmin.v1",
"roles/iam.serviceAccountActor",
"roles/container.clusterAdmin",
"roles/container.admin",
"roles/container.developer"}
)
Functions ¶
func EnableApis ¶ added in v1.3.4
func GetGoogleMachineTypes ¶
func GetGoogleMachineTypes() []string
func GetGoogleProjects ¶ added in v1.3.4
func GetGoogleZones ¶
func GetOrCreateServiceAccount ¶ added in v1.3.4
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.