v1alpha1

package
v0.0.0-...-a0919e1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

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

View Source
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

func (in *VPN) DeepCopy() *VPN

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPN.

func (*VPN) DeepCopyInto

func (in *VPN) DeepCopyInto(out *VPN)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VPN) DeepCopyObject

func (in *VPN) DeepCopyObject() runtime.Object

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

func (in *VPNList) DeepCopy() *VPNList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPNList.

func (*VPNList) DeepCopyInto

func (in *VPNList) DeepCopyInto(out *VPNList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VPNList) DeepCopyObject

func (in *VPNList) DeepCopyObject() runtime.Object

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

func (in *VPNSpec) DeepCopy() *VPNSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPNSpec.

func (*VPNSpec) DeepCopyInto

func (in *VPNSpec) DeepCopyInto(out *VPNSpec)

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

func (in *VPNStatus) DeepCopy() *VPNStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPNStatus.

func (*VPNStatus) DeepCopyInto

func (in *VPNStatus) DeepCopyInto(out *VPNStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL