v1

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2026 License: Apache-2.0 Imports: 5 Imported by: 3

Documentation

Overview

Package v1 contains API Schema definitions for the apps v1 API group +kubebuilder:object:generate=true +groupName=home-cloud.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "home-cloud.io", Version: "v1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type App

type App struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   AppSpec   `json:"spec,omitempty"`
	Status AppStatus `json:"status,omitempty"`
}

App is the Schema for the apps API

func (*App) DeepCopy

func (in *App) DeepCopy() *App

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new App.

func (*App) DeepCopyInto

func (in *App) DeepCopyInto(out *App)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*App) DeepCopyObject

func (in *App) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AppList

type AppList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []App `json:"items"`
}

AppList contains a list of Apps

func (*AppList) DeepCopy

func (in *AppList) DeepCopy() *AppList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppList.

func (*AppList) DeepCopyInto

func (in *AppList) DeepCopyInto(out *AppList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AppList) DeepCopyObject

func (in *AppList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AppSpec

type AppSpec struct {
	// Chart is the Helm chart which defines the App.
	Chart string `json:"chart"`
	// Repo is the URL for the chart repository.
	Repo string `json:"repo"`
	// Release is the name of the Helm release of the App.
	Release string `json:"release"`
	// Values optionally defines the values that will be applied to the Chart.
	Values string `json:"values,omitempty"`
	// Version is the version of the chart.
	Version string `json:"version"`
}

AppSpec defines the desired state of an App

func (*AppSpec) DeepCopy

func (in *AppSpec) DeepCopy() *AppSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppSpec.

func (*AppSpec) DeepCopyInto

func (in *AppSpec) DeepCopyInto(out *AppSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AppStatus

type AppStatus struct {
	// Version is the version of the Chart that is currently installed.
	Version string `json:"version"`
	// Values that were used for the current Chart install.
	Values string `json:"values,omitempty"`
}

AppStatus defines the observed state of an App

func (*AppStatus) DeepCopy

func (in *AppStatus) DeepCopy() *AppStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppStatus.

func (*AppStatus) DeepCopyInto

func (in *AppStatus) DeepCopyInto(out *AppStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AppStore added in v0.1.0

type AppStore struct {
	// URL defines where the Helm chart index of the store is: e.g. https://apps.home-cloud.io/index.yaml
	URL string `json:"url"`
	// RawChartURL defines where to find README.md files that populate descriptions in the
	// App Store: e.g. https://raw.githubusercontent.com/home-cloud-io/store
	RawChartURL string `json:"rawChartURL"`
}

func (*AppStore) DeepCopy added in v0.1.0

func (in *AppStore) DeepCopy() *AppStore

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppStore.

func (*AppStore) DeepCopyInto added in v0.1.0

func (in *AppStore) DeepCopyInto(out *AppStore)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BaseSpec added in v0.1.0

type BaseSpec struct {
	Values string `json:"values,omitempty"`
}

func (*BaseSpec) DeepCopy added in v0.1.0

func (in *BaseSpec) DeepCopy() *BaseSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BaseSpec.

func (*BaseSpec) DeepCopyInto added in v0.1.0

func (in *BaseSpec) DeepCopyInto(out *BaseSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CNISpec added in v0.1.0

type CNISpec struct {
	Values string `json:"values,omitempty"`
}

func (*CNISpec) DeepCopy added in v0.1.0

func (in *CNISpec) DeepCopy() *CNISpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CNISpec.

func (*CNISpec) DeepCopyInto added in v0.1.0

func (in *CNISpec) DeepCopyInto(out *CNISpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DaemonSpec added in v0.1.0

type DaemonSpec struct {
	Disable    bool           `json:"disable,omitempty"`
	Image      string         `json:"image,omitempty"`
	Tag        string         `json:"tag,omitempty"`
	Address    string         `json:"address,omitempty"`
	System     SystemSpec     `json:"system,omitempty"`
	Kubernetes KubernetesSpec `json:"kubernetes,omitempty"`
}

func (*DaemonSpec) DeepCopy added in v0.1.0

func (in *DaemonSpec) DeepCopy() *DaemonSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSpec.

func (*DaemonSpec) DeepCopyInto added in v0.1.0

func (in *DaemonSpec) DeepCopyInto(out *DaemonSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DaemonStatus added in v0.1.0

type DaemonStatus struct {
	Image string `json:"image,omitempty"`
	Tag   string `json:"tag,omitempty"`
}

func (*DaemonStatus) DeepCopy added in v0.1.0

func (in *DaemonStatus) DeepCopy() *DaemonStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonStatus.

func (*DaemonStatus) DeepCopyInto added in v0.1.0

func (in *DaemonStatus) DeepCopyInto(out *DaemonStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GatewayAPISpec added in v0.1.0

type GatewayAPISpec struct {
	// Disabling will not uninstall a previous installation. Since these CRDs are cluster-scoped, this is to avoid
	// breaking an existing installation from another source. You must uninstall manually after disabling.
	Disable bool   `json:"disable,omitempty"`
	Source  string `json:"source,omitempty"`
	Version string `json:"version,omitempty"`
}

func (*GatewayAPISpec) DeepCopy added in v0.1.0

func (in *GatewayAPISpec) DeepCopy() *GatewayAPISpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayAPISpec.

func (*GatewayAPISpec) DeepCopyInto added in v0.1.0

func (in *GatewayAPISpec) DeepCopyInto(out *GatewayAPISpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GatewayAPIStatus added in v0.1.0

type GatewayAPIStatus struct {
	URL     string `json:"url,omitempty"`
	Version string `json:"version,omitempty"`
}

func (*GatewayAPIStatus) DeepCopy added in v0.1.0

func (in *GatewayAPIStatus) DeepCopy() *GatewayAPIStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayAPIStatus.

func (*GatewayAPIStatus) DeepCopyInto added in v0.1.0

func (in *GatewayAPIStatus) DeepCopyInto(out *GatewayAPIStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ImageVersion added in v0.1.0

type ImageVersion struct {
	Image string
	Tag   string
}

func (*ImageVersion) DeepCopy added in v0.1.0

func (in *ImageVersion) DeepCopy() *ImageVersion

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageVersion.

func (*ImageVersion) DeepCopyInto added in v0.1.0

func (in *ImageVersion) DeepCopyInto(out *ImageVersion)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Install added in v0.1.0

type Install struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   InstallSpec   `json:"spec,omitempty"`
	Status InstallStatus `json:"status,omitempty"`
}

Install is the Schema for the installs API

func (*Install) DeepCopy added in v0.1.0

func (in *Install) DeepCopy() *Install

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Install.

func (*Install) DeepCopyInto added in v0.1.0

func (in *Install) DeepCopyInto(out *Install)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Install) DeepCopyObject added in v0.1.0

func (in *Install) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type InstallList added in v0.1.0

type InstallList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Install `json:"items"`
}

InstallList contains a list of Install

func (*InstallList) DeepCopy added in v0.1.0

func (in *InstallList) DeepCopy() *InstallList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstallList.

func (*InstallList) DeepCopyInto added in v0.1.0

func (in *InstallList) DeepCopyInto(out *InstallList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*InstallList) DeepCopyObject added in v0.1.0

func (in *InstallList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type InstallSpec added in v0.1.0

type InstallSpec struct {
	Version    string         `json:"version"`
	GatewayAPI GatewayAPISpec `json:"gatewayApi,omitempty" yaml:"gatewayApi"`
	Istio      IstioSpec      `json:"istio,omitempty"`
	Server     ServerSpec     `json:"server,omitempty"`
	MDNS       MDNSSpec       `json:"mdns,omitempty"`
	Tunnel     TunnelSpec     `json:"tunnel,omitempty"`
	// TODO: document API
	Daemon   DaemonSpec   `json:"daemon,omitempty"`
	Settings SettingsSpec `json:"settings,omitempty"`
}

InstallSpec defines the desired state of Install

func (*InstallSpec) DeepCopy added in v0.1.0

func (in *InstallSpec) DeepCopy() *InstallSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstallSpec.

func (*InstallSpec) DeepCopyInto added in v0.1.0

func (in *InstallSpec) DeepCopyInto(out *InstallSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type InstallStatus added in v0.1.0

type InstallStatus struct {
	Version    string           `json:"version,omitempty"`
	GatewayAPI GatewayAPIStatus `json:"gatewayApi,omitempty"`
	Istio      IstioStatus      `json:"istio,omitempty"`
	Server     ServerStatus     `json:"server,omitempty"`
	Tunnel     TunnelStatus     `json:"tunnel,omitempty"`
	MDNS       MDNSStatus       `json:"mdns,omitempty"`
	Daemon     DaemonStatus     `json:"daemon,omitempty"`
}

InstallStatus defines the observed state of Install

func (*InstallStatus) DeepCopy added in v0.1.0

func (in *InstallStatus) DeepCopy() *InstallStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstallStatus.

func (*InstallStatus) DeepCopyInto added in v0.1.0

func (in *InstallStatus) DeepCopyInto(out *InstallStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type IstioSpec added in v0.1.0

type IstioSpec struct {
	Disable            bool   `json:"disable,omitempty"`
	Namespace          string `json:"istio,omitempty"`
	Version            string `json:"version,omitempty"`
	Source             string `json:"source,omitempty"`
	IngressGatewayName string `json:"ingressGatewayName,omitempty"`

	Base    BaseSpec    `json:"base,omitempty"`
	Istiod  IstiodSpec  `json:"istiod,omitempty"`
	CNI     CNISpec     `json:"cni,omitempty"`
	Ztunnel ZtunnelSpec `json:"ztunnel,omitempty"`
}

func (*IstioSpec) DeepCopy added in v0.1.0

func (in *IstioSpec) DeepCopy() *IstioSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioSpec.

func (*IstioSpec) DeepCopyInto added in v0.1.0

func (in *IstioSpec) DeepCopyInto(out *IstioSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type IstioStatus added in v0.1.0

type IstioStatus struct {
	Version string `json:"version,omitempty"`
	Repo    string `json:"repo,omitempty"`
}

func (*IstioStatus) DeepCopy added in v0.1.0

func (in *IstioStatus) DeepCopy() *IstioStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioStatus.

func (*IstioStatus) DeepCopyInto added in v0.1.0

func (in *IstioStatus) DeepCopyInto(out *IstioStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type IstiodSpec added in v0.1.0

type IstiodSpec struct {
	Values string `json:"values,omitempty"`
}

func (*IstiodSpec) DeepCopy added in v0.1.0

func (in *IstiodSpec) DeepCopy() *IstiodSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstiodSpec.

func (*IstiodSpec) DeepCopyInto added in v0.1.0

func (in *IstiodSpec) DeepCopyInto(out *IstiodSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type KubernetesSpec added in v0.1.0

type KubernetesSpec struct {
	Disable bool `json:"disable,omitempty"`
	// Version is the semver of the Kubernetes release: e.g. 1.34.2
	Version string `json:"version,omitempty"`
}

func (*KubernetesSpec) DeepCopy added in v0.1.0

func (in *KubernetesSpec) DeepCopy() *KubernetesSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesSpec.

func (*KubernetesSpec) DeepCopyInto added in v0.1.0

func (in *KubernetesSpec) DeepCopyInto(out *KubernetesSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MDNSSpec added in v0.1.0

type MDNSSpec struct {
	Disable bool   `json:"disable,omitempty"`
	Image   string `json:"image,omitempty"`
	Tag     string `json:"tag,omitempty"`
}

func (*MDNSSpec) DeepCopy added in v0.1.0

func (in *MDNSSpec) DeepCopy() *MDNSSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MDNSSpec.

func (*MDNSSpec) DeepCopyInto added in v0.1.0

func (in *MDNSSpec) DeepCopyInto(out *MDNSSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MDNSStatus added in v0.1.0

type MDNSStatus struct {
	Image string `json:"image,omitempty"`
	Tag   string `json:"tag,omitempty"`
}

func (*MDNSStatus) DeepCopy added in v0.1.0

func (in *MDNSStatus) DeepCopy() *MDNSStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MDNSStatus.

func (*MDNSStatus) DeepCopyInto added in v0.1.0

func (in *MDNSStatus) DeepCopyInto(out *MDNSStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PeerSpec added in v0.1.0

type PeerSpec struct {
	// PrivateKeySecret references a Secret which contains the private key for this peer.
	// +optional
	PrivateKeySecret *SecretReference `json:"privateKeySecret,omitempty"`

	// PublicKey specifies the public key of this peer.  PublicKey is a
	// mandatory field for all PeerConfigs.
	PublicKey string `json:"publicKey"`

	// PresharedKey specifies a peer's preshared key configuration, if not nil.
	//
	// Setting to nil will clear the preshared key.
	// +optional
	PresharedKey *SecretReference `json:"presharedKey,omitempty"`

	// Endpoint specifies the endpoint of this peer entry, if not nil.
	// +optional
	Endpoint *string `json:"endpoint,omitempty"`

	// PersistentKeepaliveInterval specifies the persistent keepalive interval
	// for this peer, if not nil.
	//
	// A non-nil value of 0 will clear the persistent keepalive interval.
	// +optional
	PersistentKeepaliveInterval *time.Duration `json:"persistentKeepaliveInterval,omitempty"`

	// AllowedIPs specifies a list of allowed IP addresses in CIDR notation.
	// for this peer.
	AllowedIPs []string `json:"allowedIPs"`
}

func (*PeerSpec) DeepCopy added in v0.1.0

func (in *PeerSpec) DeepCopy() *PeerSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeerSpec.

func (*PeerSpec) DeepCopyInto added in v0.1.0

func (in *PeerSpec) DeepCopyInto(out *PeerSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SecretReference added in v0.1.0

type SecretReference struct {
	// Name specifies name of the Secret object.
	Name string `json:"name"`

	// Namespace specifies the namespace of the Secret object.
	// If not set, will search within the same namespace as the Wireguard object.
	// +optional
	Namespace *string `json:"namespace,omitempty"`

	// DataKey specifies the data key to find the requested value in.
	DataKey string `json:"dataKey"`
}

func (*SecretReference) DeepCopy added in v0.1.0

func (in *SecretReference) DeepCopy() *SecretReference

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretReference.

func (*SecretReference) DeepCopyInto added in v0.1.0

func (in *SecretReference) DeepCopyInto(out *SecretReference)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServerSpec added in v0.1.0

type ServerSpec struct {
	Disable bool   `json:"disable,omitempty"`
	Image   string `json:"image,omitempty"`
	Tag     string `json:"tag,omitempty"`
}

func (*ServerSpec) DeepCopy added in v0.1.0

func (in *ServerSpec) DeepCopy() *ServerSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerSpec.

func (*ServerSpec) DeepCopyInto added in v0.1.0

func (in *ServerSpec) DeepCopyInto(out *ServerSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServerStatus added in v0.1.0

type ServerStatus struct {
	Image string `json:"image,omitempty"`
	Tag   string `json:"tag,omitempty"`
}

func (*ServerStatus) DeepCopy added in v0.1.0

func (in *ServerStatus) DeepCopy() *ServerStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerStatus.

func (*ServerStatus) DeepCopyInto added in v0.1.0

func (in *ServerStatus) DeepCopyInto(out *ServerStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SettingsSpec added in v0.1.0

type SettingsSpec struct {
	// AutoUpdateApps (default: true)
	AutoUpdateApps bool `json:"autoUpdateApps,omitempty"`
	// AutoUpdateSystem (default: true)
	AutoUpdateSystem bool `json:"autoUpdateSystem,omitempty"`
	// Hostname defines the base hostname for the install (default: home-cloud.local)
	Hostname string `json:"hostname,omitempty"`
	// AppStores defines the app stores to install apps from
	AppStores []AppStore `json:"appStores,omitempty"`
	// AutoUpdateAppsSchedule is a cron string that defines the freqency with which the server
	// will automatically update installed Apps: e.g. (default: "0 3 * * *")
	//
	// You must restart the server after changing this value for it to take
	// effect if updating the Kuberenetes resource directly.
	AutoUpdateAppsSchedule string `json:"autoUpdateAppsSchedule,omitempty"`
}

func (*SettingsSpec) DeepCopy added in v0.1.0

func (in *SettingsSpec) DeepCopy() *SettingsSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SettingsSpec.

func (*SettingsSpec) DeepCopyInto added in v0.1.0

func (in *SettingsSpec) DeepCopyInto(out *SettingsSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SystemSpec added in v0.1.0

type SystemSpec struct {
	Disable bool `json:"disable,omitempty"`
	// Source represents the source URL of the system image. For example, for Talos
	// this is the installer image: ghcr.io/siderolabs/installer
	Source string `json:"source,omitempty"`
	// Version represents the version of the system to install. For example, for Talos
	// this is the tag of the installer image: e.g. v1.11.2
	Version string `json:"version,omitempty"`
}

func (*SystemSpec) DeepCopy added in v0.1.0

func (in *SystemSpec) DeepCopy() *SystemSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemSpec.

func (*SystemSpec) DeepCopyInto added in v0.1.0

func (in *SystemSpec) DeepCopyInto(out *SystemSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TunnelSpec added in v0.1.0

type TunnelSpec struct {
	Disable bool   `json:"disable,omitempty"`
	Image   string `json:"image,omitempty"`
	Tag     string `json:"tag,omitempty"`
}

func (*TunnelSpec) DeepCopy added in v0.1.0

func (in *TunnelSpec) DeepCopy() *TunnelSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TunnelSpec.

func (*TunnelSpec) DeepCopyInto added in v0.1.0

func (in *TunnelSpec) DeepCopyInto(out *TunnelSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TunnelStatus added in v0.1.0

type TunnelStatus struct {
	Image string `json:"image,omitempty"`
	Tag   string `json:"tag,omitempty"`
}

func (*TunnelStatus) DeepCopy added in v0.1.0

func (in *TunnelStatus) DeepCopy() *TunnelStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TunnelStatus.

func (*TunnelStatus) DeepCopyInto added in v0.1.0

func (in *TunnelStatus) DeepCopyInto(out *TunnelStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Wireguard added in v0.1.0

type Wireguard struct {
	metav1.TypeMeta `json:",inline"`

	// metadata is a standard object metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty,omitzero"`

	// spec defines the desired state of Wireguard
	// +required
	Spec WireguardSpec `json:"spec"`

	// status defines the observed state of Wireguard
	// +optional
	Status WireguardStatus `json:"status,omitempty,omitzero"`
}

Wireguard is the Schema for the wireguards API

func (*Wireguard) DeepCopy added in v0.1.0

func (in *Wireguard) DeepCopy() *Wireguard

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Wireguard.

func (*Wireguard) DeepCopyInto added in v0.1.0

func (in *Wireguard) DeepCopyInto(out *Wireguard)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Wireguard) DeepCopyObject added in v0.1.0

func (in *Wireguard) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type WireguardList added in v0.1.0

type WireguardList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Wireguard `json:"items"`
}

WireguardList contains a list of Wireguard

func (*WireguardList) DeepCopy added in v0.1.0

func (in *WireguardList) DeepCopy() *WireguardList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WireguardList.

func (*WireguardList) DeepCopyInto added in v0.1.0

func (in *WireguardList) DeepCopyInto(out *WireguardList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WireguardList) DeepCopyObject added in v0.1.0

func (in *WireguardList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type WireguardSpec added in v0.1.0

type WireguardSpec struct {
	// ID specifies the universally unique (UUID v4) identity of this interface. This is a public
	// value that is used to lookup this Wireguard interface (server) via the defined Locator servers. It can
	// be rotated independently of the private key (e.g. if the ID gets leaked and someone tries to DDOS
	// the server with connection requests through a public Locator).
	ID string `json:"id"`

	// Locators specifies the addresses of Locator servers to connect to this Wireguard interface.
	Locators []string `json:"locators"`

	// STUNServer specifies the address of the STUN server to bind the ListenPort to and perform
	// multiplexing of traffic between STUN and Wireguard.
	STUNServer string `json:"stunServer"`

	// Name specifies the name of the interface.
	Name string `json:"name"`

	// PrivateKeySecret references a Secret which contains the private key for this interface.
	PrivateKeySecret SecretReference `json:"privateKeySecret"`

	// Address specifies the address of the interface in CIDR notation.
	Address string `json:"address"`

	// ListenPort specifies an interface's listening port.
	ListenPort int `json:"listenPort"`

	// NATInterface specifies the interface to configure NAT masquerade on for forwarding
	// external traffic through (eth0, ens18, etc.).
	NATInterface string `json:"natInterface"`

	// Peers specifies a list of peer configurations to apply to an interface.
	Peers []PeerSpec `json:"peers"`
}

WireguardSpec defines the desired state of Wireguard

func (*WireguardSpec) DeepCopy added in v0.1.0

func (in *WireguardSpec) DeepCopy() *WireguardSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WireguardSpec.

func (*WireguardSpec) DeepCopyInto added in v0.1.0

func (in *WireguardSpec) DeepCopyInto(out *WireguardSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WireguardStatus added in v0.1.0

type WireguardStatus struct {

	// conditions represent the current state of the Wireguard resource.
	// Each condition has a unique type and reflects the status of a specific aspect of the resource.
	//
	// Standard condition types include:
	// - "Available": the resource is fully functional
	// - "Progressing": the resource is being created or updated
	// - "Degraded": the resource failed to reach or maintain its desired state
	//
	// The status of each condition is one of True, False, or Unknown.
	// +listType=map
	// +listMapKey=type
	// +optional
	Conditions []metav1.Condition `json:"conditions,omitempty"`
}

WireguardStatus defines the observed state of Wireguard.

func (*WireguardStatus) DeepCopy added in v0.1.0

func (in *WireguardStatus) DeepCopy() *WireguardStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WireguardStatus.

func (*WireguardStatus) DeepCopyInto added in v0.1.0

func (in *WireguardStatus) DeepCopyInto(out *WireguardStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ZtunnelSpec added in v0.1.0

type ZtunnelSpec struct {
	Values string `json:"values,omitempty"`
}

func (*ZtunnelSpec) DeepCopy added in v0.1.0

func (in *ZtunnelSpec) DeepCopy() *ZtunnelSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZtunnelSpec.

func (*ZtunnelSpec) DeepCopyInto added in v0.1.0

func (in *ZtunnelSpec) DeepCopyInto(out *ZtunnelSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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