Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API.
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: network.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 Connection ¶
type Connection struct { Name string `json:"name"` Left string `json:"left"` LeftSubnet string `json:"leftsubnet"` Right string `json:"right"` RightSubnet string `json:"rightsubnet"` PSK string `json:"psk"` LeftID string `json:"leftid,omitempty"` RightID string `json:"rightid,omitempty"` IsServiceSubnet bool `json:"isservicesubnet,omitempty"` Keyexchange string `json:"keyexchange,omitempty"` IKELifetime string `json:"ikelifetime,omitempty"` Lifetime string `json:"lifetime,omitempty"` IKE string `json:"ike,omitempty"` ESP string `json:"esp,omitempty"` Also string `json:"also,omitempty"` }
func (*Connection) DeepCopy ¶
func (in *Connection) DeepCopy() *Connection
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Connection.
func (*Connection) DeepCopyInto ¶
func (in *Connection) DeepCopyInto(out *Connection)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VPN ¶
type VPN struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VPNSpec `json:"spec,omitempty"` Status VPNStatus `json:"status,omitempty"` }
VPN is the Schema for the vpns API
func (*VPN) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPN.
func (*VPN) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VPN) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VPNList ¶
type VPNList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []VPN `json:"items"` }
VPNList contains a list of VPN
func (*VPNList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPNList.
func (*VPNList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VPNList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VPNSpec ¶
type VPNSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Connections []Connection `json:"connections"` NodeName string `json:"nodename,omitempty"` }
VPNSpec defines the desired state of VPN
func (*VPNSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPNSpec.
func (*VPNSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VPNStatus ¶
type VPNStatus struct { }
VPNStatus defines the observed state of VPN
func (*VPNStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPNStatus.
func (*VPNStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.