v1

package
v0.3.0-beta.3 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

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

Index

Constants

View Source
const (
	// signals the controller to delete all persistence resources (databases, secrets, volumes, etc.)
	// during a delete
	AnnotationAppCleanUninstall = "apps.home-cloud.io/clean-uninstall"
	// signals the controller to skip reconciling this App. useful when debugging Apps or if a user
	// wanted to migrate an App off of Home Cloud.
	AnnotationAppIgnore = "apps.home-cloud.io/ignore"
)
View Source
const (
	AnnotationDiskLoadRequested = "disks.home-cloud.io/load-requested"
	StatusConditionLoaded       = "disks.home-cloud.io/loaded"
)
View Source
const (
	AnnotationDNSHostnames = "dns.home-cloud.io/domains"
)

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

+kubebuilder:printcolumn:name="Version",type=string,JSONPath=`.spec.version`

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

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

func (in *AppStore) DeepCopy() *AppStore

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

func (*AppStore) DeepCopyInto

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

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

func (*BaseSpec) DeepCopy

func (in *BaseSpec) DeepCopy() *BaseSpec

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

func (*BaseSpec) DeepCopyInto

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

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

type BlockySpec added in v0.3.0

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

func (*BlockySpec) DeepCopy added in v0.3.0

func (in *BlockySpec) DeepCopy() *BlockySpec

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

func (*BlockySpec) DeepCopyInto added in v0.3.0

func (in *BlockySpec) DeepCopyInto(out *BlockySpec)

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

type BlockyStatus added in v0.3.0

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

func (*BlockyStatus) DeepCopy added in v0.3.0

func (in *BlockyStatus) DeepCopy() *BlockyStatus

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

func (*BlockyStatus) DeepCopyInto added in v0.3.0

func (in *BlockyStatus) DeepCopyInto(out *BlockyStatus)

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

type CNISpec

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

func (*CNISpec) DeepCopy

func (in *CNISpec) DeepCopy() *CNISpec

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

func (*CNISpec) DeepCopyInto

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

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

type CertManagerSpec added in v0.3.0

type CertManagerSpec struct {
	Disable   bool   `json:"disable,omitempty"`
	Namespace string `json:"namespace,omitempty"`
	Source    string `json:"source,omitempty"`
	Version   string `json:"version,omitempty"`
	Values    string `json:"values,omitempty"`
}

func (*CertManagerSpec) DeepCopy added in v0.3.0

func (in *CertManagerSpec) DeepCopy() *CertManagerSpec

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

func (*CertManagerSpec) DeepCopyInto added in v0.3.0

func (in *CertManagerSpec) DeepCopyInto(out *CertManagerSpec)

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

type CertManagerStatus added in v0.3.0

type CertManagerStatus struct {
	Source  string `json:"source,omitempty"`
	Version string `json:"version,omitempty"`
}

func (*CertManagerStatus) DeepCopy added in v0.3.0

func (in *CertManagerStatus) DeepCopy() *CertManagerStatus

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

func (*CertManagerStatus) DeepCopyInto added in v0.3.0

func (in *CertManagerStatus) DeepCopyInto(out *CertManagerStatus)

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

type DNSNetworkSettingsSpec added in v0.3.0

type DNSNetworkSettingsSpec struct {
	// UpstreamServers defines the upstream DNS servers to forward to (default: [ "1.1.1.1", "1.0.0.1" ])
	UpstreamServers []string `json:"upstreamServers,omitempty"`
	// DenyListSources is a list of sources to read deny lists from (default: [ "https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts" ])
	DenyListSources []string `json:"denyListSources,omitempty"`
	// AllowListSources is a list of sources to read allow lists from (default: [ "" ])
	AllowListSources []string `json:"allowListSources,omitempty"`
	// DenyDomains is a list of plain domains to deny. Wildcards are supported. (default: [ "" ])
	DenyDomains []string `json:"denyDomains,omitempty"`
	// AllowDomains is a list of plain domains to allow. Wildcards are supported. (default: [ "" ])
	AllowDomains []string `json:"allowDomains,omitempty"`
}

func (*DNSNetworkSettingsSpec) DeepCopy added in v0.3.0

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

func (*DNSNetworkSettingsSpec) DeepCopyInto added in v0.3.0

func (in *DNSNetworkSettingsSpec) DeepCopyInto(out *DNSNetworkSettingsSpec)

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

type DaemonSpec

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

func (in *DaemonSpec) DeepCopy() *DaemonSpec

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

func (*DaemonSpec) DeepCopyInto

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

type DaemonStatus struct {
	Image      string            `json:"image,omitempty"`
	Tag        string            `json:"tag,omitempty"`
	System     *SystemStatus     `json:"system,omitempty"`
	Kubernetes *KubernetesStatus `json:"kubernetes,omitempty"`
}

func (*DaemonStatus) DeepCopy

func (in *DaemonStatus) DeepCopy() *DaemonStatus

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

func (*DaemonStatus) DeepCopyInto

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

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

type Disk added in v0.1.1

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

	Spec   DiskSpec   `json:"spec,omitempty"`
	Status DiskStatus `json:"status,omitempty"`
}

Disk is the Schema for the apps API

+kubebuilder:printcolumn:name="Alias",type=string,JSONPath=`.spec.alias` +kubebuilder:printcolumn:name="Node",type=string,JSONPath=`.spec.node` +kubebuilder:printcolumn:name="System Disk",type=boolean,JSONPath=`.spec.systemDisk` +kubebuilder:printcolumn:name="Type",type=string,JSONPath=`.spec.type` +kubebuilder:printcolumn:name="Model",type=string,JSONPath=`.spec.details.model` +kubebuilder:printcolumn:name="Device Path",type=string,JSONPath=`.spec.details.devicePath` +kubebuilder:printcolumn:name="Mount Path",type=string,JSONPath=`.spec.details.mountPath`

func (*Disk) DeepCopy added in v0.1.1

func (in *Disk) DeepCopy() *Disk

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

func (*Disk) DeepCopyInto added in v0.1.1

func (in *Disk) DeepCopyInto(out *Disk)

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

func (*Disk) DeepCopyObject added in v0.1.1

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

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

func (Disk) Equal added in v0.1.1

func (d Disk) Equal(other Disk) bool

type DiskDetails added in v0.1.1

type DiskDetails struct {
	// e.g. /dev/sda (keep in mind that this is *not* a stable value)
	DevicePath string `json:"devicePath,omitempty"`
	// e.g. /mnt/my-disk (for Talos: /var/mnt/<alias>)
	MountPath string `json:"mountPath,omitempty"`
	// size in bytes
	Size resource.Quantity `json:"size,omitempty"`

	Model    string   `json:"model,omitempty"`
	Serial   string   `json:"serial,omitempty"`
	Wwid     string   `json:"wwid,omitempty"`
	Uuid     string   `json:"uuid,omitempty"`
	Symlinks []string `json:"symlinks,omitempty"`
}

func (*DiskDetails) DeepCopy added in v0.1.1

func (in *DiskDetails) DeepCopy() *DiskDetails

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

func (*DiskDetails) DeepCopyInto added in v0.1.1

func (in *DiskDetails) DeepCopyInto(out *DiskDetails)

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

type DiskList added in v0.1.1

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

func (*DiskList) DeepCopy added in v0.1.1

func (in *DiskList) DeepCopy() *DiskList

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

func (*DiskList) DeepCopyInto added in v0.1.1

func (in *DiskList) DeepCopyInto(out *DiskList)

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

func (*DiskList) DeepCopyObject added in v0.1.1

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

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

type DiskSpec added in v0.1.1

type DiskSpec struct {
	// A user-specified alias that can be used for display purposes
	Alias string `json:"alias,omitempty"`
	// The node in the cluster the disk is mounted to
	// +required
	Node string `json:"node,omitempty"`
	// valid types: ssd, hdd, nvme
	// +required
	Type string `json:"type,omitempty"`
	// A *stable* id of the disk (e.g. /disk/by-path, wwn, serial)
	// +required
	Identifier string `json:"identifier,omitempty"`
	// whether the operating system is installed to this disk
	// usually do not want to use it also as an application disk
	// +required
	SystemDisk bool `json:"systemDisk"`

	Details DiskDetails `json:"details"`
}

func (*DiskSpec) DeepCopy added in v0.1.1

func (in *DiskSpec) DeepCopy() *DiskSpec

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

func (*DiskSpec) DeepCopyInto added in v0.1.1

func (in *DiskSpec) DeepCopyInto(out *DiskSpec)

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

type DiskStatus added in v0.1.1

type DiskStatus struct {
	Conditions []metav1.Condition `json:"conditions,omitempty"`
}

func (*DiskStatus) DeepCopy added in v0.1.1

func (in *DiskStatus) DeepCopy() *DiskStatus

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

func (*DiskStatus) DeepCopyInto added in v0.1.1

func (in *DiskStatus) DeepCopyInto(out *DiskStatus)

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

type GatewayAPISpec

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

func (in *GatewayAPISpec) DeepCopy() *GatewayAPISpec

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

func (*GatewayAPISpec) DeepCopyInto

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

type GatewayAPIStatus struct {
	Source  string `json:"source,omitempty"`
	Version string `json:"version,omitempty"`
}

func (*GatewayAPIStatus) DeepCopy

func (in *GatewayAPIStatus) DeepCopy() *GatewayAPIStatus

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

func (*GatewayAPIStatus) DeepCopyInto

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

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

type GenericDevicePluginSpec added in v0.2.1

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

func (*GenericDevicePluginSpec) DeepCopy added in v0.2.1

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

func (*GenericDevicePluginSpec) DeepCopyInto added in v0.2.1

func (in *GenericDevicePluginSpec) DeepCopyInto(out *GenericDevicePluginSpec)

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

type GenericDevicePluginStatus added in v0.2.1

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

func (*GenericDevicePluginStatus) DeepCopy added in v0.2.1

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

func (*GenericDevicePluginStatus) DeepCopyInto added in v0.2.1

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

type ImageVersion

type ImageVersion struct {
	Image string
	Tag   string
}

func (*ImageVersion) DeepCopy

func (in *ImageVersion) DeepCopy() *ImageVersion

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

func (*ImageVersion) DeepCopyInto

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

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

+kubebuilder:printcolumn:name="Version",type=string,JSONPath=`.spec.version` +kubebuilder:printcolumn:name="Installed",type=string,JSONPath=`.status.version`

func (*Install) DeepCopy

func (in *Install) DeepCopy() *Install

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

func (*Install) DeepCopyInto

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

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

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

type InstallList

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

func (in *InstallList) DeepCopy() *InstallList

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

func (*InstallList) DeepCopyInto

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

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

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

type InstallSpec

type InstallSpec struct {
	Version             string                   `json:"version"`
	GatewayAPI          *GatewayAPISpec          `json:"gatewayApi,omitempty" yaml:"gatewayApi"`
	Istio               *IstioSpec               `json:"istio,omitempty"`
	CertManager         *CertManagerSpec         `json:"certManager,omitempty" yaml:"certManager"`
	Blocky              *BlockySpec              `json:"blocky,omitempty"`
	GenericDevicePlugin *GenericDevicePluginSpec `json:"genericDevicePlugin,omitempty" yaml:"genericDevicePlugin"`
	MDNS                *MDNSSpec                `json:"mdns,omitempty"`
	Tunnel              *TunnelSpec              `json:"tunnel,omitempty"`
	Operator            *OperatorSpec            `json:"operator,omitempty"`
	Daemon              *DaemonSpec              `json:"daemon,omitempty"`
	Settings            *SettingsSpec            `json:"settings,omitempty"`
}

InstallSpec defines the desired state of Install

func (*InstallSpec) DeepCopy

func (in *InstallSpec) DeepCopy() *InstallSpec

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

func (*InstallSpec) DeepCopyInto

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

type InstallStatus struct {
	Version             string                     `json:"version,omitempty"`
	GatewayAPI          *GatewayAPIStatus          `json:"gatewayApi,omitempty"`
	Istio               *IstioStatus               `json:"istio,omitempty"`
	CertManager         *CertManagerStatus         `json:"certManager,omitempty"`
	Blocky              *BlockyStatus              `json:"blocky,omitempty"`
	GenericDevicePlugin *GenericDevicePluginStatus `json:"genericDevicePlugin,omitempty"`
	MDNS                *MDNSStatus                `json:"mdns,omitempty"`
	Tunnel              *TunnelStatus              `json:"tunnel,omitempty"`
	Operator            *OperatorStatus            `json:"operator,omitempty"`
	Daemon              *DaemonStatus              `json:"daemon,omitempty"`
}

InstallStatus defines the observed state of Install

func (*InstallStatus) DeepCopy

func (in *InstallStatus) DeepCopy() *InstallStatus

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

func (*InstallStatus) DeepCopyInto

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

type IstioSpec struct {
	Disable            bool   `json:"disable,omitempty"`
	Namespace          string `json:"namespace,omitempty"`
	Source             string `json:"source,omitempty"`
	Version            string `json:"version,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

func (in *IstioSpec) DeepCopy() *IstioSpec

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

func (*IstioSpec) DeepCopyInto

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

type IstioStatus struct {
	Source  string `json:"source,omitempty"`
	Version string `json:"version,omitempty"`
}

func (*IstioStatus) DeepCopy

func (in *IstioStatus) DeepCopy() *IstioStatus

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

func (*IstioStatus) DeepCopyInto

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

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

func (*IstiodSpec) DeepCopy

func (in *IstiodSpec) DeepCopy() *IstiodSpec

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

func (*IstiodSpec) DeepCopyInto

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

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

func (in *KubernetesSpec) DeepCopy() *KubernetesSpec

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

func (*KubernetesSpec) DeepCopyInto

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

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

type KubernetesStatus

type KubernetesStatus struct {
	Version string `json:"version,omitempty"`
}

func (*KubernetesStatus) DeepCopy

func (in *KubernetesStatus) DeepCopy() *KubernetesStatus

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

func (*KubernetesStatus) DeepCopyInto

func (in *KubernetesStatus) DeepCopyInto(out *KubernetesStatus)

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

type MDNSSpec

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

func (*MDNSSpec) DeepCopy

func (in *MDNSSpec) DeepCopy() *MDNSSpec

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

func (*MDNSSpec) DeepCopyInto

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

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

func (*MDNSStatus) DeepCopy

func (in *MDNSStatus) DeepCopy() *MDNSStatus

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

func (*MDNSStatus) DeepCopyInto

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

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

type NetworkSettingsSpec added in v0.3.0

type NetworkSettingsSpec struct {
	// Domain defines the domain of install. For example, `my-custom-domain.com` (default: "home-cloud.local")
	Domain string `json:"domain,omitempty"`

	DNS DNSNetworkSettingsSpec `json:"dnsNetworkSettingsSpec,omitempty"`
}

func (*NetworkSettingsSpec) DeepCopy added in v0.3.0

func (in *NetworkSettingsSpec) DeepCopy() *NetworkSettingsSpec

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

func (*NetworkSettingsSpec) DeepCopyInto added in v0.3.0

func (in *NetworkSettingsSpec) DeepCopyInto(out *NetworkSettingsSpec)

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

type OperatorSpec

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

func (*OperatorSpec) DeepCopy

func (in *OperatorSpec) DeepCopy() *OperatorSpec

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

func (*OperatorSpec) DeepCopyInto

func (in *OperatorSpec) DeepCopyInto(out *OperatorSpec)

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

type OperatorStatus

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

func (*OperatorStatus) DeepCopy

func (in *OperatorStatus) DeepCopy() *OperatorStatus

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

func (*OperatorStatus) DeepCopyInto

func (in *OperatorStatus) DeepCopyInto(out *OperatorStatus)

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

type PeerSpec

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

func (in *PeerSpec) DeepCopy() *PeerSpec

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

func (*PeerSpec) DeepCopyInto

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

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

func (in *SecretReference) DeepCopy() *SecretReference

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

func (*SecretReference) DeepCopyInto

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

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

type SettingsSpec

type SettingsSpec struct {
	// AutoUpdateApps (default: true)
	AutoUpdateApps bool `json:"autoUpdateApps,omitempty"`
	// AutoUpdateSystem (default: true)
	AutoUpdateSystem bool `json:"autoUpdateSystem,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"`
	// AutoUpdateSystemSchedule is a cron string that defines the freqency with which the server
	// will automatically update system components: e.g. (default: "0 1 * * *")
	//
	// You must restart the server after changing this value for it to take
	// effect if updating the Kuberenetes resource directly.
	AutoUpdateSystemSchedule string `json:"autoUpdateSystemSchedule,omitempty"`
	// StorageApps are apps designated as apps responsible for managing all application storage.
	// Functionally this means these apps will be provided with PV/PVCs for all application disks.
	// This is provided through the `homeCloud.disks` entry in the Helm values for the App which
	// should be parsed into volume/volumeMounts.
	//
	// For example:
	//
	//   containers:
	//     - name: some_app
	//       ...
	//       volumeMounts:
	//         {{- range .Values.homeCloud.disks }}
	//         - mountPath: {{ printf "/some_path/%s" .name }}
	//           name: {{ .name }}
	//         {{- end }}
	//   volumes:
	//     {{- range .Values.homeCloud.disks }}
	//     - name: {{ .name }}
	//       persistentVolumeClaim:
	//         claimName: {{ .claimName }}
	//     {{- end }}
	StorageApps []string `json:"storageApps,omitempty"`

	Network NetworkSettingsSpec `json:"networkSettingsSpec,omitempty"`
}

func (*SettingsSpec) DeepCopy

func (in *SettingsSpec) DeepCopy() *SettingsSpec

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

func (*SettingsSpec) DeepCopyInto

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

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

func (in *SystemSpec) DeepCopy() *SystemSpec

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

func (*SystemSpec) DeepCopyInto

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

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

type SystemStatus

type SystemStatus struct {
	Source  string `json:"repo,omitempty"`
	Version string `json:"version,omitempty"`
}

func (*SystemStatus) DeepCopy

func (in *SystemStatus) DeepCopy() *SystemStatus

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

func (*SystemStatus) DeepCopyInto

func (in *SystemStatus) DeepCopyInto(out *SystemStatus)

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

type TunnelSpec

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

func (*TunnelSpec) DeepCopy

func (in *TunnelSpec) DeepCopy() *TunnelSpec

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

func (*TunnelSpec) DeepCopyInto

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

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

func (*TunnelStatus) DeepCopy

func (in *TunnelStatus) DeepCopy() *TunnelStatus

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

func (*TunnelStatus) DeepCopyInto

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

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

func (in *Wireguard) DeepCopy() *Wireguard

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

func (*Wireguard) DeepCopyInto

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

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

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

type WireguardList

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

func (in *WireguardList) DeepCopy() *WireguardList

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

func (*WireguardList) DeepCopyInto

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

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

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

type WireguardSpec

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

func (in *WireguardSpec) DeepCopy() *WireguardSpec

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

func (*WireguardSpec) DeepCopyInto

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

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

func (in *WireguardStatus) DeepCopy() *WireguardStatus

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

func (*WireguardStatus) DeepCopyInto

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

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

func (*ZtunnelSpec) DeepCopy

func (in *ZtunnelSpec) DeepCopy() *ZtunnelSpec

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

func (*ZtunnelSpec) DeepCopyInto

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