Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the networking v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/awslabs/aws-vpn-controller/pkg/apis/networking +k8s:defaulter-gen=TypeMeta +groupName=networking.amazonaws.com
Package v1alpha1 contains API Schema definitions for the networking v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/awslabs/aws-vpn-controller/pkg/apis/networking +k8s:defaulter-gen=TypeMeta +groupName=networking.amazonaws.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "networking.amazonaws.com", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme is required by pkg/client/... AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource is required by pkg/client/listers/...
Types ¶
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 +k8s:openapi-gen=true
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 VPNConnection ¶
type VPNConnection struct { CustomerGatewayIP string `json:"customergatewayip"` ConfigSecretName string `json:"configsecretname"` }
VPNConnection contains the Customer Gateway IP and name of the secret where the VPNConfig is stored
func (*VPNConnection) DeepCopy ¶
func (in *VPNConnection) DeepCopy() *VPNConnection
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPNConnection.
func (*VPNConnection) DeepCopyInto ¶
func (in *VPNConnection) DeepCopyInto(out *VPNConnection)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 { // VpcID is the VPC that the vpn will attach to. Because the controller does not reuse VPN Gateways // there can only be one VPN per VPC. The default is the VPC the controller is running in. // +optional VpcID string `json:"vpcid,omitempty"` // +kubebuilder:validation:MaxItems=2 // +kubebuilder:validation:MinItems=1 VPNConnections []VPNConnection `json:"vpnconnections"` }
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 { // Important: Run "make" to regenerate code after modifying this file Status string `json:"status"` }
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.