v1alpha1

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DeviceStateUnknown     DeviceState = "unknown"
	DeviceStateStarting    DeviceState = "starting"
	DeviceStateRunning     DeviceState = "running"
	DeviceStateError       DeviceState = "error"
	DeviceStateExited      DeviceState = "exited"
	DeviceStateTerminating DeviceState = "terminating"
	DeviceModeServer       DeviceMode  = "server"
	DeviceModeAgent        DeviceMode  = "agent"
)
View Source
const (
	NetworkInterfaceTypeEther NetworkInterfaceType = "ether"
	NetworkInterfaceTypeWifi  NetworkInterfaceType = "wifi"
	WifiModeDisabled          WifiMode             = "disabled"
	WifiModeStation           WifiMode             = "station"
	WifiModeAccessPoint       WifiMode             = "accesspoint"
)
View Source
const (
	AccessPointPasswordKey = "accesspoint"
	SSIDAnnotation         = "ssid"
)
View Source
const (
	AdminUserAccount = "admin"
)
View Source
const (
	NodeDrainAnnotation = "kubemate.mgoltzsche.github.com/drain"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects.
	GroupVersion = schema.GroupVersion{Group: "kubemate.mgoltzsche.github.com", Version: "v1alpha1"}
)

Functions

func AddToScheme

func AddToScheme(s *runtime.Scheme) error

Types

type Certificate

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

	Spec CertificateSpec `json:"spec"`
}

Certificate is the Schema for the certificate API. +k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*Certificate) DeepCopy

func (in *Certificate) DeepCopy() *Certificate

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

func (*Certificate) DeepCopyInto

func (in *Certificate) DeepCopyInto(out *Certificate)

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

func (*Certificate) DeepCopyIntoResource

func (in *Certificate) DeepCopyIntoResource(res resource.Resource) error

func (*Certificate) DeepCopyObject

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

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

func (*Certificate) GetGroupVersionResource

func (in *Certificate) GetGroupVersionResource() schema.GroupVersionResource

func (*Certificate) GetSingularName

func (in *Certificate) GetSingularName() string

func (*Certificate) New

func (in *Certificate) New() resource.Resource

func (*Certificate) NewList

func (in *Certificate) NewList() runtime.Object

type CertificateList

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

CertificateList contains a list of Certificate resources. +k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*CertificateList) DeepCopy

func (in *CertificateList) DeepCopy() *CertificateList

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

func (*CertificateList) DeepCopyInto

func (in *CertificateList) DeepCopyInto(out *CertificateList)

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

func (*CertificateList) DeepCopyObject

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

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

type CertificateSpec

type CertificateSpec struct {
	CACert string `json:"caCert,omitempty"`
}

CertificateSpec defines a certificate. +k8s:openapi-gen=true

type Device

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

	Spec   DeviceSpec   `json:"spec"`
	Status DeviceStatus `json:"status"`
}

Device is the Schema for the devices API +k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*Device) DeepCopy

func (in *Device) DeepCopy() *Device

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

func (*Device) DeepCopyInto

func (in *Device) DeepCopyInto(out *Device)

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

func (*Device) DeepCopyIntoResource

func (in *Device) DeepCopyIntoResource(res resource.Resource) error

func (*Device) DeepCopyObject

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

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

func (*Device) GetGroupVersionResource

func (in *Device) GetGroupVersionResource() schema.GroupVersionResource

func (*Device) GetSingularName

func (in *Device) GetSingularName() string

func (*Device) GetStatus

func (in *Device) GetStatus() resource.SubResource

func (*Device) New

func (in *Device) New() resource.Resource

func (*Device) NewList

func (in *Device) NewList() runtime.Object

type DeviceDiscovery

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

	Spec DeviceDiscoverySpec `json:"spec"`
}

DeviceDiscovery is the Schema for the device discovery API. +k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*DeviceDiscovery) DeepCopy

func (in *DeviceDiscovery) DeepCopy() *DeviceDiscovery

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

func (*DeviceDiscovery) DeepCopyInto

func (in *DeviceDiscovery) DeepCopyInto(out *DeviceDiscovery)

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

func (*DeviceDiscovery) DeepCopyIntoResource

func (in *DeviceDiscovery) DeepCopyIntoResource(res resource.Resource) error

func (*DeviceDiscovery) DeepCopyObject

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

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

func (*DeviceDiscovery) GetGroupVersionResource

func (in *DeviceDiscovery) GetGroupVersionResource() schema.GroupVersionResource

func (*DeviceDiscovery) GetSingularName

func (in *DeviceDiscovery) GetSingularName() string

func (*DeviceDiscovery) New

func (in *DeviceDiscovery) New() resource.Resource

func (*DeviceDiscovery) NewList

func (in *DeviceDiscovery) NewList() runtime.Object

type DeviceDiscoveryList

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

DeviceDiscoveryList defines a list of discovered devices. +k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*DeviceDiscoveryList) DeepCopy

func (in *DeviceDiscoveryList) DeepCopy() *DeviceDiscoveryList

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

func (*DeviceDiscoveryList) DeepCopyInto

func (in *DeviceDiscoveryList) DeepCopyInto(out *DeviceDiscoveryList)

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

func (*DeviceDiscoveryList) DeepCopyObject

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

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

type DeviceDiscoverySpec

type DeviceDiscoverySpec struct {
	Mode    DeviceMode `json:"mode"`
	Server  string     `json:"server,omitempty"`
	Address string     `json:"address"`
	Current bool       `json:"current,omitempty"`
}

DeviceDiscoverySpec provides information about the discovered device. +k8s:openapi-gen=true

type DeviceList

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

DeviceList contains a list of Device resources. +k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*DeviceList) DeepCopy

func (in *DeviceList) DeepCopy() *DeviceList

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

func (*DeviceList) DeepCopyInto

func (in *DeviceList) DeepCopyInto(out *DeviceList)

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

func (*DeviceList) DeepCopyObject

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

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

type DeviceMode

type DeviceMode string

DeviceMode specifies the operating mode of a device. +enum

type DeviceSpec

type DeviceSpec struct {
	Mode          DeviceMode `json:"mode"`
	ServerAddress string     `json:"serverAddress,omitempty"`
	JoinTokenName string     `json:"joinTokenName,omitempty"`
}

DeviceSpec defines the desired state of the Device. +k8s:openapi-gen=true

type DeviceState

type DeviceState string

DeviceState specifies the state of a device. +enum

type DeviceStatus

type DeviceStatus struct {
	Generation  int64       `json:"generation,omitempty"`
	Current     bool        `json:"current"`
	State       DeviceState `json:"state,omitempty"`
	Message     string      `json:"message,omitempty"`
	Address     string      `json:"address,omitempty"`
	JoinAddress string      `json:"joinAddress,omitempty"`
	// TODO: add ips (currently this makes the code generation fail):
	//IPs []string `json:"ips,omitempty"`
	DNSServer ProcessStatus `json:"dnsServer"`
}

DeviceStatus defines the observed state of the Device. +k8s:openapi-gen=true

type DeviceToken

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

	Data   DeviceTokenData   `json:"data"`
	Status DeviceTokenStatus `json:"status,omitempty"`
}

DeviceToken is the schema for cluster join tokens within the devices API. +k8s:openapi-gen=true

func (*DeviceToken) DeepCopy

func (in *DeviceToken) DeepCopy() *DeviceToken

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

func (*DeviceToken) DeepCopyInto

func (in *DeviceToken) DeepCopyInto(out *DeviceToken)

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

func (*DeviceToken) DeepCopyIntoResource

func (in *DeviceToken) DeepCopyIntoResource(res resource.Resource) error

func (*DeviceToken) DeepCopyObject

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

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

func (*DeviceToken) GetGroupVersionResource

func (in *DeviceToken) GetGroupVersionResource() schema.GroupVersionResource

func (*DeviceToken) GetSingularName

func (in *DeviceToken) GetSingularName() string

func (*DeviceToken) New

func (in *DeviceToken) New() resource.Resource

func (*DeviceToken) NewList

func (in *DeviceToken) NewList() runtime.Object

type DeviceTokenData

type DeviceTokenData struct {
	Token string `json:"token"`
}

DeviceTokenData specifies the device token. +k8s:openapi-gen=true

type DeviceTokenList

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

DeviceTokenList contains a list of DeviceToken resources. +k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*DeviceTokenList) DeepCopy

func (in *DeviceTokenList) DeepCopy() *DeviceTokenList

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

func (*DeviceTokenList) DeepCopyInto

func (in *DeviceTokenList) DeepCopyInto(out *DeviceTokenList)

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

func (*DeviceTokenList) DeepCopyObject

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

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

type DeviceTokenStatus

type DeviceTokenStatus struct {
	JoinToken string `json:"joinToken,omitempty"`
}

DeviceTokenStatus provides the server's join token. +k8s:openapi-gen=true

type NetworkInterface

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

	Spec   NetworkInterfaceSpec   `json:"spec"`
	Status NetworkInterfaceStatus `json:"status"`
}

NetworkInterface is the Schema for the network interface API. +k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*NetworkInterface) DeepCopy

func (in *NetworkInterface) DeepCopy() *NetworkInterface

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

func (*NetworkInterface) DeepCopyInto

func (in *NetworkInterface) DeepCopyInto(out *NetworkInterface)

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

func (*NetworkInterface) DeepCopyIntoResource

func (in *NetworkInterface) DeepCopyIntoResource(res resource.Resource) error

func (*NetworkInterface) DeepCopyObject

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

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

func (*NetworkInterface) GetGroupVersionResource

func (in *NetworkInterface) GetGroupVersionResource() schema.GroupVersionResource

func (*NetworkInterface) GetSingularName

func (in *NetworkInterface) GetSingularName() string

func (*NetworkInterface) GetStatus

func (in *NetworkInterface) GetStatus() resource.SubResource

func (*NetworkInterface) New

func (*NetworkInterface) NewList

func (in *NetworkInterface) NewList() runtime.Object

type NetworkInterfaceList

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

NetworkInterfaceList contains a list of network interfaces. +k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*NetworkInterfaceList) DeepCopy

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

func (*NetworkInterfaceList) DeepCopyInto

func (in *NetworkInterfaceList) DeepCopyInto(out *NetworkInterfaceList)

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

func (*NetworkInterfaceList) DeepCopyObject

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

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

type NetworkInterfaceSpec

type NetworkInterfaceSpec struct {
	Wifi WifiSpec `json:"wifi,omitempty"`
}

NetworkInterfaceSpec defines the network interface configuration. +k8s:openapi-gen=true

type NetworkInterfaceStatus

type NetworkInterfaceStatus struct {
	Link  NetworkLinkStatus `json:"link,omitempty"`
	Error string            `json:"error,omitempty"`
}

NetworkInterfaceStatus defines the observed state of the network interface. +k8s:openapi-gen=true

type NetworkInterfaceType

type NetworkInterfaceType string

NetworkInterfaceType specifies the type of a network interface. +enum

type NetworkLinkStatus

type NetworkLinkStatus struct {
	Index int                  `json:"index,omitempty"`
	Type  NetworkInterfaceType `json:"type,omitempty"`
	Up    bool                 `json:"up"`
	MAC   string               `json:"mac,omitempty"`
	IP4   string               `json:"ip4,omitempty"`
	Error string               `json:"error,omitempty"`
}

NetworkLinkStatus defines the observed state of the network link. +k8s:openapi-gen=true

type ProcessStatus

type ProcessStatus struct {
	Running      bool `json:"running"`
	RestartCount int  `json:"restartCount,omitempty"`
}

ProcessStatus defines the status of a process. +k8s:openapi-gen=true

type UserAccount

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

	Data UserAccountData `json:"data"`
}

UserAccount is the schema for UserAccount resources. +k8s:openapi-gen=true

func (*UserAccount) DeepCopy

func (in *UserAccount) DeepCopy() *UserAccount

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

func (*UserAccount) DeepCopyInto

func (in *UserAccount) DeepCopyInto(out *UserAccount)

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

func (*UserAccount) DeepCopyIntoResource

func (in *UserAccount) DeepCopyIntoResource(res resource.Resource) error

func (*UserAccount) DeepCopyObject

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

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

func (*UserAccount) GetGroupVersionResource

func (in *UserAccount) GetGroupVersionResource() schema.GroupVersionResource

func (*UserAccount) GetSingularName

func (in *UserAccount) GetSingularName() string

func (*UserAccount) New

func (in *UserAccount) New() resource.Resource

func (*UserAccount) NewList

func (in *UserAccount) NewList() runtime.Object

type UserAccountData

type UserAccountData struct {
	// PasswordString allows to submit a new password in plain text to make the server bcrypt-encode it.
	PasswordString string `json:"passwordString,omitempty"`
	// Password holds the bcrypt-encoded password.
	Password string `json:"password,omitempty"`
}

UserAccountData specifies the user account. +k8s:openapi-gen=true

type UserAccountList

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

UserAccountList contains a list of UserAccount resources. +k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*UserAccountList) DeepCopy

func (in *UserAccountList) DeepCopy() *UserAccountList

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

func (*UserAccountList) DeepCopyInto

func (in *UserAccountList) DeepCopyInto(out *UserAccountList)

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

func (*UserAccountList) DeepCopyObject

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

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

type WifiAccessPointSpec

type WifiAccessPointSpec struct {
	SSID string `json:'"ssid,omitempty"`
}

WifiAccessPointSpec defines the wifi access point configuration. +k8s:openapi-gen=true

type WifiMode

type WifiMode string

WifiMode specifies the operating mode of the wifi device. +enum

type WifiNetwork

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

	Data WifiNetworkData `json:"data"`
}

WifiNetwork is the Schema for the wifi network discovery API. +k8s:openapi-gen=true

func (*WifiNetwork) DeepCopy

func (in *WifiNetwork) DeepCopy() *WifiNetwork

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

func (*WifiNetwork) DeepCopyInto

func (in *WifiNetwork) DeepCopyInto(out *WifiNetwork)

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

func (*WifiNetwork) DeepCopyIntoResource

func (in *WifiNetwork) DeepCopyIntoResource(res resource.Resource) error

func (*WifiNetwork) DeepCopyObject

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

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

func (*WifiNetwork) GetGroupVersionResource

func (in *WifiNetwork) GetGroupVersionResource() schema.GroupVersionResource

func (*WifiNetwork) GetSingularName

func (in *WifiNetwork) GetSingularName() string

func (*WifiNetwork) New

func (in *WifiNetwork) New() resource.Resource

func (*WifiNetwork) NewList

func (in *WifiNetwork) NewList() runtime.Object

type WifiNetworkData

type WifiNetworkData struct {
	SSID string `json:"ssid"`
}

WifiNetworkData provides the wifi network details. +k8s:openapi-gen=true

type WifiNetworkList

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

WifiNetworkList contains a list of WifiNetwork resources. +k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*WifiNetworkList) DeepCopy

func (in *WifiNetworkList) DeepCopy() *WifiNetworkList

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

func (*WifiNetworkList) DeepCopyInto

func (in *WifiNetworkList) DeepCopyInto(out *WifiNetworkList)

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

func (*WifiNetworkList) DeepCopyObject

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

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

type WifiPassword

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

	Data WifiPasswordData `json:"data"`
}

WifiPassword is the Schema for the wifi key API. +k8s:openapi-gen=true

func (*WifiPassword) DeepCopy

func (in *WifiPassword) DeepCopy() *WifiPassword

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

func (*WifiPassword) DeepCopyInto

func (in *WifiPassword) DeepCopyInto(out *WifiPassword)

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

func (*WifiPassword) DeepCopyIntoResource

func (in *WifiPassword) DeepCopyIntoResource(res resource.Resource) error

func (*WifiPassword) DeepCopyObject

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

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

func (*WifiPassword) GetGroupVersionResource

func (in *WifiPassword) GetGroupVersionResource() schema.GroupVersionResource

func (*WifiPassword) GetSingularName

func (in *WifiPassword) GetSingularName() string

func (*WifiPassword) New

func (in *WifiPassword) New() resource.Resource

func (*WifiPassword) NewList

func (in *WifiPassword) NewList() runtime.Object

type WifiPasswordData

type WifiPasswordData struct {
	Password string `json:"password"`
}

+k8s:openapi-gen=true WifiPasswordData defines the wifi password data.

type WifiPasswordList

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

WifiPasswordList contains a list of WifiPassword resources. +k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*WifiPasswordList) DeepCopy

func (in *WifiPasswordList) DeepCopy() *WifiPasswordList

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

func (*WifiPasswordList) DeepCopyInto

func (in *WifiPasswordList) DeepCopyInto(out *WifiPasswordList)

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

func (*WifiPasswordList) DeepCopyObject

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

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

type WifiSpec

type WifiSpec struct {
	Mode        WifiMode            `json:"mode"`
	CountryCode string              `json:"countryCode,omitempty"`
	Station     WifiStationSpec     `json:"station"`
	AccessPoint WifiAccessPointSpec `json:"accessPoint"`
}

WifiSpec defines the wifi configuration for the device. +k8s:openapi-gen=true

type WifiStationSpec

type WifiStationSpec struct {
	SSID string `json:'"ssid,omitempty"`
}

WifiStationSpec defines the wifi client configuration. +k8s:openapi-gen=true

Jump to

Keyboard shortcuts

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