Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the wireguard v1 API group +kubebuilder:object:generate=true +groupName=wireguard.kloudlite.io
Index ¶
- Variables
- type CNameRecord
- type Device
- func (in *Device) DeepCopy() *Device
- func (in *Device) DeepCopyInto(out *Device)
- func (in *Device) DeepCopyObject() runtime.Object
- func (d *Device) EnsureGVK()
- func (d *Device) GetEnsuredAnnotations() map[string]string
- func (d *Device) GetEnsuredLabels() map[string]string
- func (d *Device) GetStatus() *rApi.Status
- type DeviceList
- type DeviceSpec
- type Port
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "wireguard.kloudlite.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 CNameRecord ¶
type CNameRecord struct { Host string `json:"host,omitempty"` Target string `json:"target,omitempty"` }
func (*CNameRecord) DeepCopy ¶
func (in *CNameRecord) DeepCopy() *CNameRecord
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CNameRecord.
func (*CNameRecord) DeepCopyInto ¶
func (in *CNameRecord) DeepCopyInto(out *CNameRecord)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Device ¶
type Device struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DeviceSpec `json:"spec,omitempty"` Status rApi.Status `json:"status,omitempty" graphql:"noinput"` }
Device is the Schema for the devices API
func (*Device) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Device.
func (*Device) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Device) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Device) GetEnsuredAnnotations ¶
func (*Device) GetEnsuredLabels ¶
type DeviceList ¶
type DeviceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Device `json:"items"` }
DeviceList contains a list of Device
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 DeviceSpec ¶
type DeviceSpec struct { Ports []Port `json:"ports,omitempty"` ActiveNamespace *string `json:"activeNamespace,omitempty"` CNameRecords []CNameRecord `json:"cnameRecords,omitempty"` NodeSelector map[string]string `json:"nodeSelector,omitempty" graphql:"noinput"` Disabled bool `json:"disabled,omitempty" graphql:"noinput"` NoExternalService bool `json:"noExternalService,omitempty" graphql:"noinput"` }
DeviceSpec defines the desired state of Device
func (*DeviceSpec) DeepCopy ¶
func (in *DeviceSpec) DeepCopy() *DeviceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceSpec.
func (*DeviceSpec) DeepCopyInto ¶
func (in *DeviceSpec) DeepCopyInto(out *DeviceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Port ¶
type Port struct { Port int32 `json:"port,omitempty"` TargetPort int32 `json:"targetPort,omitempty"` }
func (*Port) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Port.
func (*Port) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.