gke

package
v1.3.29 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

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",
		"roles/storage.objectAdmin"}
)

Functions

func CheckPermission added in v1.3.9

func CheckPermission(perm string, projectId string) (bool, error)

func EnableApis added in v1.3.4

func EnableApis(apis ...string) error

func GetGoogleMachineTypes

func GetGoogleMachineTypes() []string

func GetGoogleProjects added in v1.3.4

func GetGoogleProjects() ([]string, error)

func GetGoogleZones

func GetGoogleZones() ([]string, error)

func GetOrCreateServiceAccount added in v1.3.4

func GetOrCreateServiceAccount(serviceAccount string, projectId string, clusterConfigDir string) (string, error)

func Login added in v1.3.4

func Login(serviceAccountKeyPath string, skipLogin bool) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL