Documentation ¶
Overview ¶
Package v1alpha1 provides resources which implement "glue" code from v1alpha1 Talos init system.
Index ¶
Constants ¶
const AcquireConfigSpecType = resource.Type("AcquireConfigSpecs.v1alpha1.talos.dev")
AcquireConfigSpecType is type of AcquireConfigSpec resource.
const AcquireConfigStatusType = resource.Type("AcquireConfigStatuses.v1alpha1.talos.dev")
AcquireConfigStatusType is type of AcquireConfigStatus resource.
const NamespaceName resource.Namespace = "runtime"
NamespaceName contains resources linking v1alpha2 components with v1alpha1 Talos runtime.
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
type AcquireConfigSpec = typed.Resource[AcquireConfigSpecSpec, AcquireConfigSpecExtension]
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
func (AcquireConfigSpecExtension) ResourceDefinition() meta.ResourceDefinitionSpec
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
func (o AcquireConfigSpecSpec) DeepCopy() AcquireConfigSpecSpec
DeepCopy generates a deep copy of AcquireConfigSpecSpec.
type AcquireConfigStatus ¶ added in v1.5.0
type AcquireConfigStatus = typed.Resource[AcquireConfigStatusSpec, AcquireConfigStatusExtension]
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
func (AcquireConfigStatusExtension) ResourceDefinition() meta.ResourceDefinitionSpec
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
func (o AcquireConfigStatusSpec) DeepCopy() AcquireConfigStatusSpec
DeepCopy generates a deep copy of AcquireConfigStatusSpec.
type Service ¶
type Service = typed.Resource[ServiceSpec, ServiceExtension]
Service describes running service state.
func NewService ¶
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.