Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=nsxtpolicyl2vpnsession.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type PolicyL2VpnSession
- func (in *PolicyL2VpnSession) DeepCopy() *PolicyL2VpnSession
- func (in *PolicyL2VpnSession) DeepCopyInto(out *PolicyL2VpnSession)
- func (in *PolicyL2VpnSession) DeepCopyObject() runtime.Object
- func (mg *PolicyL2VpnSession) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *PolicyL2VpnSession) GetConnectionDetailsMapping() map[string]string
- func (mg *PolicyL2VpnSession) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *PolicyL2VpnSession) GetID() string
- func (mg *PolicyL2VpnSession) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *PolicyL2VpnSession) GetObservation() (map[string]any, error)
- func (tr *PolicyL2VpnSession) GetParameters() (map[string]any, error)
- func (mg *PolicyL2VpnSession) GetProviderConfigReference() *xpv1.Reference
- func (mg *PolicyL2VpnSession) GetProviderReference() *xpv1.Reference
- func (mg *PolicyL2VpnSession) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *PolicyL2VpnSession) GetTerraformResourceType() string
- func (tr *PolicyL2VpnSession) GetTerraformSchemaVersion() int
- func (mg *PolicyL2VpnSession) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *PolicyL2VpnSession) LateInitialize(attrs []byte) (bool, error)
- func (mg *PolicyL2VpnSession) SetConditions(c ...xpv1.Condition)
- func (mg *PolicyL2VpnSession) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *PolicyL2VpnSession) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *PolicyL2VpnSession) SetObservation(obs map[string]any) error
- func (tr *PolicyL2VpnSession) SetParameters(params map[string]any) error
- func (mg *PolicyL2VpnSession) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *PolicyL2VpnSession) SetProviderReference(r *xpv1.Reference)
- func (mg *PolicyL2VpnSession) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *PolicyL2VpnSession) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type PolicyL2VpnSessionList
- type PolicyL2VpnSessionObservation
- type PolicyL2VpnSessionParameters
- type PolicyL2VpnSessionSpec
- type PolicyL2VpnSessionStatus
- type TagObservation
- type TagParameters
Constants ¶
const ( CRDGroup = "nsxtpolicyl2vpnsession.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( // CRDGroupVersion is the API Group Version used to register the objects CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var ( PolicyL2VpnSession_Kind = "PolicyL2VpnSession" PolicyL2VpnSession_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: PolicyL2VpnSession_Kind}.String() PolicyL2VpnSession_KindAPIVersion = PolicyL2VpnSession_Kind + "." + CRDGroupVersion.String() PolicyL2VpnSession_GroupVersionKind = CRDGroupVersion.WithKind(PolicyL2VpnSession_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type PolicyL2VpnSession ¶
type PolicyL2VpnSession struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.displayName)",message="displayName is a required parameter" // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.servicePath)",message="servicePath is a required parameter" // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.transportTunnels)",message="transportTunnels is a required parameter" Spec PolicyL2VpnSessionSpec `json:"spec"` Status PolicyL2VpnSessionStatus `json:"status,omitempty"` }
PolicyL2VpnSession is the Schema for the PolicyL2VpnSessions API. <no value> +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,nsxt}
func (*PolicyL2VpnSession) DeepCopy ¶
func (in *PolicyL2VpnSession) DeepCopy() *PolicyL2VpnSession
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyL2VpnSession.
func (*PolicyL2VpnSession) DeepCopyInto ¶
func (in *PolicyL2VpnSession) DeepCopyInto(out *PolicyL2VpnSession)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PolicyL2VpnSession) DeepCopyObject ¶
func (in *PolicyL2VpnSession) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PolicyL2VpnSession) GetCondition ¶
func (mg *PolicyL2VpnSession) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this PolicyL2VpnSession.
func (*PolicyL2VpnSession) GetConnectionDetailsMapping ¶
func (tr *PolicyL2VpnSession) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this PolicyL2VpnSession
func (*PolicyL2VpnSession) GetDeletionPolicy ¶
func (mg *PolicyL2VpnSession) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this PolicyL2VpnSession.
func (*PolicyL2VpnSession) GetID ¶
func (tr *PolicyL2VpnSession) GetID() string
GetID returns ID of underlying Terraform resource of this PolicyL2VpnSession
func (*PolicyL2VpnSession) GetManagementPolicy ¶
func (mg *PolicyL2VpnSession) GetManagementPolicy() xpv1.ManagementPolicy
GetManagementPolicy of this PolicyL2VpnSession.
func (*PolicyL2VpnSession) GetObservation ¶
func (tr *PolicyL2VpnSession) GetObservation() (map[string]any, error)
GetObservation of this PolicyL2VpnSession
func (*PolicyL2VpnSession) GetParameters ¶
func (tr *PolicyL2VpnSession) GetParameters() (map[string]any, error)
GetParameters of this PolicyL2VpnSession
func (*PolicyL2VpnSession) GetProviderConfigReference ¶
func (mg *PolicyL2VpnSession) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this PolicyL2VpnSession.
func (*PolicyL2VpnSession) GetProviderReference ¶
func (mg *PolicyL2VpnSession) GetProviderReference() *xpv1.Reference
GetProviderReference of this PolicyL2VpnSession. Deprecated: Use GetProviderConfigReference.
func (*PolicyL2VpnSession) GetPublishConnectionDetailsTo ¶
func (mg *PolicyL2VpnSession) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this PolicyL2VpnSession.
func (*PolicyL2VpnSession) GetTerraformResourceType ¶
func (mg *PolicyL2VpnSession) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this PolicyL2VpnSession
func (*PolicyL2VpnSession) GetTerraformSchemaVersion ¶
func (tr *PolicyL2VpnSession) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*PolicyL2VpnSession) GetWriteConnectionSecretToReference ¶
func (mg *PolicyL2VpnSession) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this PolicyL2VpnSession.
func (*PolicyL2VpnSession) LateInitialize ¶
func (tr *PolicyL2VpnSession) LateInitialize(attrs []byte) (bool, error)
LateInitialize this PolicyL2VpnSession using its observed tfState. returns True if there are any spec changes for the resource.
func (*PolicyL2VpnSession) SetConditions ¶
func (mg *PolicyL2VpnSession) SetConditions(c ...xpv1.Condition)
SetConditions of this PolicyL2VpnSession.
func (*PolicyL2VpnSession) SetDeletionPolicy ¶
func (mg *PolicyL2VpnSession) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this PolicyL2VpnSession.
func (*PolicyL2VpnSession) SetManagementPolicy ¶
func (mg *PolicyL2VpnSession) SetManagementPolicy(r xpv1.ManagementPolicy)
SetManagementPolicy of this PolicyL2VpnSession.
func (*PolicyL2VpnSession) SetObservation ¶
func (tr *PolicyL2VpnSession) SetObservation(obs map[string]any) error
SetObservation for this PolicyL2VpnSession
func (*PolicyL2VpnSession) SetParameters ¶
func (tr *PolicyL2VpnSession) SetParameters(params map[string]any) error
SetParameters for this PolicyL2VpnSession
func (*PolicyL2VpnSession) SetProviderConfigReference ¶
func (mg *PolicyL2VpnSession) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this PolicyL2VpnSession.
func (*PolicyL2VpnSession) SetProviderReference ¶
func (mg *PolicyL2VpnSession) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this PolicyL2VpnSession. Deprecated: Use SetProviderConfigReference.
func (*PolicyL2VpnSession) SetPublishConnectionDetailsTo ¶
func (mg *PolicyL2VpnSession) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this PolicyL2VpnSession.
func (*PolicyL2VpnSession) SetWriteConnectionSecretToReference ¶
func (mg *PolicyL2VpnSession) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this PolicyL2VpnSession.
type PolicyL2VpnSessionList ¶
type PolicyL2VpnSessionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []PolicyL2VpnSession `json:"items"` }
PolicyL2VpnSessionList contains a list of PolicyL2VpnSessions
func (*PolicyL2VpnSessionList) DeepCopy ¶
func (in *PolicyL2VpnSessionList) DeepCopy() *PolicyL2VpnSessionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyL2VpnSessionList.
func (*PolicyL2VpnSessionList) DeepCopyInto ¶
func (in *PolicyL2VpnSessionList) DeepCopyInto(out *PolicyL2VpnSessionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PolicyL2VpnSessionList) DeepCopyObject ¶
func (in *PolicyL2VpnSessionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PolicyL2VpnSessionList) GetItems ¶
func (l *PolicyL2VpnSessionList) GetItems() []resource.Managed
GetItems of this PolicyL2VpnSessionList.
type PolicyL2VpnSessionObservation ¶
type PolicyL2VpnSessionObservation struct { // Description for this resource Description *string `json:"description,omitempty" tf:"description,omitempty"` // The traffic direction apply to the MSS clamping Direction *string `json:"direction,omitempty" tf:"direction,omitempty"` // Display name for this resource DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` // Enable/Disable IPSec VPN session. Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // IP Address of the local tunnel port. This property only applies in CLIENT mode LocalAddress *string `json:"localAddress,omitempty" tf:"local_address,omitempty"` // Maximum amount of data the host will accept in a Tcp segment. MaxSegmentSize *float64 `json:"maxSegmentSize,omitempty" tf:"max_segment_size,omitempty"` // NSX ID for this resource NsxID *string `json:"nsxId,omitempty" tf:"nsx_id,omitempty"` // Policy path for this resource Path *string `json:"path,omitempty" tf:"path,omitempty"` // IP Address of the peer tunnel port. This property only applies in CLIENT mode PeerAddress *string `json:"peerAddress,omitempty" tf:"peer_address,omitempty"` // Encapsulation protocol used by the tunnel. Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected Revision *float64 `json:"revision,omitempty" tf:"revision,omitempty"` // Policy path for L2 VPN service ServicePath *string `json:"servicePath,omitempty" tf:"service_path,omitempty"` // Set of opaque identifiers meaningful to the user Tag []TagObservation `json:"tag,omitempty" tf:"tag,omitempty"` // List of transport tunnels(vpn sessions path) for redundancy TransportTunnels []*string `json:"transportTunnels,omitempty" tf:"transport_tunnels,omitempty"` }
func (*PolicyL2VpnSessionObservation) DeepCopy ¶
func (in *PolicyL2VpnSessionObservation) DeepCopy() *PolicyL2VpnSessionObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyL2VpnSessionObservation.
func (*PolicyL2VpnSessionObservation) DeepCopyInto ¶
func (in *PolicyL2VpnSessionObservation) DeepCopyInto(out *PolicyL2VpnSessionObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyL2VpnSessionParameters ¶
type PolicyL2VpnSessionParameters struct { // Description for this resource // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // The traffic direction apply to the MSS clamping // +kubebuilder:validation:Optional Direction *string `json:"direction,omitempty" tf:"direction,omitempty"` // Display name for this resource // +kubebuilder:validation:Optional DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` // Enable/Disable IPSec VPN session. // +kubebuilder:validation:Optional Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // IP Address of the local tunnel port. This property only applies in CLIENT mode // +kubebuilder:validation:Optional LocalAddress *string `json:"localAddress,omitempty" tf:"local_address,omitempty"` // Maximum amount of data the host will accept in a Tcp segment. // +kubebuilder:validation:Optional MaxSegmentSize *float64 `json:"maxSegmentSize,omitempty" tf:"max_segment_size,omitempty"` // NSX ID for this resource // +kubebuilder:validation:Optional NsxID *string `json:"nsxId,omitempty" tf:"nsx_id,omitempty"` // IP Address of the peer tunnel port. This property only applies in CLIENT mode // +kubebuilder:validation:Optional PeerAddress *string `json:"peerAddress,omitempty" tf:"peer_address,omitempty"` // Encapsulation protocol used by the tunnel. // +kubebuilder:validation:Optional Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"` // Policy path for L2 VPN service // +kubebuilder:validation:Optional ServicePath *string `json:"servicePath,omitempty" tf:"service_path,omitempty"` // Set of opaque identifiers meaningful to the user // +kubebuilder:validation:Optional Tag []TagParameters `json:"tag,omitempty" tf:"tag,omitempty"` // List of transport tunnels(vpn sessions path) for redundancy // +kubebuilder:validation:Optional TransportTunnels []*string `json:"transportTunnels,omitempty" tf:"transport_tunnels,omitempty"` }
func (*PolicyL2VpnSessionParameters) DeepCopy ¶
func (in *PolicyL2VpnSessionParameters) DeepCopy() *PolicyL2VpnSessionParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyL2VpnSessionParameters.
func (*PolicyL2VpnSessionParameters) DeepCopyInto ¶
func (in *PolicyL2VpnSessionParameters) DeepCopyInto(out *PolicyL2VpnSessionParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyL2VpnSessionSpec ¶
type PolicyL2VpnSessionSpec struct { v1.ResourceSpec `json:",inline"` ForProvider PolicyL2VpnSessionParameters `json:"forProvider"` }
PolicyL2VpnSessionSpec defines the desired state of PolicyL2VpnSession
func (*PolicyL2VpnSessionSpec) DeepCopy ¶
func (in *PolicyL2VpnSessionSpec) DeepCopy() *PolicyL2VpnSessionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyL2VpnSessionSpec.
func (*PolicyL2VpnSessionSpec) DeepCopyInto ¶
func (in *PolicyL2VpnSessionSpec) DeepCopyInto(out *PolicyL2VpnSessionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyL2VpnSessionStatus ¶
type PolicyL2VpnSessionStatus struct { v1.ResourceStatus `json:",inline"` AtProvider PolicyL2VpnSessionObservation `json:"atProvider,omitempty"` }
PolicyL2VpnSessionStatus defines the observed state of PolicyL2VpnSession.
func (*PolicyL2VpnSessionStatus) DeepCopy ¶
func (in *PolicyL2VpnSessionStatus) DeepCopy() *PolicyL2VpnSessionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyL2VpnSessionStatus.
func (*PolicyL2VpnSessionStatus) DeepCopyInto ¶
func (in *PolicyL2VpnSessionStatus) DeepCopyInto(out *PolicyL2VpnSessionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TagObservation ¶
type TagObservation struct { Scope *string `json:"scope,omitempty" tf:"scope,omitempty"` Tag *string `json:"tag,omitempty" tf:"tag,omitempty"` }
func (*TagObservation) DeepCopy ¶
func (in *TagObservation) DeepCopy() *TagObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagObservation.
func (*TagObservation) DeepCopyInto ¶
func (in *TagObservation) DeepCopyInto(out *TagObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TagParameters ¶
type TagParameters struct { // +kubebuilder:validation:Optional Scope *string `json:"scope,omitempty" tf:"scope,omitempty"` // +kubebuilder:validation:Optional Tag *string `json:"tag,omitempty" tf:"tag,omitempty"` }
func (*TagParameters) DeepCopy ¶
func (in *TagParameters) DeepCopy() *TagParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagParameters.
func (*TagParameters) DeepCopyInto ¶
func (in *TagParameters) DeepCopyInto(out *TagParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.