siderolink

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package siderolink contains SideroLink-related resources.

Index

Constants

View Source
const ConfigID = resource.ID("siderolink")

ConfigID the singleton config resource ID.

View Source
const ConfigType = resource.Type("SiderolinkConfigs.siderolink.talos.dev")

ConfigType is type of Config resource.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

Config resource holds KubeSpan configuration.

func NewConfig

func NewConfig(namespace resource.Namespace, id resource.ID) *Config

NewConfig initializes a Config resource.

type ConfigExtension

type ConfigExtension struct{}

ConfigExtension provides auxiliary methods for Config.

func (ConfigExtension) ResourceDefinition

func (ConfigExtension) ResourceDefinition() meta.ResourceDefinitionSpec

ResourceDefinition implements typed.Extension interface.

type ConfigSpec

type ConfigSpec struct {
	APIEndpoint string `yaml:"apiEndpoint" protobuf:"1"`
}

ConfigSpec describes KubeSpan configuration..

func (ConfigSpec) DeepCopy

func (o ConfigSpec) DeepCopy() ConfigSpec

DeepCopy generates a deep copy of ConfigSpec.

Jump to

Keyboard shortcuts

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