Documentation ¶
Overview ¶
+groupName=ipsec.ibm.kubeform.com
Index ¶
- Variables
- func GetDecoder() map[string]jsoniter.ValDecoder
- func GetEncoder() map[string]jsoniter.ValEncoder
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Vpn
- func (in *Vpn) DeepCopy() *Vpn
- func (in *Vpn) DeepCopyInto(out *Vpn)
- func (in *Vpn) DeepCopyObject() runtime.Object
- func (r *Vpn) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Vpn) ValidateCreate() error
- func (r *Vpn) ValidateDelete() error
- func (r *Vpn) ValidateUpdate(old runtime.Object) error
- type VpnList
- type VpnSpec
- type VpnSpecAddressTranslation
- type VpnSpecAddressTranslationCodec
- type VpnSpecPhaseOne
- type VpnSpecPhaseOneCodec
- type VpnSpecPhaseTwo
- type VpnSpecPhaseTwoCodec
- type VpnSpecRemoteSubnet
- type VpnSpecRemoteSubnetCodec
- type VpnSpecResource
- type VpnStatus
Constants ¶
This section is empty.
Variables ¶
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 )
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 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 ¶
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.
func (*Vpn) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Vpn) ValidateDelete ¶
ValidateDelete 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 ¶
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 { 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 ¶
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 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 ¶
func (in *VpnSpecAddressTranslation) DeepCopy() *VpnSpecAddressTranslation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VpnSpecAddressTranslation.
func (*VpnSpecAddressTranslation) DeepCopyInto ¶
func (in *VpnSpecAddressTranslation) DeepCopyInto(out *VpnSpecAddressTranslation)
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
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"` // +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 ¶
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.