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 GlobVPNSpec
- type GlobalVPN
- func (in *GlobalVPN) DeepCopy() *GlobalVPN
- func (in *GlobalVPN) DeepCopyInto(out *GlobalVPN)
- func (in *GlobalVPN) DeepCopyObject() runtime.Object
- func (d *GlobalVPN) EnsureGVK()
- func (d *GlobalVPN) GetEnsuredAnnotations() map[string]string
- func (d *GlobalVPN) GetEnsuredLabels() map[string]string
- func (d *GlobalVPN) GetStatus() *rApi.Status
- type GlobalVPNList
- type Peer
- type Port
- type WgParams
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 GlobVPNSpec ¶ added in v1.1.0
type GlobVPNSpec struct { // This secret is unmarshalled into WgParams WgRef ct.SecretRef `json:"wg"` WgInterface *string `json:"wgInterface"` Peers []Peer `json:"peers,omitempty"` GatewayResources *corev1.ResourceRequirements `json:"gatewayResources,omitempty"` AgentsResources *corev1.ResourceRequirements `json:"agentsResources,omitempty"` }
ConnectionSpec defines the desired state of Connect
func (*GlobVPNSpec) DeepCopy ¶ added in v1.1.0
func (in *GlobVPNSpec) DeepCopy() *GlobVPNSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobVPNSpec.
func (*GlobVPNSpec) DeepCopyInto ¶ added in v1.1.0
func (in *GlobVPNSpec) DeepCopyInto(out *GlobVPNSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GlobalVPN ¶ added in v1.1.0
type GlobalVPN struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec GlobVPNSpec `json:"spec,omitempty"` Status rApi.Status `json:"status,omitempty" graphql:"noinput"` }
+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster +kubebuilder:printcolumn:JSONPath=".status.lastReconcileTime",name=Seen,type=date +kubebuilder:printcolumn:JSONPath=".metadata.annotations.kloudlite\\.io\\/operator\\.checks",name=Checks,type=string +kubebuilder:printcolumn:JSONPath=".metadata.annotations.kloudlite\\.io\\/operator\\.resource\\.ready",name=Ready,type=string +kubebuilder:printcolumn:JSONPath=".metadata.creationTimestamp",name=Age,type=date GlobalVPN is the Schema for the connects API
func (*GlobalVPN) DeepCopy ¶ added in v1.1.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalVPN.
func (*GlobalVPN) DeepCopyInto ¶ added in v1.1.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GlobalVPN) DeepCopyObject ¶ added in v1.1.0
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*GlobalVPN) GetEnsuredAnnotations ¶ added in v1.1.0
func (*GlobalVPN) GetEnsuredLabels ¶ added in v1.1.0
type GlobalVPNList ¶ added in v1.1.0
type GlobalVPNList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []GlobalVPN `json:"items"` }
GlobalVPNList contains a list of Connect
func (*GlobalVPNList) DeepCopy ¶ added in v1.1.0
func (in *GlobalVPNList) DeepCopy() *GlobalVPNList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalVPNList.
func (*GlobalVPNList) DeepCopyInto ¶ added in v1.1.0
func (in *GlobalVPNList) DeepCopyInto(out *GlobalVPNList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GlobalVPNList) DeepCopyObject ¶ added in v1.1.0
func (in *GlobalVPNList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Peer ¶ added in v1.1.0
type Peer struct { PublicKey string `json:"publicKey"` Endpoint string `json:"endpoint"` IP string `json:"ip"` Port int `json:"port"` ClusterName string `json:"clusterName,omitempty"` DeviceName string `json:"deviceName,omitempty"` AllowedIPs []string `json:"allowedIPs,omitempty"` }
func (*Peer) DeepCopy ¶ added in v1.1.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Peer.
func (*Peer) DeepCopyInto ¶ added in v1.1.0
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.
type WgParams ¶ added in v1.1.0
type WgParams struct { WgPrivateKey string `json:"wg_private_key"` WgPublicKey string `json:"wg_public_key"` IP string `json:"ip"` DNSServer *string `json:"dnsServer"` PublicGatewayHosts *string `json:"publicGatewayHosts,omitempty"` PublicGatewayPort *string `json:"publicGatewayPort,omitempty"` VirtualCidr string `json:"virtualCidr"` }
func (*WgParams) DeepCopy ¶ added in v1.1.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WgParams.
func (*WgParams) DeepCopyInto ¶ added in v1.1.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.