gcp

package
v2.14.6+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2020 License: Apache-2.0 Imports: 19 Imported by: 0

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