cloud

package
v0.0.0-...-4d0922f Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterConfiguration

type ClusterConfiguration struct {
	ProviderName string `json:"type"`

	// These fields chosen to match the e2e configuration we fill
	ProjectID   string
	Region      string
	Zone        string
	NumNodes    int
	MultiMaster bool
	MultiZone   bool
	ConfigFile  string

	NetworkPlugin string
}

func LoadConfig

func LoadConfig(clientConfig *rest.Config) (*ClusterConfiguration, error)

LoadConfig uses the cluster to setup the cloud provider config.

func (*ClusterConfiguration) ToJSONString

func (c *ClusterConfiguration) ToJSONString() string

Jump to

Keyboard shortcuts

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