v1alpha1

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MPL-2.0 Imports: 5 Imported by: 1

Documentation

Overview

Package v1alpha1 provides resources which implement "glue" code from v1alpha1 Talos init system.

Index

Constants

View Source
const AcquireConfigSpecType = resource.Type("AcquireConfigSpecs.v1alpha1.talos.dev")

AcquireConfigSpecType is type of AcquireConfigSpec resource.

View Source
const AcquireConfigStatusType = resource.Type("AcquireConfigStatuses.v1alpha1.talos.dev")

AcquireConfigStatusType is type of AcquireConfigStatus resource.

View Source
const NamespaceName resource.Namespace = "runtime"

NamespaceName contains resources linking v1alpha2 components with v1alpha1 Talos runtime.

View Source
const ServiceType = resource.Type("Services.v1alpha1.talos.dev")

ServiceType is type of Service resource.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcquireConfigSpec added in v1.5.0

AcquireConfigSpec is created when Talos is ready to start acquiring machine configuration.

func NewAcquireConfigSpec added in v1.5.0

func NewAcquireConfigSpec() *AcquireConfigSpec

NewAcquireConfigSpec initializes a AcquireConfigSpec resource.

type AcquireConfigSpecExtension added in v1.5.0

type AcquireConfigSpecExtension struct{}

AcquireConfigSpecExtension provides auxiliary methods for AcquireConfigSpec.

func (AcquireConfigSpecExtension) ResourceDefinition added in v1.5.0

ResourceDefinition implements meta.ResourceDefinitionProvider interface.

type AcquireConfigSpecSpec added in v1.5.0

type AcquireConfigSpecSpec struct{}

AcquireConfigSpecSpec describe state of ready to acquire config.

func (AcquireConfigSpecSpec) DeepCopy added in v1.5.0

DeepCopy generates a deep copy of AcquireConfigSpecSpec.

type AcquireConfigStatus added in v1.5.0

AcquireConfigStatus is created when machine configuration is ready and boot process is ok to proceed.

func NewAcquireConfigStatus added in v1.5.0

func NewAcquireConfigStatus() *AcquireConfigStatus

NewAcquireConfigStatus initializes a AcquireConfigStatus resource.

type AcquireConfigStatusExtension added in v1.5.0

type AcquireConfigStatusExtension struct{}

AcquireConfigStatusExtension provides auxiliary methods for AcquireConfigStatus.

func (AcquireConfigStatusExtension) ResourceDefinition added in v1.5.0

ResourceDefinition implements meta.ResourceDefinitionProvider interface.

type AcquireConfigStatusSpec added in v1.5.0

type AcquireConfigStatusSpec struct{}

AcquireConfigStatusSpec describe state of ready proceed booting with machine config.

func (AcquireConfigStatusSpec) DeepCopy added in v1.5.0

DeepCopy generates a deep copy of AcquireConfigStatusSpec.

type Service

Service describes running service state.

func NewService

func NewService(id resource.ID) *Service

NewService initializes a Service resource.

type ServiceExtension added in v1.4.0

type ServiceExtension struct{}

ServiceExtension provides auxiliary methods for Service.

func (ServiceExtension) ResourceDefinition added in v1.4.0

func (ServiceExtension) ResourceDefinition() meta.ResourceDefinitionSpec

ResourceDefinition implements meta.ResourceDefinitionProvider interface.

type ServiceSpec

type ServiceSpec struct {
	Running bool `yaml:"running" protobuf:"1"`
	Healthy bool `yaml:"healthy" protobuf:"2"`
	Unknown bool `yaml:"unknown" protobuf:"3"`
}

ServiceSpec describe service state.

func (ServiceSpec) DeepCopy

func (o ServiceSpec) DeepCopy() ServiceSpec

DeepCopy generates a deep copy of ServiceSpec.

Jump to

Keyboard shortcuts

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