machina

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2026 License: Apache-2.0 Imports: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package machina implements the machina controller cluster component. Machina is a required singleton: it is deployed whenever any Site exists 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(_ *unboundedv1alpha3.Site) bool

EnabledFor reports whether a Site requires the machina component. Machina is required regardless of the deprecated per-Site setting.

func New

New returns the machina cluster component.

func SetAPIServerEndpoint

func SetAPIServerEndpoint(config, endpoint string) (string, error)

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

func (Component) ConditionType() string

ConditionType implements component.ClusterComponent.

func (Component) Name

func (Component) Name() string

Name implements component.ClusterComponent.

func (Component) Plan added in v0.3.0

Plan deploys the machina controller singleton whenever at least one Site exists and keeps an existing installation reconciled with no Sites.

func (Component) SetupWatches

func (Component) SetupWatches(b *builder.Builder, env *component.Env)

SetupWatches reconciles machina on changes to its config payload and on create/delete/generation changes of its controller Deployment.

Jump to

Keyboard shortcuts

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