Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=nsxtpolicyipsecvpnservice.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type BypassRuleObservation
- type BypassRuleParameters
- type PolicyIpsecVpnService
- func (in *PolicyIpsecVpnService) DeepCopy() *PolicyIpsecVpnService
- func (in *PolicyIpsecVpnService) DeepCopyInto(out *PolicyIpsecVpnService)
- func (in *PolicyIpsecVpnService) DeepCopyObject() runtime.Object
- func (mg *PolicyIpsecVpnService) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *PolicyIpsecVpnService) GetConnectionDetailsMapping() map[string]string
- func (mg *PolicyIpsecVpnService) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *PolicyIpsecVpnService) GetID() string
- func (mg *PolicyIpsecVpnService) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *PolicyIpsecVpnService) GetObservation() (map[string]any, error)
- func (tr *PolicyIpsecVpnService) GetParameters() (map[string]any, error)
- func (mg *PolicyIpsecVpnService) GetProviderConfigReference() *xpv1.Reference
- func (mg *PolicyIpsecVpnService) GetProviderReference() *xpv1.Reference
- func (mg *PolicyIpsecVpnService) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *PolicyIpsecVpnService) GetTerraformResourceType() string
- func (tr *PolicyIpsecVpnService) GetTerraformSchemaVersion() int
- func (mg *PolicyIpsecVpnService) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *PolicyIpsecVpnService) LateInitialize(attrs []byte) (bool, error)
- func (mg *PolicyIpsecVpnService) SetConditions(c ...xpv1.Condition)
- func (mg *PolicyIpsecVpnService) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *PolicyIpsecVpnService) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *PolicyIpsecVpnService) SetObservation(obs map[string]any) error
- func (tr *PolicyIpsecVpnService) SetParameters(params map[string]any) error
- func (mg *PolicyIpsecVpnService) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *PolicyIpsecVpnService) SetProviderReference(r *xpv1.Reference)
- func (mg *PolicyIpsecVpnService) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *PolicyIpsecVpnService) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type PolicyIpsecVpnServiceList
- type PolicyIpsecVpnServiceObservation
- type PolicyIpsecVpnServiceParameters
- type PolicyIpsecVpnServiceSpec
- type PolicyIpsecVpnServiceStatus
- type TagObservation
- type TagParameters
Constants ¶
const ( CRDGroup = "nsxtpolicyipsecvpnservice.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 ( PolicyIpsecVpnService_Kind = "PolicyIpsecVpnService" PolicyIpsecVpnService_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: PolicyIpsecVpnService_Kind}.String() PolicyIpsecVpnService_KindAPIVersion = PolicyIpsecVpnService_Kind + "." + CRDGroupVersion.String() PolicyIpsecVpnService_GroupVersionKind = CRDGroupVersion.WithKind(PolicyIpsecVpnService_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type BypassRuleObservation ¶
type BypassRuleObservation struct { // PROTECT - Protect rules are defined per policy based IPSec VPN session. BYPASS - Bypass rules are defined per IPSec VPN service and affects all policy based IPSec VPN sessions. Bypass rules are prioritized over protect rules. Action *string `json:"action,omitempty" tf:"action,omitempty"` // List of remote subnets Destinations []*string `json:"destinations,omitempty" tf:"destinations,omitempty"` // NSX ID for this resource NsxID *string `json:"nsxId,omitempty" tf:"nsx_id,omitempty"` // List of local subnets. Specifying no value is interpreted as 0.0.0.0/0. Sources []*string `json:"sources,omitempty" tf:"sources,omitempty"` }
func (*BypassRuleObservation) DeepCopy ¶
func (in *BypassRuleObservation) DeepCopy() *BypassRuleObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BypassRuleObservation.
func (*BypassRuleObservation) DeepCopyInto ¶
func (in *BypassRuleObservation) DeepCopyInto(out *BypassRuleObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BypassRuleParameters ¶
type BypassRuleParameters struct { // PROTECT - Protect rules are defined per policy based IPSec VPN session. BYPASS - Bypass rules are defined per IPSec VPN service and affects all policy based IPSec VPN sessions. Bypass rules are prioritized over protect rules. // +kubebuilder:validation:Optional Action *string `json:"action,omitempty" tf:"action,omitempty"` // List of remote subnets // +kubebuilder:validation:Optional Destinations []*string `json:"destinations,omitempty" tf:"destinations,omitempty"` // List of local subnets. Specifying no value is interpreted as 0.0.0.0/0. // +kubebuilder:validation:Optional Sources []*string `json:"sources,omitempty" tf:"sources,omitempty"` }
func (*BypassRuleParameters) DeepCopy ¶
func (in *BypassRuleParameters) DeepCopy() *BypassRuleParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BypassRuleParameters.
func (*BypassRuleParameters) DeepCopyInto ¶
func (in *BypassRuleParameters) DeepCopyInto(out *BypassRuleParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyIpsecVpnService ¶
type PolicyIpsecVpnService 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" Spec PolicyIpsecVpnServiceSpec `json:"spec"` Status PolicyIpsecVpnServiceStatus `json:"status,omitempty"` }
PolicyIpsecVpnService is the Schema for the PolicyIpsecVpnServices 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 (*PolicyIpsecVpnService) DeepCopy ¶
func (in *PolicyIpsecVpnService) DeepCopy() *PolicyIpsecVpnService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyIpsecVpnService.
func (*PolicyIpsecVpnService) DeepCopyInto ¶
func (in *PolicyIpsecVpnService) DeepCopyInto(out *PolicyIpsecVpnService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PolicyIpsecVpnService) DeepCopyObject ¶
func (in *PolicyIpsecVpnService) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PolicyIpsecVpnService) GetCondition ¶
func (mg *PolicyIpsecVpnService) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this PolicyIpsecVpnService.
func (*PolicyIpsecVpnService) GetConnectionDetailsMapping ¶
func (tr *PolicyIpsecVpnService) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this PolicyIpsecVpnService
func (*PolicyIpsecVpnService) GetDeletionPolicy ¶
func (mg *PolicyIpsecVpnService) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this PolicyIpsecVpnService.
func (*PolicyIpsecVpnService) GetID ¶
func (tr *PolicyIpsecVpnService) GetID() string
GetID returns ID of underlying Terraform resource of this PolicyIpsecVpnService
func (*PolicyIpsecVpnService) GetManagementPolicy ¶
func (mg *PolicyIpsecVpnService) GetManagementPolicy() xpv1.ManagementPolicy
GetManagementPolicy of this PolicyIpsecVpnService.
func (*PolicyIpsecVpnService) GetObservation ¶
func (tr *PolicyIpsecVpnService) GetObservation() (map[string]any, error)
GetObservation of this PolicyIpsecVpnService
func (*PolicyIpsecVpnService) GetParameters ¶
func (tr *PolicyIpsecVpnService) GetParameters() (map[string]any, error)
GetParameters of this PolicyIpsecVpnService
func (*PolicyIpsecVpnService) GetProviderConfigReference ¶
func (mg *PolicyIpsecVpnService) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this PolicyIpsecVpnService.
func (*PolicyIpsecVpnService) GetProviderReference ¶
func (mg *PolicyIpsecVpnService) GetProviderReference() *xpv1.Reference
GetProviderReference of this PolicyIpsecVpnService. Deprecated: Use GetProviderConfigReference.
func (*PolicyIpsecVpnService) GetPublishConnectionDetailsTo ¶
func (mg *PolicyIpsecVpnService) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this PolicyIpsecVpnService.
func (*PolicyIpsecVpnService) GetTerraformResourceType ¶
func (mg *PolicyIpsecVpnService) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this PolicyIpsecVpnService
func (*PolicyIpsecVpnService) GetTerraformSchemaVersion ¶
func (tr *PolicyIpsecVpnService) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*PolicyIpsecVpnService) GetWriteConnectionSecretToReference ¶
func (mg *PolicyIpsecVpnService) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this PolicyIpsecVpnService.
func (*PolicyIpsecVpnService) LateInitialize ¶
func (tr *PolicyIpsecVpnService) LateInitialize(attrs []byte) (bool, error)
LateInitialize this PolicyIpsecVpnService using its observed tfState. returns True if there are any spec changes for the resource.
func (*PolicyIpsecVpnService) SetConditions ¶
func (mg *PolicyIpsecVpnService) SetConditions(c ...xpv1.Condition)
SetConditions of this PolicyIpsecVpnService.
func (*PolicyIpsecVpnService) SetDeletionPolicy ¶
func (mg *PolicyIpsecVpnService) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this PolicyIpsecVpnService.
func (*PolicyIpsecVpnService) SetManagementPolicy ¶
func (mg *PolicyIpsecVpnService) SetManagementPolicy(r xpv1.ManagementPolicy)
SetManagementPolicy of this PolicyIpsecVpnService.
func (*PolicyIpsecVpnService) SetObservation ¶
func (tr *PolicyIpsecVpnService) SetObservation(obs map[string]any) error
SetObservation for this PolicyIpsecVpnService
func (*PolicyIpsecVpnService) SetParameters ¶
func (tr *PolicyIpsecVpnService) SetParameters(params map[string]any) error
SetParameters for this PolicyIpsecVpnService
func (*PolicyIpsecVpnService) SetProviderConfigReference ¶
func (mg *PolicyIpsecVpnService) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this PolicyIpsecVpnService.
func (*PolicyIpsecVpnService) SetProviderReference ¶
func (mg *PolicyIpsecVpnService) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this PolicyIpsecVpnService. Deprecated: Use SetProviderConfigReference.
func (*PolicyIpsecVpnService) SetPublishConnectionDetailsTo ¶
func (mg *PolicyIpsecVpnService) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this PolicyIpsecVpnService.
func (*PolicyIpsecVpnService) SetWriteConnectionSecretToReference ¶
func (mg *PolicyIpsecVpnService) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this PolicyIpsecVpnService.
type PolicyIpsecVpnServiceList ¶
type PolicyIpsecVpnServiceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []PolicyIpsecVpnService `json:"items"` }
PolicyIpsecVpnServiceList contains a list of PolicyIpsecVpnServices
func (*PolicyIpsecVpnServiceList) DeepCopy ¶
func (in *PolicyIpsecVpnServiceList) DeepCopy() *PolicyIpsecVpnServiceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyIpsecVpnServiceList.
func (*PolicyIpsecVpnServiceList) DeepCopyInto ¶
func (in *PolicyIpsecVpnServiceList) DeepCopyInto(out *PolicyIpsecVpnServiceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PolicyIpsecVpnServiceList) DeepCopyObject ¶
func (in *PolicyIpsecVpnServiceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PolicyIpsecVpnServiceList) GetItems ¶
func (l *PolicyIpsecVpnServiceList) GetItems() []resource.Managed
GetItems of this PolicyIpsecVpnServiceList.
type PolicyIpsecVpnServiceObservation ¶
type PolicyIpsecVpnServiceObservation struct { // For policy-based IPsec VPNs, a security policy specifies as its action the VPN tunnel to be used for transit traffic that meets the policy match criteria BypassRule []BypassRuleObservation `json:"bypassRule,omitempty" tf:"bypass_rule,omitempty"` // Description for this resource Description *string `json:"description,omitempty" tf:"description,omitempty"` // Display name for this resource DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` // Enable/Disable IPSec VPN service. Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // Policy path for the gateway. GatewayPath *string `json:"gatewayPath,omitempty" tf:"gateway_path,omitempty"` // Enable/Disable IPSec VPN service HA state sync. HaSync *bool `json:"haSync,omitempty" tf:"ha_sync,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // Log level for internet key exchange (IKE). IkeLogLevel *string `json:"ikeLogLevel,omitempty" tf:"ike_log_level,omitempty"` // Polciy path for the locale service. LocaleServicePath *string `json:"localeServicePath,omitempty" tf:"locale_service_path,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"` // 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"` // Set of opaque identifiers meaningful to the user Tag []TagObservation `json:"tag,omitempty" tf:"tag,omitempty"` }
func (*PolicyIpsecVpnServiceObservation) DeepCopy ¶
func (in *PolicyIpsecVpnServiceObservation) DeepCopy() *PolicyIpsecVpnServiceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyIpsecVpnServiceObservation.
func (*PolicyIpsecVpnServiceObservation) DeepCopyInto ¶
func (in *PolicyIpsecVpnServiceObservation) DeepCopyInto(out *PolicyIpsecVpnServiceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyIpsecVpnServiceParameters ¶
type PolicyIpsecVpnServiceParameters struct { // For policy-based IPsec VPNs, a security policy specifies as its action the VPN tunnel to be used for transit traffic that meets the policy match criteria // +kubebuilder:validation:Optional BypassRule []BypassRuleParameters `json:"bypassRule,omitempty" tf:"bypass_rule,omitempty"` // Description for this resource // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // Display name for this resource // +kubebuilder:validation:Optional DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` // Enable/Disable IPSec VPN service. // +kubebuilder:validation:Optional Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // Policy path for the gateway. // +kubebuilder:validation:Optional GatewayPath *string `json:"gatewayPath,omitempty" tf:"gateway_path,omitempty"` // Enable/Disable IPSec VPN service HA state sync. // +kubebuilder:validation:Optional HaSync *bool `json:"haSync,omitempty" tf:"ha_sync,omitempty"` // Log level for internet key exchange (IKE). // +kubebuilder:validation:Optional IkeLogLevel *string `json:"ikeLogLevel,omitempty" tf:"ike_log_level,omitempty"` // Polciy path for the locale service. // +kubebuilder:validation:Optional LocaleServicePath *string `json:"localeServicePath,omitempty" tf:"locale_service_path,omitempty"` // NSX ID for this resource // +kubebuilder:validation:Optional NsxID *string `json:"nsxId,omitempty" tf:"nsx_id,omitempty"` // Set of opaque identifiers meaningful to the user // +kubebuilder:validation:Optional Tag []TagParameters `json:"tag,omitempty" tf:"tag,omitempty"` }
func (*PolicyIpsecVpnServiceParameters) DeepCopy ¶
func (in *PolicyIpsecVpnServiceParameters) DeepCopy() *PolicyIpsecVpnServiceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyIpsecVpnServiceParameters.
func (*PolicyIpsecVpnServiceParameters) DeepCopyInto ¶
func (in *PolicyIpsecVpnServiceParameters) DeepCopyInto(out *PolicyIpsecVpnServiceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyIpsecVpnServiceSpec ¶
type PolicyIpsecVpnServiceSpec struct { v1.ResourceSpec `json:",inline"` ForProvider PolicyIpsecVpnServiceParameters `json:"forProvider"` }
PolicyIpsecVpnServiceSpec defines the desired state of PolicyIpsecVpnService
func (*PolicyIpsecVpnServiceSpec) DeepCopy ¶
func (in *PolicyIpsecVpnServiceSpec) DeepCopy() *PolicyIpsecVpnServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyIpsecVpnServiceSpec.
func (*PolicyIpsecVpnServiceSpec) DeepCopyInto ¶
func (in *PolicyIpsecVpnServiceSpec) DeepCopyInto(out *PolicyIpsecVpnServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyIpsecVpnServiceStatus ¶
type PolicyIpsecVpnServiceStatus struct { v1.ResourceStatus `json:",inline"` AtProvider PolicyIpsecVpnServiceObservation `json:"atProvider,omitempty"` }
PolicyIpsecVpnServiceStatus defines the observed state of PolicyIpsecVpnService.
func (*PolicyIpsecVpnServiceStatus) DeepCopy ¶
func (in *PolicyIpsecVpnServiceStatus) DeepCopy() *PolicyIpsecVpnServiceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyIpsecVpnServiceStatus.
func (*PolicyIpsecVpnServiceStatus) DeepCopyInto ¶
func (in *PolicyIpsecVpnServiceStatus) DeepCopyInto(out *PolicyIpsecVpnServiceStatus)
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.