Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the vpn v1alpha1 API group +kubebuilder:object:generate=true +groupName=vpn.ahova.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "vpn.ahova.com", Version: "v1alpha1"} // 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 Wireguard ¶
type Wireguard struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec WireguardSpec `json:"spec,omitempty"` Status WireguardStatus `json:"status,omitempty"` }
WireguardPeer is the Schema for the wireguardpeers API
func (*Wireguard) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Wireguard.
func (*Wireguard) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Wireguard) DeepCopyObject ¶
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"` }
WireguardPeerList contains a list of Wireguard Peer
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 WireguardPeer ¶
type WireguardPeer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec WireguardPeerSpec `json:"spec,omitempty"` Status WireguardPeerStatus `json:"status,omitempty"` }
WireguardPeer is the Schema for the wireguardpeers API
func (*WireguardPeer) DeepCopy ¶
func (in *WireguardPeer) DeepCopy() *WireguardPeer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WireguardPeer.
func (*WireguardPeer) DeepCopyInto ¶
func (in *WireguardPeer) DeepCopyInto(out *WireguardPeer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WireguardPeer) DeepCopyObject ¶
func (in *WireguardPeer) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WireguardPeerList ¶
type WireguardPeerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []WireguardPeer `json:"items"` }
WireguardPeerList contains a list of Wireguard Peer
func (*WireguardPeerList) DeepCopy ¶
func (in *WireguardPeerList) DeepCopy() *WireguardPeerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WireguardPeerList.
func (*WireguardPeerList) DeepCopyInto ¶
func (in *WireguardPeerList) DeepCopyInto(out *WireguardPeerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WireguardPeerList) DeepCopyObject ¶
func (in *WireguardPeerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WireguardPeerSpec ¶
type WireguardPeerSpec struct { // Reference to the wireguard resource WireguardRef string `json:"wireguardRef,omitempty"` Address `json:"address,omitempty"` // Public key of the peer PublicKey *string `json:"publicKey,omitempty"` }
WireguardPeerSpec defines the desired state of Wireguard
func (*WireguardPeerSpec) DeepCopy ¶
func (in *WireguardPeerSpec) DeepCopy() *WireguardPeerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WireguardPeerSpec.
func (*WireguardPeerSpec) DeepCopyInto ¶
func (in *WireguardPeerSpec) DeepCopyInto(out *WireguardPeerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WireguardPeerStatus ¶
type WireguardPeerStatus struct {
PublicKey *string `json:"publicKey,omitempty"`
}
func (*WireguardPeerStatus) DeepCopy ¶
func (in *WireguardPeerStatus) DeepCopy() *WireguardPeerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WireguardPeerStatus.
func (*WireguardPeerStatus) DeepCopyInto ¶
func (in *WireguardPeerStatus) DeepCopyInto(out *WireguardPeerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WireguardSpec ¶
type WireguardSpec struct { // Replicas defines the number of Wireguard instances Replicas int32 `json:"replicas,omitempty"` // Type of the service to be created ServiceType corev1.ServiceType `json:"serviceType,omitempty"` // Public address to the wireguard network EndpointAddress *string `json:"endpointAddress,omitempty"` // IP addresses allowed to be routed AllowedIPs string `json:"allowedIPs,omitempty"` // Address space to use Address `json:"address,omitempty"` // DNS configuration for peer DNS string `json:"dns,omitempty"` // Do not allow connections from peer to DropConnectionsTo IP addresses DropConnectionsTo []string `json:"dropConnectionsTo,omitempty"` // Sidecar containers to run Sidecars []corev1.Container `json:"sidecars,omitempty"` // Affinity configuration Affinity *corev1.Affinity `json:"affinity,omitempty"` // Annotations for the service resource ServiceAnnotations map[string]string `json:"serviceAnnotations,omitempty"` // Extra labels for all resources created Labels map[string]string `json:"labels,omitempty"` }
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 { PublicKey *string `json:"publicKey,omitempty"` Endpoint *string `json:"endpoint,omitempty"` }
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.