Documentation
¶
Overview ¶
Package machina implements the machina controller cluster component. Machina is a singleton for now: it is deployed whenever any Site enables it and kept reconciled when an installation already exists.
Index ¶
Constants ¶
View Source
const (
ConfigHashAnnotation = "unbounded-cloud.io/machina-config-hash"
)
Variables ¶
This section is empty.
Functions ¶
func EnabledFor ¶
func EnabledFor(site *unboundedv1alpha3.Site) bool
EnabledFor reports whether a Site enables the machina component.
func SetAPIServerEndpoint ¶
SetAPIServerEndpoint updates only the top-level apiServerEndpoint field. Using a YAML node preserves all other migrated or user-managed fields.
Types ¶
type Component ¶
type Component struct{}
Component reconciles the machina controller singleton.
func (Component) ConditionType ¶
ConditionType implements component.ClusterComponent.
func (Component) Plan ¶ added in v0.3.0
func (c Component) Plan(ctx context.Context, env *component.Env, sites []unboundedv1alpha3.Site) (*component.Plan, component.Result, error)
Reconcile deploys the machina controller singleton whenever any Site enables it and keeps an existing installation reconciled when none do.
Click to show internal directories.
Click to hide internal directories.