static

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: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdaptFunc

func AdaptFunc(id string, whitelist dynamic.WhiteListFunc, orbiterCommit, repoURL, repoKey string) orbiter.AdaptFunc

func ListMachines added in v0.26.0

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

func NewMachinesService

func NewMachinesService(
	monitor mntr.Monitor,
	desired *DesiredV0,
	id string) *machinesService

Types

type Current

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

func (*Current) Cleanupped

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

func (*Current) Ingresses

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

func (*Current) Pools

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

type DesiredV0

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

type Keys

type Keys struct {
	BootstrapKeyPrivate   *secret.Secret `yaml:",omitempty"`
	BootstrapKeyPublic    *secret.Secret `yaml:",omitempty"`
	MaintenanceKeyPrivate *secret.Secret `yaml:",omitempty"`
	MaintenanceKeyPublic  *secret.Secret `yaml:",omitempty"`
}

type Machine

type Machine struct {
	ID                  string
	Hostname            string
	IP                  orbiter.IPAddress
	RebootRequired      bool
	ReplacementRequired bool
}

type Spec

type Spec struct {
	Verbose bool
	Pools   map[string][]*Machine
	Keys    *Keys
}

Jump to

Keyboard shortcuts

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