kubernetes

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 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(
	logger logging.Logger,
	orb *orbiter.Orb,
	orbiterCommit string,
	id string,
	oneoff bool,
	deployOrbiterAndBoom bool,
	ensureProviders func(psf orbiter.PushSecretsFunc, nodeAgentsCurrent map[string]*common.NodeAgentCurrent, nodeAgentsDesired map[string]*common.NodeAgentSpec) (map[string]interface{}, error),
	destroyProviders func() (map[string]interface{}, error)) orbiter.AdaptFunc

Types

type Compute

type Compute struct {
	Status   string
	Metadata ComputeMetadata `yaml:",inline"`
}

type ComputeMetadata

type ComputeMetadata struct {
	Tier     Tier
	Provider string
	Pool     string
	Group    string `yaml:",omitempty"`
}

type Current

type Current struct {
	Common  orbiter.Common `yaml:",inline"`
	Current CurrentCluster
}

type CurrentCluster

type CurrentCluster struct {
	Status   string
	Computes map[string]*Compute `yaml:"computes"`
}

type DesiredV0

type DesiredV0 struct {
	Common orbiter.Common `yaml:",inline"`
	Spec   struct {
		Verbose  bool
		Versions struct {
			Kubernetes string
			Orbiter    string
			Boom       string
		}
		Networking struct {
			DNSDomain   string
			Network     string
			ServiceCidr orbiter.CIDR
			PodCidr     orbiter.CIDR
		}
		ControlPlane Pool
		Workers      []*Pool
	}
}
type DesiredV1 struct {
	Common orbiter.Common `yaml:",inline"`
	Spec   struct {
		Verbose           bool
		KubernetesVersion string
		Versions          struct {
			Orbiter string
			Boom    string
		}
		Networking struct {
			DNSDomain   string
			Network     string
			ServiceCidr orbiter.CIDR
			PodCidr     orbiter.CIDR
		}
		ControlPlane Pool
		Workers      []*Pool
	}
}

type Pool

type Pool struct {
	UpdatesDisabled bool
	Provider        string
	Nodes           int
	Pool            string
}

type Secrets

type Secrets struct {
	Kubeconfig *orbiter.Secret `yaml:",omitempty"`
}

type SecretsV0

type SecretsV0 struct {
	Common  orbiter.Common `yaml:",inline"`
	Secrets Secrets
}

type Tier

type Tier string
const (
	Controlplane Tier = "controlplane"
	Workers      Tier = "workers"
)

Directories

Path Synopsis
edge
k8s

Jump to

Keyboard shortcuts

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