emu

package
v1.8.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2024 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package emu contains emulator specific resources.

Index

Constants

View Source
const ClusterStatusType = resource.Type("ClusterStatuses.talemu.sidero.dev")

ClusterStatusType is the type of ClusterStatus resource.

tsgen:ClusterStatusType

View Source
const LabelCluster = SystemLabelPrefix + "cluster"

LabelCluster is the cluster identity.

View Source
const LabelControlPlaneRole = SystemLabelPrefix + "role-control-plane"

LabelControlPlaneRole the machine is a contol plane.

View Source
const LabelWorkerRole = SystemLabelPrefix + "role-worker"

LabelWorkerRole the machine is a worker.

View Source
const MachineStatusType = resource.Type("MachineStatuses.talemu.sidero.dev")

MachineStatusType is the type of MachineStatus resource.

tsgen:MachineStatusType

View Source
const NamespaceName = "emulator"

NamespaceName sets the default namespace name for the emulator resources.

View Source
const SystemLabelPrefix = "talemu.sidero.dev/"

SystemLabelPrefix is the prefix of all internal talemu labels.

Variables

This section is empty.

Functions

func Register

func Register(ctx context.Context, state state.State) error

Register the emulator resource group in the state.

Types

type ClusterStatus

ClusterStatus resource contains current information about the Machine bootstrap status.

func NewClusterStatus

func NewClusterStatus(ns, id string) *ClusterStatus

NewClusterStatus creates new ClusterStatus state.

type ClusterStatusExtension

type ClusterStatusExtension struct{}

ClusterStatusExtension providers auxiliary methods for ClusterStatus resource.

func (ClusterStatusExtension) ResourceDefinition

func (ClusterStatusExtension) ResourceDefinition() meta.ResourceDefinitionSpec

ResourceDefinition implements typed.Extension interface.

type ClusterStatusSpec

ClusterStatusSpec wraps specs.ClusterStatusSpec.

type MachineStatus

MachineStatus describes virtual machine status.

func NewMachineStatus

func NewMachineStatus(ns, id string) *MachineStatus

NewMachineStatus creates new MachineStatus.

type MachineStatusExtension

type MachineStatusExtension struct{}

MachineStatusExtension providers auxiliary methods for MachineStatus resource.

func (MachineStatusExtension) ResourceDefinition

func (MachineStatusExtension) ResourceDefinition() meta.ResourceDefinitionSpec

ResourceDefinition implements typed.Extension interface.

type MachineStatusSpec

MachineStatusSpec wraps specs.MachineStatusSpec.

Jump to

Keyboard shortcuts

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