Documentation ¶
Index ¶
- Constants
- func ConnectToComputeService(serviceAccount string) (*compute.Service, string, error)
- func GetCredentialsForCluster(cloud kubermaticv1.CloudSpec, ...) (serviceAccount string, err error)
- func NewCloudProvider(secretKeyGetter provider.SecretKeySelectorValueFunc) provider.CloudProvider
- func ValidateCredentials(ctx context.Context, serviceAccount string) error
Constants ¶
View Source
const (
DefaultNetwork = "global/networks/default"
)
Variables ¶
This section is empty.
Functions ¶
func ConnectToComputeService ¶
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.
Click to show internal directories.
Click to hide internal directories.