gcp

package
v2.14.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2020 License: Apache-2.0 Imports: 19 Imported by: 32

Documentation

Index

Constants

View Source
const (
	DefaultNetwork = "global/networks/default"
)

Variables

This section is empty.

Functions

func ConnectToComputeService

func ConnectToComputeService(serviceAccount string) (*compute.Service, string, error)

ConnectToComputeService establishes a service connection to the Compute Engine.

func GetCredentialsForCluster

func GetCredentialsForCluster(cloud kubermaticv1.CloudSpec, secretKeySelector provider.SecretKeySelectorValueFunc) (serviceAccount string, err error)

GetCredentialsForCluster returns the credentials for the passed in cloud spec or an error

func NewCloudProvider

func NewCloudProvider(secretKeyGetter provider.SecretKeySelectorValueFunc) provider.CloudProvider

NewCloudProvider creates a new gcp provider.

Types

This section is empty.

Jump to

Keyboard shortcuts

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