v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

+groupName=ipsec.ibm.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: ipsec.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Vpn

type Vpn struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              VpnSpec   `json:"spec,omitempty"`
	Status            VpnStatus `json:"status,omitempty"`
}

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.

func (*Vpn) SetupWebhookWithManager

func (r *Vpn) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Vpn) ValidateCreate

func (r *Vpn) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Vpn) ValidateDelete

func (r *Vpn) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Vpn) ValidateUpdate

func (r *Vpn) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type VpnList

type VpnList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Vpn CRD objects
	Items []Vpn `json:"items,omitempty"`
}

VpnList is a list of Vpns

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 {
	State *VpnSpecResource `json:"state,omitempty" tf:"-"`

	Resource VpnSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

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 VpnSpecAddressTranslation

type VpnSpecAddressTranslation struct {
	InternalIPAdress *string `json:"internalIPAdress" tf:"internal_ip_adress"`
	// +optional
	Notes          *string `json:"notes,omitempty" tf:"notes"`
	RemoteIPAdress *string `json:"remoteIPAdress" tf:"remote_ip_adress"`
}

func (*VpnSpecAddressTranslation) DeepCopy

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

func (*VpnSpecAddressTranslation) DeepCopyInto

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

type VpnSpecAddressTranslationCodec

type VpnSpecAddressTranslationCodec struct {
}

+k8s:deepcopy-gen=false

func (VpnSpecAddressTranslationCodec) Decode

func (VpnSpecAddressTranslationCodec) Encode

func (VpnSpecAddressTranslationCodec) IsEmpty

type VpnSpecPhaseOne

type VpnSpecPhaseOne struct {
	// +optional
	Authentication *string `json:"authentication,omitempty" tf:"authentication"`
	// +optional
	DiffieHellmanGroup *int64 `json:"diffieHellmanGroup,omitempty" tf:"diffie_hellman_group"`
	// +optional
	Encryption *string `json:"encryption,omitempty" tf:"encryption"`
	// +optional
	Keylife *int64 `json:"keylife,omitempty" tf:"keylife"`
}

func (*VpnSpecPhaseOne) DeepCopy

func (in *VpnSpecPhaseOne) DeepCopy() *VpnSpecPhaseOne

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

func (*VpnSpecPhaseOne) DeepCopyInto

func (in *VpnSpecPhaseOne) DeepCopyInto(out *VpnSpecPhaseOne)

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

type VpnSpecPhaseOneCodec

type VpnSpecPhaseOneCodec struct {
}

+k8s:deepcopy-gen=false

func (VpnSpecPhaseOneCodec) Decode

func (VpnSpecPhaseOneCodec) Encode

func (VpnSpecPhaseOneCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)

func (VpnSpecPhaseOneCodec) IsEmpty

func (VpnSpecPhaseOneCodec) IsEmpty(ptr unsafe.Pointer) bool

type VpnSpecPhaseTwo

type VpnSpecPhaseTwo struct {
	// +optional
	Authentication *string `json:"authentication,omitempty" tf:"authentication"`
	// +optional
	DiffieHellmanGroup *int64 `json:"diffieHellmanGroup,omitempty" tf:"diffie_hellman_group"`
	// +optional
	Encryption *string `json:"encryption,omitempty" tf:"encryption"`
	// +optional
	Keylife *int64 `json:"keylife,omitempty" tf:"keylife"`
}

func (*VpnSpecPhaseTwo) DeepCopy

func (in *VpnSpecPhaseTwo) DeepCopy() *VpnSpecPhaseTwo

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

func (*VpnSpecPhaseTwo) DeepCopyInto

func (in *VpnSpecPhaseTwo) DeepCopyInto(out *VpnSpecPhaseTwo)

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

type VpnSpecPhaseTwoCodec

type VpnSpecPhaseTwoCodec struct {
}

+k8s:deepcopy-gen=false

func (VpnSpecPhaseTwoCodec) Decode

func (VpnSpecPhaseTwoCodec) Encode

func (VpnSpecPhaseTwoCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)

func (VpnSpecPhaseTwoCodec) IsEmpty

func (VpnSpecPhaseTwoCodec) IsEmpty(ptr unsafe.Pointer) bool

type VpnSpecRemoteSubnet

type VpnSpecRemoteSubnet struct {
	// +optional
	AccountID      *int64  `json:"accountID,omitempty" tf:"account_id"`
	RemoteIPAdress *string `json:"remoteIPAdress" tf:"remote_ip_adress"`
	RemoteIPCIDR   *string `json:"remoteIPCIDR" tf:"remote_ip_cidr"`
}

func (*VpnSpecRemoteSubnet) DeepCopy

func (in *VpnSpecRemoteSubnet) DeepCopy() *VpnSpecRemoteSubnet

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

func (*VpnSpecRemoteSubnet) DeepCopyInto

func (in *VpnSpecRemoteSubnet) DeepCopyInto(out *VpnSpecRemoteSubnet)

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

type VpnSpecRemoteSubnetCodec

type VpnSpecRemoteSubnetCodec struct {
}

+k8s:deepcopy-gen=false

func (VpnSpecRemoteSubnetCodec) Decode

func (VpnSpecRemoteSubnetCodec) Encode

func (VpnSpecRemoteSubnetCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)

func (VpnSpecRemoteSubnetCodec) IsEmpty

type VpnSpecResource

type VpnSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	AddressTranslation *VpnSpecAddressTranslation `json:"addressTranslation,omitempty" tf:"address_translation"`
	// Customer Peer IP Address
	// +optional
	CustomerPeerIP *string `json:"customerPeerIP,omitempty" tf:"customer_peer_ip"`
	// Datacenter name
	Datacenter *string `json:"datacenter" tf:"datacenter"`
	// +optional
	InternalPeerIPAddress *string `json:"internalPeerIPAddress,omitempty" tf:"internal_peer_ip_address"`
	// Internal subnet ID value
	// +optional
	InternalSubnetID *int64 `json:"internalSubnetID,omitempty" tf:"internal_subnet_id"`
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	PhaseOne *VpnSpecPhaseOne `json:"phaseOne,omitempty" tf:"phase_one"`
	// +optional
	PhaseTwo *VpnSpecPhaseTwo `json:"phaseTwo,omitempty" tf:"phase_two"`
	// Preshared Key data
	// +optional
	PresharedKey *string `json:"presharedKey,omitempty" tf:"preshared_key"`
	// +optional
	RemoteSubnet *VpnSpecRemoteSubnet `json:"remoteSubnet,omitempty" tf:"remote_subnet"`
	// Remote subnet ID value
	// +optional
	RemoteSubnetID *int64 `json:"remoteSubnetID,omitempty" tf:"remote_subnet_id"`
	// Service subnet ID value
	// +optional
	ServiceSubnetID *int64 `json:"serviceSubnetID,omitempty" tf:"service_subnet_id"`
}

func (*VpnSpecResource) DeepCopy

func (in *VpnSpecResource) DeepCopy() *VpnSpecResource

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

func (*VpnSpecResource) DeepCopyInto

func (in *VpnSpecResource) DeepCopyInto(out *VpnSpecResource)

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

type VpnStatus

type VpnStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

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