gce

package
v1.5.13 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2020 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdaptFunc added in v0.22.0

func AdaptFunc(providerID, orbID string, whitelist dynamic.WhiteListFunc, orbiterCommit, repoURL, repoKey string, oneoff bool) orbiter.AdaptFunc

func ListMachines added in v0.26.0

func ListMachines(monitor mntr.Monitor, desiredTree *tree.Tree, orbID, providerID string) (map[string]infra.Machine, error)

Types

type Current added in v0.22.0

type Current struct {
	Common  *tree.Common `yaml:",inline"`
	Current struct {
		Ingresses map[string]*infra.Address
		// contains filtered or unexported fields
	}
}

func (*Current) Cleanupped added in v0.22.0

func (c *Current) Cleanupped() <-chan error

func (*Current) Ingresses added in v0.22.0

func (c *Current) Ingresses() map[string]*infra.Address

func (*Current) Pools added in v0.22.0

func (c *Current) Pools() map[string]infra.Pool

type Desired added in v0.22.0

type Desired struct {
	Common        *tree.Common `yaml:",inline"`
	Spec          Spec
	Loadbalancing *tree.Tree
}

type Pool added in v0.22.0

type Pool struct {
	OSImage     string
	MinCPUCores int
	MinMemoryGB int
	StorageGB   int
	Preemptible bool
	LocalSSDs   uint8
}

type SSHKey added in v0.22.0

type SSHKey struct {
	Private *secret.Secret `yaml:",omitempty"`
	Public  *secret.Secret `yaml:",omitempty"`
}

type Spec added in v0.22.0

type Spec struct {
	Verbose             bool
	JSONKey             *secret.Secret `yaml:",omitempty"`
	Region              string
	Zone                string
	Pools               map[string]*Pool
	SSHKey              *SSHKey
	RebootRequired      []string
	ReplacementRequired []string
}

type StandardLogFunc added in v0.22.0

type StandardLogFunc func(msg string, debug bool) func()

Jump to

Keyboard shortcuts

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