Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeBuilder initializes a scheme builder SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme is a global function that registers this API group & version to a scheme AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: networking.GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type VPNPeer ¶
type VPNPeer struct { // TypeMeta is the metadata for the resource, like kind and apiversion metav1.TypeMeta `json:",inline"` // ObjectMeta contains the metadata for the particular object, including metav1.ObjectMeta `json:"metadata,omitempty"` // Spec is the vpnpeer resource spec Spec VPNPeerSpec `json:"spec"` }
VPNPeer describes a WireGuard peer
func (*VPNPeer) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPNPeer.
func (*VPNPeer) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VPNPeer) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VPNPeerList ¶
type VPNPeerList struct { // TypeMeta is the metadata for the resource, like kind and apiversion metav1.TypeMeta `json:",inline"` // ObjectMeta contains the metadata for the particular object, including metav1.ListMeta `json:"metadata"` // VPNPeerList is a list of VPNPeer resources thus, VPNPeers are contained here. Items []VPNPeer `json:"items"` }
VPNPeerList is a list of VPNPeer resources
func (*VPNPeerList) DeepCopy ¶
func (in *VPNPeerList) DeepCopy() *VPNPeerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPNPeerList.
func (*VPNPeerList) DeepCopyInto ¶
func (in *VPNPeerList) DeepCopyInto(out *VPNPeerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VPNPeerList) DeepCopyObject ¶
func (in *VPNPeerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VPNPeerSpec ¶
type VPNPeerSpec struct { // IPv4 address of VPN peer. AddressV4 string `json:"addressV4"` // IPv6 address of VPN peer. AddressV6 string `json:"addressV6"` // Endpoint address of the VPN tunnel. EndpointAddress *string `json:"endpointAddress"` // Endpoint port of the VPN tunnel. EndpointPort *int `json:"endpointPort"` // VPN public key of the peer. PublicKey string `json:"publicKey"` }
VPNPeerSpec is the spec for a VPNPeer resource
func (*VPNPeerSpec) DeepCopy ¶
func (in *VPNPeerSpec) DeepCopy() *VPNPeerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPNPeerSpec.
func (*VPNPeerSpec) DeepCopyInto ¶
func (in *VPNPeerSpec) DeepCopyInto(out *VPNPeerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.