v1alpha1

package
v1.4.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 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 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 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