components

package
v0.0.0-...-9516177 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2021 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// EtcdPeerHostPortName represents the etcd peer host port
	// allocation name
	EtcdPeerHostPortName = "etcd-peer"

	// EtcdClientHostPortName represents the etcd client host port
	// allocation name
	EtcdClientHostPortName = "etcd-client"
)
View Source
const (
	// APIServerHostPortName represents the apiserver host port
	// allocation name
	APIServerHostPortName = "apiserver"
)
View Source
const (
	// WireguardHostPortName represents the wireguard host port
	// allocation name
	WireguardHostPortName = "wireguard"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Component

type Component interface {
	// PreReconcile allocates resources that need to be reserved for the
	// reconcile process. If conflicts arise on resources, the
	// PreReconcile will be retried, instead of a full Reconcile cycle
	PreReconcile(inquirer.ReconcilerInquirer) error
	Reconcile(inquirer.ReconcilerInquirer) error
	ReconcileDeletion(inquirer.ReconcilerInquirer) error
}

Component is an interface that allows a component implementing this interface to be reconciled

type ControlPlane

type ControlPlane struct{}

ControlPlane represents a complete control plane instance, including: etcd, API server, controller-manager and scheduler

func (*ControlPlane) PreReconcile

func (controlPlane *ControlPlane) PreReconcile(inquirer inquirer.ReconcilerInquirer) error

PreReconcile pre-reconciles the control plane component

func (*ControlPlane) Reconcile

func (controlPlane *ControlPlane) Reconcile(inquirer inquirer.ReconcilerInquirer) error

Reconcile reconciles the control plane component

func (*ControlPlane) ReconcileDeletion

func (controlPlane *ControlPlane) ReconcileDeletion(inquirer inquirer.ReconcilerInquirer) error

ReconcileDeletion reconciles the kube-apiserver deletion

type ControlPlaneIngress

type ControlPlaneIngress struct{}

ControlPlaneIngress represents an endpoint to a set of control plane instances

func (*ControlPlaneIngress) PreReconcile

func (ingress *ControlPlaneIngress) PreReconcile(inquirer inquirer.ReconcilerInquirer) error

PreReconcile pre-reconciles the control plane ingress component

func (*ControlPlaneIngress) Reconcile

func (ingress *ControlPlaneIngress) Reconcile(inquirer inquirer.ReconcilerInquirer) error

Reconcile reconciles the control plane ingress

func (*ControlPlaneIngress) ReconcileDeletion

func (ingress *ControlPlaneIngress) ReconcileDeletion(inquirer inquirer.ReconcilerInquirer) error

ReconcileDeletion reconciles the control plane ingress deletion

Jump to

Keyboard shortcuts

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