gcp

package
v2.26.2 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudConfig

type CloudConfig struct {
	Global GlobalOpts
}

func ForCluster

func ForCluster(cluster *kubermaticv1.Cluster, dc *kubermaticv1.Datacenter, credentials resources.Credentials) (*CloudConfig, error)

func (*CloudConfig) String

func (c *CloudConfig) String() (string, error)

type GlobalOpts

type GlobalOpts struct {
	ProjectID      string
	LocalZone      string
	NetworkName    string
	SubnetworkName string
	TokenURL       string
	MultiZone      bool
	Regional       bool
	NodeTags       []string
}

GlobalOpts contains the values of the global section of the cloud configuration.

Jump to

Keyboard shortcuts

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