Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=nat.flexibleengine.upbound.io +versionName=v1beta1
Index ¶
- Constants
- Variables
- type DnatRule
- func (in *DnatRule) DeepCopy() *DnatRule
- func (in *DnatRule) DeepCopyInto(out *DnatRule)
- func (in *DnatRule) DeepCopyObject() runtime.Object
- func (mg *DnatRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *DnatRule) GetConnectionDetailsMapping() map[string]string
- func (mg *DnatRule) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *DnatRule) GetID() string
- func (tr *DnatRule) GetObservation() (map[string]any, error)
- func (tr *DnatRule) GetParameters() (map[string]any, error)
- func (mg *DnatRule) GetProviderConfigReference() *xpv1.Reference
- func (mg *DnatRule) GetProviderReference() *xpv1.Reference
- func (mg *DnatRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *DnatRule) GetTerraformResourceType() string
- func (tr *DnatRule) GetTerraformSchemaVersion() int
- func (mg *DnatRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *DnatRule) LateInitialize(attrs []byte) (bool, error)
- func (mg *DnatRule) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *DnatRule) SetConditions(c ...xpv1.Condition)
- func (mg *DnatRule) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *DnatRule) SetObservation(obs map[string]any) error
- func (tr *DnatRule) SetParameters(params map[string]any) error
- func (mg *DnatRule) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *DnatRule) SetProviderReference(r *xpv1.Reference)
- func (mg *DnatRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *DnatRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type DnatRuleList
- type DnatRuleObservation
- type DnatRuleParameters
- type DnatRuleSpec
- type DnatRuleStatus
- type Gateway
- func (in *Gateway) DeepCopy() *Gateway
- func (in *Gateway) DeepCopyInto(out *Gateway)
- func (in *Gateway) DeepCopyObject() runtime.Object
- func (mg *Gateway) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Gateway) GetConnectionDetailsMapping() map[string]string
- func (mg *Gateway) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Gateway) GetID() string
- func (tr *Gateway) GetObservation() (map[string]any, error)
- func (tr *Gateway) GetParameters() (map[string]any, error)
- func (mg *Gateway) GetProviderConfigReference() *xpv1.Reference
- func (mg *Gateway) GetProviderReference() *xpv1.Reference
- func (mg *Gateway) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Gateway) GetTerraformResourceType() string
- func (tr *Gateway) GetTerraformSchemaVersion() int
- func (mg *Gateway) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Gateway) LateInitialize(attrs []byte) (bool, error)
- func (mg *Gateway) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Gateway) SetConditions(c ...xpv1.Condition)
- func (mg *Gateway) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Gateway) SetObservation(obs map[string]any) error
- func (tr *Gateway) SetParameters(params map[string]any) error
- func (mg *Gateway) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Gateway) SetProviderReference(r *xpv1.Reference)
- func (mg *Gateway) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Gateway) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type GatewayList
- type GatewayObservation
- type GatewayParameters
- type GatewaySpec
- type GatewayStatus
- type SnatRule
- func (in *SnatRule) DeepCopy() *SnatRule
- func (in *SnatRule) DeepCopyInto(out *SnatRule)
- func (in *SnatRule) DeepCopyObject() runtime.Object
- func (mg *SnatRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *SnatRule) GetConnectionDetailsMapping() map[string]string
- func (mg *SnatRule) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *SnatRule) GetID() string
- func (tr *SnatRule) GetObservation() (map[string]any, error)
- func (tr *SnatRule) GetParameters() (map[string]any, error)
- func (mg *SnatRule) GetProviderConfigReference() *xpv1.Reference
- func (mg *SnatRule) GetProviderReference() *xpv1.Reference
- func (mg *SnatRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *SnatRule) GetTerraformResourceType() string
- func (tr *SnatRule) GetTerraformSchemaVersion() int
- func (mg *SnatRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *SnatRule) LateInitialize(attrs []byte) (bool, error)
- func (mg *SnatRule) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *SnatRule) SetConditions(c ...xpv1.Condition)
- func (mg *SnatRule) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *SnatRule) SetObservation(obs map[string]any) error
- func (tr *SnatRule) SetParameters(params map[string]any) error
- func (mg *SnatRule) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *SnatRule) SetProviderReference(r *xpv1.Reference)
- func (mg *SnatRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *SnatRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type SnatRuleList
- type SnatRuleObservation
- type SnatRuleParameters
- type SnatRuleSpec
- type SnatRuleStatus
Constants ¶
const ( CRDGroup = "nat.flexibleengine.upbound.io" CRDVersion = "v1beta1" )
Package type metadata.
Variables ¶
var ( DnatRule_Kind = "DnatRule" DnatRule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: DnatRule_Kind}.String() DnatRule_KindAPIVersion = DnatRule_Kind + "." + CRDGroupVersion.String() DnatRule_GroupVersionKind = CRDGroupVersion.WithKind(DnatRule_Kind) )
Repository type metadata.
var ( Gateway_Kind = "Gateway" Gateway_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Gateway_Kind}.String() Gateway_KindAPIVersion = Gateway_Kind + "." + CRDGroupVersion.String() Gateway_GroupVersionKind = CRDGroupVersion.WithKind(Gateway_Kind) )
Repository type metadata.
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 ( SnatRule_Kind = "SnatRule" SnatRule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: SnatRule_Kind}.String() SnatRule_KindAPIVersion = SnatRule_Kind + "." + CRDGroupVersion.String() SnatRule_GroupVersionKind = CRDGroupVersion.WithKind(SnatRule_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type DnatRule ¶
type DnatRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DnatRuleSpec `json:"spec"` Status DnatRuleStatus `json:"status,omitempty"` }
DnatRule is the Schema for the DnatRules API. ""page_title: "flexibleengine_nat_dnat_rule_v2" +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,flexibleengine}
func (*DnatRule) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnatRule.
func (*DnatRule) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DnatRule) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DnatRule) GetCondition ¶
func (mg *DnatRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this DnatRule.
func (*DnatRule) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this DnatRule
func (*DnatRule) GetDeletionPolicy ¶
func (mg *DnatRule) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this DnatRule.
func (*DnatRule) GetObservation ¶
GetObservation of this DnatRule
func (*DnatRule) GetParameters ¶
GetParameters of this DnatRule
func (*DnatRule) GetProviderConfigReference ¶
GetProviderConfigReference of this DnatRule.
func (*DnatRule) GetProviderReference ¶
GetProviderReference of this DnatRule. Deprecated: Use GetProviderConfigReference.
func (*DnatRule) GetPublishConnectionDetailsTo ¶
func (mg *DnatRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this DnatRule.
func (*DnatRule) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this DnatRule
func (*DnatRule) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*DnatRule) GetWriteConnectionSecretToReference ¶
func (mg *DnatRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this DnatRule.
func (*DnatRule) LateInitialize ¶
LateInitialize this DnatRule using its observed tfState. returns True if there are any spec changes for the resource.
func (*DnatRule) ResolveReferences ¶
ResolveReferences of this DnatRule.
func (*DnatRule) SetConditions ¶
SetConditions of this DnatRule.
func (*DnatRule) SetDeletionPolicy ¶
func (mg *DnatRule) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this DnatRule.
func (*DnatRule) SetObservation ¶
SetObservation for this DnatRule
func (*DnatRule) SetParameters ¶
SetParameters for this DnatRule
func (*DnatRule) SetProviderConfigReference ¶
SetProviderConfigReference of this DnatRule.
func (*DnatRule) SetProviderReference ¶
SetProviderReference of this DnatRule. Deprecated: Use SetProviderConfigReference.
func (*DnatRule) SetPublishConnectionDetailsTo ¶
func (mg *DnatRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this DnatRule.
func (*DnatRule) SetWriteConnectionSecretToReference ¶
func (mg *DnatRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this DnatRule.
type DnatRuleList ¶
type DnatRuleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DnatRule `json:"items"` }
DnatRuleList contains a list of DnatRules
func (*DnatRuleList) DeepCopy ¶
func (in *DnatRuleList) DeepCopy() *DnatRuleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnatRuleList.
func (*DnatRuleList) DeepCopyInto ¶
func (in *DnatRuleList) DeepCopyInto(out *DnatRuleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DnatRuleList) DeepCopyObject ¶
func (in *DnatRuleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DnatRuleList) GetItems ¶
func (l *DnatRuleList) GetItems() []resource.Managed
GetItems of this DnatRuleList.
type DnatRuleObservation ¶
type DnatRuleObservation struct { // DNAT rule creation time. CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"` // The actual floating IP address. FloatingIPAddress *string `json:"floatingIpAddress,omitempty" tf:"floating_ip_address,omitempty"` // The resource ID in UUID format. ID *string `json:"id,omitempty" tf:"id,omitempty"` // DNAT rule status. Status *string `json:"status,omitempty" tf:"status,omitempty"` }
func (*DnatRuleObservation) DeepCopy ¶
func (in *DnatRuleObservation) DeepCopy() *DnatRuleObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnatRuleObservation.
func (*DnatRuleObservation) DeepCopyInto ¶
func (in *DnatRuleObservation) DeepCopyInto(out *DnatRuleObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DnatRuleParameters ¶
type DnatRuleParameters struct { // Specifies the description of the dnat rule. // The value is a string of no more than 255 characters, and angle brackets (<>) are not allowed. // Changing this creates a new dnat rule. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // Specifies the port for providing services // that are accessible from external systems. Changing this creates a new dnat rule. // +kubebuilder:validation:Required ExternalServicePort *float64 `json:"externalServicePort" tf:"external_service_port,omitempty"` // Specifies the ID of the floating IP address. // Changing this creates a new dnat rule. // +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/eip/v1beta1.EIP // +kubebuilder:validation:Optional FloatingIPID *string `json:"floatingIpId,omitempty" tf:"floating_ip_id,omitempty"` // Reference to a EIP in eip to populate floatingIpId. // +kubebuilder:validation:Optional FloatingIPIDRef *v1.Reference `json:"floatingIpIdRef,omitempty" tf:"-"` // Selector for a EIP in eip to populate floatingIpId. // +kubebuilder:validation:Optional FloatingIPIDSelector *v1.Selector `json:"floatingIpIdSelector,omitempty" tf:"-"` // Specifies the port used by ECSs or BMSs to provide services // that are accessible from external systems. Changing this creates a new dnat rule. // +kubebuilder:validation:Required InternalServicePort *float64 `json:"internalServicePort" tf:"internal_service_port,omitempty"` // Specifies the ID of the nat gateway this dnat rule belongs to. // Changing this creates a new dnat rule. // +crossplane:generate:reference:type=Gateway // +kubebuilder:validation:Optional NATGatewayID *string `json:"natGatewayId,omitempty" tf:"nat_gateway_id,omitempty"` // Reference to a Gateway to populate natGatewayId. // +kubebuilder:validation:Optional NATGatewayIDRef *v1.Reference `json:"natGatewayIdRef,omitempty" tf:"-"` // Selector for a Gateway to populate natGatewayId. // +kubebuilder:validation:Optional NATGatewayIDSelector *v1.Selector `json:"natGatewayIdSelector,omitempty" tf:"-"` // Specifies the port ID of an ECS or a BMS. This parameter is // mandatory in VPC scenario. Changing this creates a new dnat rule. // +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/vpc/v1beta1.Port // +kubebuilder:validation:Optional PortID *string `json:"portId,omitempty" tf:"port_id,omitempty"` // Reference to a Port in vpc to populate portId. // +kubebuilder:validation:Optional PortIDRef *v1.Reference `json:"portIdRef,omitempty" tf:"-"` // Selector for a Port in vpc to populate portId. // +kubebuilder:validation:Optional PortIDSelector *v1.Selector `json:"portIdSelector,omitempty" tf:"-"` // Specifies the private IP address of a user, for example, // the IP address of a VPC for dedicated connection. This parameter is mandatory in // Direct Connect scenario. Changing this creates a new dnat rule. // +kubebuilder:validation:Optional PrivateIP *string `json:"privateIp,omitempty" tf:"private_ip,omitempty"` // Specifies the protocol type. Currently, // TCP, UDP, and ANY are supported. Changing this creates a new dnat rule. // +kubebuilder:validation:Required Protocol *string `json:"protocol" tf:"protocol,omitempty"` }
func (*DnatRuleParameters) DeepCopy ¶
func (in *DnatRuleParameters) DeepCopy() *DnatRuleParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnatRuleParameters.
func (*DnatRuleParameters) DeepCopyInto ¶
func (in *DnatRuleParameters) DeepCopyInto(out *DnatRuleParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DnatRuleSpec ¶
type DnatRuleSpec struct { v1.ResourceSpec `json:",inline"` ForProvider DnatRuleParameters `json:"forProvider"` }
DnatRuleSpec defines the desired state of DnatRule
func (*DnatRuleSpec) DeepCopy ¶
func (in *DnatRuleSpec) DeepCopy() *DnatRuleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnatRuleSpec.
func (*DnatRuleSpec) DeepCopyInto ¶
func (in *DnatRuleSpec) DeepCopyInto(out *DnatRuleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DnatRuleStatus ¶
type DnatRuleStatus struct { v1.ResourceStatus `json:",inline"` AtProvider DnatRuleObservation `json:"atProvider,omitempty"` }
DnatRuleStatus defines the observed state of DnatRule.
func (*DnatRuleStatus) DeepCopy ¶
func (in *DnatRuleStatus) DeepCopy() *DnatRuleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnatRuleStatus.
func (*DnatRuleStatus) DeepCopyInto ¶
func (in *DnatRuleStatus) DeepCopyInto(out *DnatRuleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Gateway ¶
type Gateway struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec GatewaySpec `json:"spec"` Status GatewayStatus `json:"status,omitempty"` }
Gateway is the Schema for the Gateways API. ""page_title: "flexibleengine_nat_gateway_v2" +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,flexibleengine}
func (*Gateway) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Gateway.
func (*Gateway) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Gateway) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Gateway) GetCondition ¶
func (mg *Gateway) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Gateway.
func (*Gateway) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Gateway
func (*Gateway) GetDeletionPolicy ¶
func (mg *Gateway) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Gateway.
func (*Gateway) GetObservation ¶
GetObservation of this Gateway
func (*Gateway) GetParameters ¶
GetParameters of this Gateway
func (*Gateway) GetProviderConfigReference ¶
GetProviderConfigReference of this Gateway.
func (*Gateway) GetProviderReference ¶
GetProviderReference of this Gateway. Deprecated: Use GetProviderConfigReference.
func (*Gateway) GetPublishConnectionDetailsTo ¶
func (mg *Gateway) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Gateway.
func (*Gateway) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Gateway
func (*Gateway) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Gateway) GetWriteConnectionSecretToReference ¶
func (mg *Gateway) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Gateway.
func (*Gateway) LateInitialize ¶
LateInitialize this Gateway using its observed tfState. returns True if there are any spec changes for the resource.
func (*Gateway) ResolveReferences ¶
ResolveReferences of this Gateway.
func (*Gateway) SetConditions ¶
SetConditions of this Gateway.
func (*Gateway) SetDeletionPolicy ¶
func (mg *Gateway) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Gateway.
func (*Gateway) SetObservation ¶
SetObservation for this Gateway
func (*Gateway) SetParameters ¶
SetParameters for this Gateway
func (*Gateway) SetProviderConfigReference ¶
SetProviderConfigReference of this Gateway.
func (*Gateway) SetProviderReference ¶
SetProviderReference of this Gateway. Deprecated: Use SetProviderConfigReference.
func (*Gateway) SetPublishConnectionDetailsTo ¶
func (mg *Gateway) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Gateway.
func (*Gateway) SetWriteConnectionSecretToReference ¶
func (mg *Gateway) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Gateway.
type GatewayList ¶
type GatewayList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Gateway `json:"items"` }
GatewayList contains a list of Gateways
func (*GatewayList) DeepCopy ¶
func (in *GatewayList) DeepCopy() *GatewayList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayList.
func (*GatewayList) DeepCopyInto ¶
func (in *GatewayList) DeepCopyInto(out *GatewayList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GatewayList) DeepCopyObject ¶
func (in *GatewayList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*GatewayList) GetItems ¶
func (l *GatewayList) GetItems() []resource.Managed
GetItems of this GatewayList.
type GatewayObservation ¶
type GatewayObservation struct { // The resource ID in UUID format. ID *string `json:"id,omitempty" tf:"id,omitempty"` // The status of the nat gateway. Status *string `json:"status,omitempty" tf:"status,omitempty"` }
func (*GatewayObservation) DeepCopy ¶
func (in *GatewayObservation) DeepCopy() *GatewayObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayObservation.
func (*GatewayObservation) DeepCopyInto ¶
func (in *GatewayObservation) DeepCopyInto(out *GatewayObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GatewayParameters ¶
type GatewayParameters struct { // Specifies the description of the nat gateway. // The value contains 0 to 255 characters, and angle brackets (<) and (>) are not allowed. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // The resource ID in UUID format. // +kubebuilder:validation:Optional InternalNetworkID *string `json:"internalNetworkId,omitempty" tf:"internal_network_id,omitempty"` // Specifies the nat gateway name. The name can contain only digits, letters, // underscores (_), and hyphens(-). // +kubebuilder:validation:Required Name *string `json:"name" tf:"name,omitempty"` // Specifies the region in which to create the Nat gateway resource. // If omitted, the provider-level region will be used. Changing this creates a new nat gateway. // +kubebuilder:validation:Optional Region *string `json:"region,omitempty" tf:"region,omitempty"` // The resource ID in UUID format. // +kubebuilder:validation:Optional RouterID *string `json:"routerId,omitempty" tf:"router_id,omitempty"` // Specifies the nat gateway type. The value can be: // +kubebuilder:validation:Required Spec *string `json:"spec" tf:"spec,omitempty"` // Specifies the ID of the VPC Subnet of the downstream interface // (the next hop of the DVR) of the NAT gateway. Changing this creates a new nat gateway. // +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/vpc/v1beta1.VPCSubnet // +crossplane:generate:reference:extractor=github.com/FlexibleEngineCloud/provider-flexibleengine/pkg/tools.ExtractorParamPathfunc(true, "id") // +crossplane:generate:reference:refFieldName=SubnetIDRef // +crossplane:generate:reference:selectorFieldName=SubnetIDSelector // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` // Reference to a VPCSubnet in vpc to populate subnetId. // +kubebuilder:validation:Optional SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"` // Selector for a VPCSubnet in vpc to populate subnetId. // +kubebuilder:validation:Optional SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` // The resource ID in UUID format. // +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/iam/v1beta1.Project // +kubebuilder:validation:Optional TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` // Reference to a Project in iam to populate tenantId. // +kubebuilder:validation:Optional TenantIDRef *v1.Reference `json:"tenantIdRef,omitempty" tf:"-"` // Selector for a Project in iam to populate tenantId. // +kubebuilder:validation:Optional TenantIDSelector *v1.Selector `json:"tenantIdSelector,omitempty" tf:"-"` // Specifies the ID of the VPC this nat gateway belongs to. // Changing this creates a new nat gateway. // +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/vpc/v1beta1.VPC // +kubebuilder:validation:Optional VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"` // Reference to a VPC in vpc to populate vpcId. // +kubebuilder:validation:Optional VPCIDRef *v1.Reference `json:"vpcIdRef,omitempty" tf:"-"` // Selector for a VPC in vpc to populate vpcId. // +kubebuilder:validation:Optional VPCIDSelector *v1.Selector `json:"vpcIdSelector,omitempty" tf:"-"` }
func (*GatewayParameters) DeepCopy ¶
func (in *GatewayParameters) DeepCopy() *GatewayParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayParameters.
func (*GatewayParameters) DeepCopyInto ¶
func (in *GatewayParameters) DeepCopyInto(out *GatewayParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GatewaySpec ¶
type GatewaySpec struct { v1.ResourceSpec `json:",inline"` ForProvider GatewayParameters `json:"forProvider"` }
GatewaySpec defines the desired state of Gateway
func (*GatewaySpec) DeepCopy ¶
func (in *GatewaySpec) DeepCopy() *GatewaySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewaySpec.
func (*GatewaySpec) DeepCopyInto ¶
func (in *GatewaySpec) DeepCopyInto(out *GatewaySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GatewayStatus ¶
type GatewayStatus struct { v1.ResourceStatus `json:",inline"` AtProvider GatewayObservation `json:"atProvider,omitempty"` }
GatewayStatus defines the observed state of Gateway.
func (*GatewayStatus) DeepCopy ¶
func (in *GatewayStatus) DeepCopy() *GatewayStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayStatus.
func (*GatewayStatus) DeepCopyInto ¶
func (in *GatewayStatus) DeepCopyInto(out *GatewayStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SnatRule ¶
type SnatRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SnatRuleSpec `json:"spec"` Status SnatRuleStatus `json:"status,omitempty"` }
SnatRule is the Schema for the SnatRules API. ""page_title: "flexibleengine_nat_snat_rule_v2" +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,flexibleengine}
func (*SnatRule) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnatRule.
func (*SnatRule) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SnatRule) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SnatRule) GetCondition ¶
func (mg *SnatRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this SnatRule.
func (*SnatRule) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this SnatRule
func (*SnatRule) GetDeletionPolicy ¶
func (mg *SnatRule) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this SnatRule.
func (*SnatRule) GetObservation ¶
GetObservation of this SnatRule
func (*SnatRule) GetParameters ¶
GetParameters of this SnatRule
func (*SnatRule) GetProviderConfigReference ¶
GetProviderConfigReference of this SnatRule.
func (*SnatRule) GetProviderReference ¶
GetProviderReference of this SnatRule. Deprecated: Use GetProviderConfigReference.
func (*SnatRule) GetPublishConnectionDetailsTo ¶
func (mg *SnatRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this SnatRule.
func (*SnatRule) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this SnatRule
func (*SnatRule) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*SnatRule) GetWriteConnectionSecretToReference ¶
func (mg *SnatRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this SnatRule.
func (*SnatRule) LateInitialize ¶
LateInitialize this SnatRule using its observed tfState. returns True if there are any spec changes for the resource.
func (*SnatRule) ResolveReferences ¶
ResolveReferences of this SnatRule.
func (*SnatRule) SetConditions ¶
SetConditions of this SnatRule.
func (*SnatRule) SetDeletionPolicy ¶
func (mg *SnatRule) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this SnatRule.
func (*SnatRule) SetObservation ¶
SetObservation for this SnatRule
func (*SnatRule) SetParameters ¶
SetParameters for this SnatRule
func (*SnatRule) SetProviderConfigReference ¶
SetProviderConfigReference of this SnatRule.
func (*SnatRule) SetProviderReference ¶
SetProviderReference of this SnatRule. Deprecated: Use SetProviderConfigReference.
func (*SnatRule) SetPublishConnectionDetailsTo ¶
func (mg *SnatRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this SnatRule.
func (*SnatRule) SetWriteConnectionSecretToReference ¶
func (mg *SnatRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this SnatRule.
type SnatRuleList ¶
type SnatRuleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SnatRule `json:"items"` }
SnatRuleList contains a list of SnatRules
func (*SnatRuleList) DeepCopy ¶
func (in *SnatRuleList) DeepCopy() *SnatRuleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnatRuleList.
func (*SnatRuleList) DeepCopyInto ¶
func (in *SnatRuleList) DeepCopyInto(out *SnatRuleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SnatRuleList) DeepCopyObject ¶
func (in *SnatRuleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SnatRuleList) GetItems ¶
func (l *SnatRuleList) GetItems() []resource.Managed
GetItems of this SnatRuleList.
type SnatRuleObservation ¶
type SnatRuleObservation struct { // The actual floating IP address. FloatingIPAddress *string `json:"floatingIpAddress,omitempty" tf:"floating_ip_address,omitempty"` // The resource ID in UUID format. ID *string `json:"id,omitempty" tf:"id,omitempty"` // The status of the snat rule. Status *string `json:"status,omitempty" tf:"status,omitempty"` }
func (*SnatRuleObservation) DeepCopy ¶
func (in *SnatRuleObservation) DeepCopy() *SnatRuleObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnatRuleObservation.
func (*SnatRuleObservation) DeepCopyInto ¶
func (in *SnatRuleObservation) DeepCopyInto(out *SnatRuleObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SnatRuleParameters ¶
type SnatRuleParameters struct { // Specifies CIDR, which can be in the format of a network segment or a host IP address. // This parameter and subnet_id are alternative. Changing this creates a new snat rule. // +kubebuilder:validation:Optional Cidr *string `json:"cidr,omitempty" tf:"cidr,omitempty"` // ID of the floating ip this snat rule connets to. // Changing this creates a new snat rule. // +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/eip/v1beta1.EIP // +kubebuilder:validation:Optional FloatingIPID *string `json:"floatingIpId,omitempty" tf:"floating_ip_id,omitempty"` // Reference to a EIP in eip to populate floatingIpId. // +kubebuilder:validation:Optional FloatingIPIDRef *v1.Reference `json:"floatingIpIdRef,omitempty" tf:"-"` // Selector for a EIP in eip to populate floatingIpId. // +kubebuilder:validation:Optional FloatingIPIDSelector *v1.Selector `json:"floatingIpIdSelector,omitempty" tf:"-"` // ID of the nat gateway this snat rule belongs to. // Changing this creates a new snat rule. // +crossplane:generate:reference:type=Gateway // +kubebuilder:validation:Optional NATGatewayID *string `json:"natGatewayId,omitempty" tf:"nat_gateway_id,omitempty"` // Reference to a Gateway to populate natGatewayId. // +kubebuilder:validation:Optional NATGatewayIDRef *v1.Reference `json:"natGatewayIdRef,omitempty" tf:"-"` // Selector for a Gateway to populate natGatewayId. // +kubebuilder:validation:Optional NATGatewayIDSelector *v1.Selector `json:"natGatewayIdSelector,omitempty" tf:"-"` // The resource ID in UUID format. // +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/vpc/v1beta1.VPCSubnet // +crossplane:generate:reference:extractor=github.com/FlexibleEngineCloud/provider-flexibleengine/pkg/tools.ExtractorParamPathfunc(true, "id") // +crossplane:generate:reference:refFieldName=NetworkIDRef // +crossplane:generate:reference:selectorFieldName=NetworkIDSelector // +kubebuilder:validation:Optional NetworkID *string `json:"networkId,omitempty" tf:"network_id,omitempty"` // Reference to a VPCSubnet in vpc to populate networkId. // +kubebuilder:validation:Optional NetworkIDRef *v1.Reference `json:"networkIdRef,omitempty" tf:"-"` // Selector for a VPCSubnet in vpc to populate networkId. // +kubebuilder:validation:Optional NetworkIDSelector *v1.Selector `json:"networkIdSelector,omitempty" tf:"-"` // The region in which to obtain the V2 nat client. // If omitted, the region argument of the provider is used. Changing this // creates a new snat rule. // +kubebuilder:validation:Optional Region *string `json:"region,omitempty" tf:"region,omitempty"` // Specifies the scenario. The valid value is 0 (VPC scenario) and 1 (Direct Connect scenario). // Only cidr can be specified over a Direct Connect connection. // If no value is entered, the default value 0 (VPC scenario) is used. // Changing this creates a new snat rule. // +kubebuilder:validation:Optional SourceType *float64 `json:"sourceType,omitempty" tf:"source_type,omitempty"` // ID of the VPC Subnet this snat rule connects to. // This parameter and cidr are alternative. Changing this creates a new snat rule. // +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/vpc/v1beta1.VPCSubnet // +crossplane:generate:reference:extractor=github.com/FlexibleEngineCloud/provider-flexibleengine/pkg/tools.ExtractorParamPathfunc(true, "id") // +crossplane:generate:reference:refFieldName=SubnetIDRef // +crossplane:generate:reference:selectorFieldName=SubnetIDSelector // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` // Reference to a VPCSubnet in vpc to populate subnetId. // +kubebuilder:validation:Optional SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"` // Selector for a VPCSubnet in vpc to populate subnetId. // +kubebuilder:validation:Optional SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` }
func (*SnatRuleParameters) DeepCopy ¶
func (in *SnatRuleParameters) DeepCopy() *SnatRuleParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnatRuleParameters.
func (*SnatRuleParameters) DeepCopyInto ¶
func (in *SnatRuleParameters) DeepCopyInto(out *SnatRuleParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SnatRuleSpec ¶
type SnatRuleSpec struct { v1.ResourceSpec `json:",inline"` ForProvider SnatRuleParameters `json:"forProvider"` }
SnatRuleSpec defines the desired state of SnatRule
func (*SnatRuleSpec) DeepCopy ¶
func (in *SnatRuleSpec) DeepCopy() *SnatRuleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnatRuleSpec.
func (*SnatRuleSpec) DeepCopyInto ¶
func (in *SnatRuleSpec) DeepCopyInto(out *SnatRuleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SnatRuleStatus ¶
type SnatRuleStatus struct { v1.ResourceStatus `json:",inline"` AtProvider SnatRuleObservation `json:"atProvider,omitempty"` }
SnatRuleStatus defines the observed state of SnatRule.
func (*SnatRuleStatus) DeepCopy ¶
func (in *SnatRuleStatus) DeepCopy() *SnatRuleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnatRuleStatus.
func (*SnatRuleStatus) DeepCopyInto ¶
func (in *SnatRuleStatus) DeepCopyInto(out *SnatRuleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.