Documentation ¶
Index ¶
- func AdaptFunc(clusterID string, oneoff bool, deployOrbiter bool, ...) orbiter.AdaptFunc
- func EnsureBoomArtifacts(monitor mntr.Monitor, client *Client, boomversion string) error
- func EnsureCommonArtifacts(monitor mntr.Monitor, client *Client) error
- func EnsureConfigArtifacts(monitor mntr.Monitor, client *Client, orb *orb.Orb) error
- func EnsureOrbiterArtifacts(monitor mntr.Monitor, client *Client, orbiterversion string) error
- func GetProviderInfos(desired *DesiredV0, providerCurrents map[string]interface{}) (map[string]map[string]infra.Pool, *infra.Address, error)
- func KubernetesSoftware(current common.Software) common.Software
- func SecretFunc() secret.Func
- type Client
- func (c *Client) ApplyClusterRole(rsc *rbac.ClusterRole) error
- func (c *Client) ApplyClusterRoleBinding(rsc *rbac.ClusterRoleBinding) error
- func (c *Client) ApplyDeployment(rsc *apps.Deployment) error
- func (c *Client) ApplyNamespace(rsc *core.Namespace) error
- func (c *Client) ApplyRole(rsc *rbac.Role) error
- func (c *Client) ApplyRoleBinding(rsc *rbac.RoleBinding) error
- func (c *Client) ApplySecret(rsc *core.Secret) error
- func (c *Client) ApplyService(rsc *core.Service) error
- func (c *Client) ApplyServiceAccount(rsc *core.ServiceAccount) error
- func (c *Client) Available() bool
- func (c *Client) DeleteDeployment(namespace, name string) error
- func (c *Client) Drain(machine *Machine, node *core.Node, reason drainReason) (err error)
- func (c *Client) EnsureDeleted(name string, machine *Machine, node NodeWithKubeadm) (err error)
- func (c *Client) GetNode(id string) (node *core.Node, err error)
- func (c *Client) ListNodes(filterID ...string) (nodes []core.Node, err error)
- func (c *Client) Refresh(kubeconfig *string) (err error)
- func (c *Client) RefreshConfig(config *rest.Config) (err error)
- func (c *Client) RemoveFromTaints(taints []core.Taint, reason drainReason) (result []core.Taint)
- func (c *Client) Tainted(node *core.Node, reason drainReason) bool
- type CloudIntegration
- type Current
- type CurrentCluster
- type DesiredV0
- type File
- type IDFunc
- type KubernetesVersion
- func (k KubernetesVersion) DefineSoftware() common.Software
- func (k KubernetesVersion) ExtractMinor(monitor mntr.Monitor) (int, error)
- func (k KubernetesVersion) ExtractPatch(monitor mntr.Monitor) (int, error)
- func (k KubernetesVersion) NextHighestMinor() KubernetesVersion
- func (k KubernetesVersion) String() string
- type Machine
- type MachineMetadata
- type Machines
- type NodeWithKubeadm
- type NotAvailableError
- type Pool
- type Spec
- type Taint
- type Taints
- type Tier
- type Versions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureBoomArtifacts ¶ added in v0.21.0
func EnsureCommonArtifacts ¶ added in v0.21.0
func EnsureConfigArtifacts ¶ added in v0.21.0
func EnsureOrbiterArtifacts ¶ added in v0.21.0
func GetProviderInfos ¶ added in v0.26.0
func SecretFunc ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ApplyClusterRole ¶
func (c *Client) ApplyClusterRole(rsc *rbac.ClusterRole) error
func (*Client) ApplyClusterRoleBinding ¶
func (c *Client) ApplyClusterRoleBinding(rsc *rbac.ClusterRoleBinding) error
func (*Client) ApplyDeployment ¶
func (c *Client) ApplyDeployment(rsc *apps.Deployment) error
func (*Client) ApplyRoleBinding ¶
func (c *Client) ApplyRoleBinding(rsc *rbac.RoleBinding) error
func (*Client) ApplyServiceAccount ¶
func (c *Client) ApplyServiceAccount(rsc *core.ServiceAccount) error
func (*Client) DeleteDeployment ¶
func (*Client) EnsureDeleted ¶
func (c *Client) EnsureDeleted(name string, machine *Machine, node NodeWithKubeadm) (err error)
func (*Client) RefreshConfig ¶ added in v0.25.0
func (*Client) RemoveFromTaints ¶ added in v0.29.0
type CloudIntegration ¶ added in v0.22.0
type CloudIntegration int
type Current ¶
type Current struct { Common tree.Common `yaml:",inline"` Current *CurrentCluster }
type CurrentCluster ¶
type KubernetesVersion ¶
type KubernetesVersion int
const ( Unknown KubernetesVersion = iota V1x15x0 V1x15x1 V1x15x2 V1x15x3 V1x15x4 V1x15x5 V1x15x6 V1x15x7 V1x15x8 V1x15x9 V1x15x10 V1x15x11 V1x15x12 V1x16x0 V1x16x1 V1x16x2 V1x16x3 V1x16x4 V1x16x5 V1x16x6 V1x16x7 V1x16x8 V1x16x9 V1x16x10 V1x16x11 V1x16x12 V1x16x13 V1x16x14 V1x17x0 V1x17x1 V1x17x2 V1x17x3 V1x17x4 V1x17x5 V1x17x6 V1x17x7 V1x17x8 V1x17x9 V1x17x10 V1x17x11 V1x18x0 V1x18x1 V1x18x2 V1x18x3 V1x18x4 V1x18x5 V1x18x6 V1x18x7 V1x18x8 )
func ParseString ¶
func ParseString(version string) KubernetesVersion
func (KubernetesVersion) DefineSoftware ¶
func (k KubernetesVersion) DefineSoftware() common.Software
func (KubernetesVersion) ExtractMinor ¶
func (k KubernetesVersion) ExtractMinor(monitor mntr.Monitor) (int, error)
func (KubernetesVersion) ExtractPatch ¶
func (k KubernetesVersion) ExtractPatch(monitor mntr.Monitor) (int, error)
func (KubernetesVersion) NextHighestMinor ¶
func (k KubernetesVersion) NextHighestMinor() KubernetesVersion
func (KubernetesVersion) String ¶
func (k KubernetesVersion) String() string
type MachineMetadata ¶
type Machines ¶ added in v0.23.0
type NodeWithKubeadm ¶
type NotAvailableError ¶
type NotAvailableError struct{}
func (*NotAvailableError) Error ¶
func (n *NotAvailableError) Error() string
type Taint ¶
type Taint struct { Key string `yaml:"key"` Value string `yaml:"value,omitempty"` Effect core.TaintEffect `yaml:"effect"` }
Click to show internal directories.
Click to hide internal directories.