v1alpha1

package
v0.0.0-...-fae2378 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=gateway.aviatrix.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "gateway.aviatrix.upbound.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	Dnat_Kind             = "Dnat"
	Dnat_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Dnat_Kind}.String()
	Dnat_KindAPIVersion   = Dnat_Kind + "." + CRDGroupVersion.String()
	Dnat_GroupVersionKind = CRDGroupVersion.WithKind(Dnat_Kind)
)

Repository type metadata.

View Source
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
)
View Source
var (
	Snat_Kind             = "Snat"
	Snat_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Snat_Kind}.String()
	Snat_KindAPIVersion   = Snat_Kind + "." + CRDGroupVersion.String()
	Snat_GroupVersionKind = CRDGroupVersion.WithKind(Snat_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ConnectionPolicyObservation

type ConnectionPolicyObservation struct {

	// This is an option to program the route entry 'DST CIDR pointing to Aviatrix Gateway' into Cloud platform routing table. Type: Boolean. Default: True. Available as of provider version R2.19.2+.
	ApplyRouteEntry *bool `json:"applyRouteEntry,omitempty" tf:"apply_route_entry,omitempty"`

	// This is a qualifier condition that specifies output connection where the rule applies. Default value: "None".
	Connection *string `json:"connection,omitempty" tf:"connection,omitempty"`

	// This is a rule field that specifies the translated destination IP address when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule field must be specified for this rule to take effect.
	DnatIps *string `json:"dnatIps,omitempty" tf:"dnat_ips,omitempty"`

	// This is a rule field that specifies the translated destination port when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule field must be specified for this rule to take effect.
	DnatPort *string `json:"dnatPort,omitempty" tf:"dnat_port,omitempty"`

	// This is a qualifier condition that specifies a destination IP address range where the rule applies. When not specified, this field is not used.
	DstCidr *string `json:"dstCidr,omitempty" tf:"dst_cidr,omitempty"`

	// This is a qualifier condition that specifies a destination port where the rule applies. When not specified, this field is not used.
	DstPort *string `json:"dstPort,omitempty" tf:"dst_port,omitempty"`

	// This field specifies which VPC private route table will not be programmed with the default route entry.
	ExcludeRtb *string `json:"excludeRtb,omitempty" tf:"exclude_rtb,omitempty"`

	// based connection in a policy.
	Interface *string `json:"interface,omitempty" tf:"interface,omitempty"`

	// This is a rule field that specifies a tag or mark of a TCP session when all qualifier conditions meet. When not specified, this field is not used.
	Mark *string `json:"mark,omitempty" tf:"mark,omitempty"`

	// This is a qualifier condition that specifies a destination port protocol where the rule applies. When not specified, this field is not used.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// This is a qualifier condition that specifies a source IP address range where the rule applies. When not specified, this field is not used.
	SrcCidr *string `json:"srcCidr,omitempty" tf:"src_cidr,omitempty"`

	// This is a qualifier condition that specifies a source port that the rule applies. When not specified, this field is not used.
	SrcPort *string `json:"srcPort,omitempty" tf:"src_port,omitempty"`
}

func (*ConnectionPolicyObservation) DeepCopy

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

func (*ConnectionPolicyObservation) DeepCopyInto

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

type ConnectionPolicyParameters

type ConnectionPolicyParameters struct {
}

func (*ConnectionPolicyParameters) DeepCopy

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

func (*ConnectionPolicyParameters) DeepCopyInto

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

type Dnat

type Dnat struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DnatSpec   `json:"spec"`
	Status            DnatStatus `json:"status,omitempty"`
}

Dnat is the Schema for the Dnats API. Configure policies for destination NAT for an Aviatrix gateway +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,aviatrix}

func (*Dnat) DeepCopy

func (in *Dnat) DeepCopy() *Dnat

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

func (*Dnat) DeepCopyInto

func (in *Dnat) DeepCopyInto(out *Dnat)

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

func (*Dnat) DeepCopyObject

func (in *Dnat) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Dnat) GetCondition

func (mg *Dnat) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Dnat.

func (*Dnat) GetConnectionDetailsMapping

func (tr *Dnat) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Dnat

func (*Dnat) GetDeletionPolicy

func (mg *Dnat) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Dnat.

func (*Dnat) GetID

func (tr *Dnat) GetID() string

GetID returns ID of underlying Terraform resource of this Dnat

func (*Dnat) GetObservation

func (tr *Dnat) GetObservation() (map[string]any, error)

GetObservation of this Dnat

func (*Dnat) GetParameters

func (tr *Dnat) GetParameters() (map[string]any, error)

GetParameters of this Dnat

func (*Dnat) GetProviderConfigReference

func (mg *Dnat) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Dnat.

func (*Dnat) GetProviderReference

func (mg *Dnat) GetProviderReference() *xpv1.Reference

GetProviderReference of this Dnat. Deprecated: Use GetProviderConfigReference.

func (*Dnat) GetPublishConnectionDetailsTo

func (mg *Dnat) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Dnat.

func (*Dnat) GetTerraformResourceType

func (mg *Dnat) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Dnat

func (*Dnat) GetTerraformSchemaVersion

func (tr *Dnat) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Dnat) GetWriteConnectionSecretToReference

func (mg *Dnat) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Dnat.

func (*Dnat) LateInitialize

func (tr *Dnat) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Dnat using its observed tfState. returns True if there are any spec changes for the resource.

func (*Dnat) SetConditions

func (mg *Dnat) SetConditions(c ...xpv1.Condition)

SetConditions of this Dnat.

func (*Dnat) SetDeletionPolicy

func (mg *Dnat) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Dnat.

func (*Dnat) SetObservation

func (tr *Dnat) SetObservation(obs map[string]any) error

SetObservation for this Dnat

func (*Dnat) SetParameters

func (tr *Dnat) SetParameters(params map[string]any) error

SetParameters for this Dnat

func (*Dnat) SetProviderConfigReference

func (mg *Dnat) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Dnat.

func (*Dnat) SetProviderReference

func (mg *Dnat) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Dnat. Deprecated: Use SetProviderConfigReference.

func (*Dnat) SetPublishConnectionDetailsTo

func (mg *Dnat) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Dnat.

func (*Dnat) SetWriteConnectionSecretToReference

func (mg *Dnat) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Dnat.

type DnatList

type DnatList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Dnat `json:"items"`
}

DnatList contains a list of Dnats

func (*DnatList) DeepCopy

func (in *DnatList) DeepCopy() *DnatList

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

func (*DnatList) DeepCopyInto

func (in *DnatList) DeepCopyInto(out *DnatList)

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

func (*DnatList) DeepCopyObject

func (in *DnatList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*DnatList) GetItems

func (l *DnatList) GetItems() []resource.Managed

GetItems of this DnatList.

type DnatObservation

type DnatObservation struct {

	// Computed attribute to store the previous connection policy.
	ConnectionPolicy []ConnectionPolicyObservation `json:"connectionPolicy,omitempty" tf:"connection_policy,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Computed attribute to store the previous interface policy.
	InterfacePolicy []InterfacePolicyObservation `json:"interfacePolicy,omitempty" tf:"interface_policy,omitempty"`
}

func (*DnatObservation) DeepCopy

func (in *DnatObservation) DeepCopy() *DnatObservation

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

func (*DnatObservation) DeepCopyInto

func (in *DnatObservation) DeepCopyInto(out *DnatObservation)

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

type DnatParameters

type DnatParameters struct {

	// Policy rule applied for enabling Destination NAT (DNAT), which allows you to change the destination to a virtual address range. Currently only supports AWS(1) and Azure(8).
	// Policy rule to be applied to gateway.
	// +kubebuilder:validation:Required
	DnatPolicy []DnatPolicyParameters `json:"dnatPolicy" tf:"dnat_policy,omitempty"`
}

func (*DnatParameters) DeepCopy

func (in *DnatParameters) DeepCopy() *DnatParameters

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

func (*DnatParameters) DeepCopyInto

func (in *DnatParameters) DeepCopyInto(out *DnatParameters)

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

type DnatPolicyObservation

type DnatPolicyObservation struct {
}

func (*DnatPolicyObservation) DeepCopy

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

func (*DnatPolicyObservation) DeepCopyInto

func (in *DnatPolicyObservation) DeepCopyInto(out *DnatPolicyObservation)

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

type DnatPolicyParameters

type DnatPolicyParameters struct {

	// This is an option to program the route entry 'DST CIDR pointing to Aviatrix Gateway' into Cloud platform routing table. Type: Boolean. Default: True. Available as of provider version R2.19.2+.
	// This is an option to program the route entry 'DST CIDR pointing to Aviatrix Gateway' into Cloud platform routing table. Type: Boolean. Default: True.
	// +kubebuilder:validation:Optional
	ApplyRouteEntry *bool `json:"applyRouteEntry,omitempty" tf:"apply_route_entry,omitempty"`

	// This is a qualifier condition that specifies output connection where the rule applies. Default value: "None".
	// This is a qualifier condition that specifies output connection where the rule applies. When left blank, this field is not used.
	// +kubebuilder:validation:Optional
	Connection *string `json:"connection,omitempty" tf:"connection,omitempty"`

	// This is a rule field that specifies the translated destination IP address when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule field must be specified for this rule to take effect.
	// This is a rule field that specifies the translated destination IP address when all specified qualifier conditions meet. When left blank, this field is not used. One of the rule field must be specified for this rule to take effect.
	// +kubebuilder:validation:Optional
	DnatIps *string `json:"dnatIps,omitempty" tf:"dnat_ips,omitempty"`

	// This is a rule field that specifies the translated destination port when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule field must be specified for this rule to take effect.
	// This is a rule field that specifies the translated destination port when all specified qualifier conditions meet. When left blank, this field is not used. One of the rule field must be specified for this rule to take effect.
	// +kubebuilder:validation:Optional
	DnatPort *string `json:"dnatPort,omitempty" tf:"dnat_port,omitempty"`

	// This is a qualifier condition that specifies a destination IP address range where the rule applies. When not specified, this field is not used.
	// This is a qualifier condition that specifies a destination IP address range where the rule applies. When left blank, this field is not used.
	// +kubebuilder:validation:Optional
	DstCidr *string `json:"dstCidr,omitempty" tf:"dst_cidr,omitempty"`

	// This is a qualifier condition that specifies a destination port where the rule applies. When not specified, this field is not used.
	// This is a qualifier condition that specifies a destination port where the rule applies. When left blank, this field is not used.
	// +kubebuilder:validation:Optional
	DstPort *string `json:"dstPort,omitempty" tf:"dst_port,omitempty"`

	// This field specifies which VPC private route table will not be programmed with the default route entry.
	// This field specifies which VPC private route table will not be programmed with the default route entry.
	// +kubebuilder:validation:Optional
	ExcludeRtb *string `json:"excludeRtb,omitempty" tf:"exclude_rtb,omitempty"`

	// based connection in a policy.
	// This is a qualifier condition that specifies output interface where the rule applies. When left blank, this field is not used.
	// +kubebuilder:validation:Optional
	Interface *string `json:"interface,omitempty" tf:"interface,omitempty"`

	// This is a rule field that specifies a tag or mark of a TCP session when all qualifier conditions meet. When not specified, this field is not used.
	// This is a rule field that specifies a tag or mark of a TCP session when all qualifier conditions meet. When left blank, this field is not used.
	// +kubebuilder:validation:Optional
	Mark *string `json:"mark,omitempty" tf:"mark,omitempty"`

	// This is a qualifier condition that specifies a destination port protocol where the rule applies. When not specified, this field is not used.
	// This is a qualifier condition that specifies a destination port protocol where the rule applies. Default: all.
	// +kubebuilder:validation:Optional
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// This is a qualifier condition that specifies a source IP address range where the rule applies. When not specified, this field is not used.
	// This is a qualifier condition that specifies a source IP address range where the rule applies. When left blank, this field is not used.
	// +kubebuilder:validation:Optional
	SrcCidr *string `json:"srcCidr,omitempty" tf:"src_cidr,omitempty"`

	// This is a qualifier condition that specifies a source port that the rule applies. When not specified, this field is not used.
	// This is a qualifier condition that specifies a source port that the rule applies. When left blank, this field is not used.
	// +kubebuilder:validation:Optional
	SrcPort *string `json:"srcPort,omitempty" tf:"src_port,omitempty"`
}

func (*DnatPolicyParameters) DeepCopy

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

func (*DnatPolicyParameters) DeepCopyInto

func (in *DnatPolicyParameters) DeepCopyInto(out *DnatPolicyParameters)

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

type DnatSpec

type DnatSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DnatParameters `json:"forProvider"`
}

DnatSpec defines the desired state of Dnat

func (*DnatSpec) DeepCopy

func (in *DnatSpec) DeepCopy() *DnatSpec

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

func (*DnatSpec) DeepCopyInto

func (in *DnatSpec) DeepCopyInto(out *DnatSpec)

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

type DnatStatus

type DnatStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        DnatObservation `json:"atProvider,omitempty"`
}

DnatStatus defines the observed state of Dnat.

func (*DnatStatus) DeepCopy

func (in *DnatStatus) DeepCopy() *DnatStatus

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

func (*DnatStatus) DeepCopyInto

func (in *DnatStatus) DeepCopyInto(out *DnatStatus)

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

type InterfacePolicyObservation

type InterfacePolicyObservation struct {

	// This is an option to program the route entry 'DST CIDR pointing to Aviatrix Gateway' into Cloud platform routing table. Type: Boolean. Default: True. Available as of provider version R2.19.2+.
	ApplyRouteEntry *bool `json:"applyRouteEntry,omitempty" tf:"apply_route_entry,omitempty"`

	// This is a qualifier condition that specifies output connection where the rule applies. Default value: "None".
	Connection *string `json:"connection,omitempty" tf:"connection,omitempty"`

	// This is a rule field that specifies the translated destination IP address when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule field must be specified for this rule to take effect.
	DnatIps *string `json:"dnatIps,omitempty" tf:"dnat_ips,omitempty"`

	// This is a rule field that specifies the translated destination port when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule field must be specified for this rule to take effect.
	DnatPort *string `json:"dnatPort,omitempty" tf:"dnat_port,omitempty"`

	// This is a qualifier condition that specifies a destination IP address range where the rule applies. When not specified, this field is not used.
	DstCidr *string `json:"dstCidr,omitempty" tf:"dst_cidr,omitempty"`

	// This is a qualifier condition that specifies a destination port where the rule applies. When not specified, this field is not used.
	DstPort *string `json:"dstPort,omitempty" tf:"dst_port,omitempty"`

	// This field specifies which VPC private route table will not be programmed with the default route entry.
	ExcludeRtb *string `json:"excludeRtb,omitempty" tf:"exclude_rtb,omitempty"`

	// based connection in a policy.
	Interface *string `json:"interface,omitempty" tf:"interface,omitempty"`

	// This is a rule field that specifies a tag or mark of a TCP session when all qualifier conditions meet. When not specified, this field is not used.
	Mark *string `json:"mark,omitempty" tf:"mark,omitempty"`

	// This is a qualifier condition that specifies a destination port protocol where the rule applies. When not specified, this field is not used.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// This is a qualifier condition that specifies a source IP address range where the rule applies. When not specified, this field is not used.
	SrcCidr *string `json:"srcCidr,omitempty" tf:"src_cidr,omitempty"`

	// This is a qualifier condition that specifies a source port that the rule applies. When not specified, this field is not used.
	SrcPort *string `json:"srcPort,omitempty" tf:"src_port,omitempty"`
}

func (*InterfacePolicyObservation) DeepCopy

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

func (*InterfacePolicyObservation) DeepCopyInto

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

type InterfacePolicyParameters

type InterfacePolicyParameters struct {
}

func (*InterfacePolicyParameters) DeepCopy

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

func (*InterfacePolicyParameters) DeepCopyInto

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

type Snat

type Snat struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SnatSpec   `json:"spec"`
	Status            SnatStatus `json:"status,omitempty"`
}

Snat is the Schema for the Snats API. Configure customized SNAT policies for an Aviatrix gateway +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,aviatrix}

func (*Snat) DeepCopy

func (in *Snat) DeepCopy() *Snat

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

func (*Snat) DeepCopyInto

func (in *Snat) DeepCopyInto(out *Snat)

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

func (*Snat) DeepCopyObject

func (in *Snat) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Snat) GetCondition

func (mg *Snat) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Snat.

func (*Snat) GetConnectionDetailsMapping

func (tr *Snat) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Snat

func (*Snat) GetDeletionPolicy

func (mg *Snat) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Snat.

func (*Snat) GetID

func (tr *Snat) GetID() string

GetID returns ID of underlying Terraform resource of this Snat

func (*Snat) GetObservation

func (tr *Snat) GetObservation() (map[string]any, error)

GetObservation of this Snat

func (*Snat) GetParameters

func (tr *Snat) GetParameters() (map[string]any, error)

GetParameters of this Snat

func (*Snat) GetProviderConfigReference

func (mg *Snat) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Snat.

func (*Snat) GetProviderReference

func (mg *Snat) GetProviderReference() *xpv1.Reference

GetProviderReference of this Snat. Deprecated: Use GetProviderConfigReference.

func (*Snat) GetPublishConnectionDetailsTo

func (mg *Snat) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Snat.

func (*Snat) GetTerraformResourceType

func (mg *Snat) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Snat

func (*Snat) GetTerraformSchemaVersion

func (tr *Snat) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Snat) GetWriteConnectionSecretToReference

func (mg *Snat) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Snat.

func (*Snat) LateInitialize

func (tr *Snat) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Snat using its observed tfState. returns True if there are any spec changes for the resource.

func (*Snat) SetConditions

func (mg *Snat) SetConditions(c ...xpv1.Condition)

SetConditions of this Snat.

func (*Snat) SetDeletionPolicy

func (mg *Snat) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Snat.

func (*Snat) SetObservation

func (tr *Snat) SetObservation(obs map[string]any) error

SetObservation for this Snat

func (*Snat) SetParameters

func (tr *Snat) SetParameters(params map[string]any) error

SetParameters for this Snat

func (*Snat) SetProviderConfigReference

func (mg *Snat) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Snat.

func (*Snat) SetProviderReference

func (mg *Snat) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Snat. Deprecated: Use SetProviderConfigReference.

func (*Snat) SetPublishConnectionDetailsTo

func (mg *Snat) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Snat.

func (*Snat) SetWriteConnectionSecretToReference

func (mg *Snat) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Snat.

type SnatConnectionPolicyObservation

type SnatConnectionPolicyObservation struct {

	// This is an option to program the route entry 'DST CIDR pointing to Aviatrix Gateway' into Cloud platform routing table. Type: Boolean. Default: True. Available as of provider version R2.21.0+.
	ApplyRouteEntry *bool `json:"applyRouteEntry,omitempty" tf:"apply_route_entry,omitempty"`

	// This is a qualifier condition that specifies output connection where the rule applies. Default value: "None".
	Connection *string `json:"connection,omitempty" tf:"connection,omitempty"`

	// This is a qualifier condition that specifies a destination IP address range where the rule applies. When not specified, this field is not used.
	DstCidr *string `json:"dstCidr,omitempty" tf:"dst_cidr,omitempty"`

	// This is a qualifier condition that specifies a destination port where the rule applies. When not specified, this field is not used.
	DstPort *string `json:"dstPort,omitempty" tf:"dst_port,omitempty"`

	// This field specifies which VPC private route table will not be programmed with the default route entry.
	ExcludeRtb *string `json:"excludeRtb,omitempty" tf:"exclude_rtb,omitempty"`

	// based connection in a policy.
	Interface *string `json:"interface,omitempty" tf:"interface,omitempty"`

	// This is a qualifier condition that specifies a tag or mark of a TCP session where the rule applies. When not specified, this field is not used.
	Mark *string `json:"mark,omitempty" tf:"mark,omitempty"`

	// This is a qualifier condition that specifies a destination port protocol where the rule applies. Valid values: 'all', 'tcp', 'udp', 'icmp'. 'Default: 'all'.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// This is a rule field that specifies the changed source IP address when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule fields must be specified for this rule to take effect.
	SnatIps *string `json:"snatIps,omitempty" tf:"snat_ips,omitempty"`

	// This is a rule field that specifies the changed source port when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule fields must be specified for this rule to take effect.
	SnatPort *string `json:"snatPort,omitempty" tf:"snat_port,omitempty"`

	// This is a qualifier condition that specifies a source IP address range where the rule applies. When not specified, this field is not used.
	SrcCidr *string `json:"srcCidr,omitempty" tf:"src_cidr,omitempty"`

	// This is a qualifier condition that specifies a source port that the rule applies. When not specified, this field is not used.
	SrcPort *string `json:"srcPort,omitempty" tf:"src_port,omitempty"`
}

func (*SnatConnectionPolicyObservation) DeepCopy

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

func (*SnatConnectionPolicyObservation) DeepCopyInto

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

type SnatConnectionPolicyParameters

type SnatConnectionPolicyParameters struct {
}

func (*SnatConnectionPolicyParameters) DeepCopy

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

func (*SnatConnectionPolicyParameters) DeepCopyInto

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

type SnatInterfacePolicyObservation

type SnatInterfacePolicyObservation struct {

	// This is an option to program the route entry 'DST CIDR pointing to Aviatrix Gateway' into Cloud platform routing table. Type: Boolean. Default: True. Available as of provider version R2.21.0+.
	ApplyRouteEntry *bool `json:"applyRouteEntry,omitempty" tf:"apply_route_entry,omitempty"`

	// This is a qualifier condition that specifies output connection where the rule applies. Default value: "None".
	Connection *string `json:"connection,omitempty" tf:"connection,omitempty"`

	// This is a qualifier condition that specifies a destination IP address range where the rule applies. When not specified, this field is not used.
	DstCidr *string `json:"dstCidr,omitempty" tf:"dst_cidr,omitempty"`

	// This is a qualifier condition that specifies a destination port where the rule applies. When not specified, this field is not used.
	DstPort *string `json:"dstPort,omitempty" tf:"dst_port,omitempty"`

	// This field specifies which VPC private route table will not be programmed with the default route entry.
	ExcludeRtb *string `json:"excludeRtb,omitempty" tf:"exclude_rtb,omitempty"`

	// based connection in a policy.
	Interface *string `json:"interface,omitempty" tf:"interface,omitempty"`

	// This is a qualifier condition that specifies a tag or mark of a TCP session where the rule applies. When not specified, this field is not used.
	Mark *string `json:"mark,omitempty" tf:"mark,omitempty"`

	// This is a qualifier condition that specifies a destination port protocol where the rule applies. Valid values: 'all', 'tcp', 'udp', 'icmp'. 'Default: 'all'.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// This is a rule field that specifies the changed source IP address when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule fields must be specified for this rule to take effect.
	SnatIps *string `json:"snatIps,omitempty" tf:"snat_ips,omitempty"`

	// This is a rule field that specifies the changed source port when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule fields must be specified for this rule to take effect.
	SnatPort *string `json:"snatPort,omitempty" tf:"snat_port,omitempty"`

	// This is a qualifier condition that specifies a source IP address range where the rule applies. When not specified, this field is not used.
	SrcCidr *string `json:"srcCidr,omitempty" tf:"src_cidr,omitempty"`

	// This is a qualifier condition that specifies a source port that the rule applies. When not specified, this field is not used.
	SrcPort *string `json:"srcPort,omitempty" tf:"src_port,omitempty"`
}

func (*SnatInterfacePolicyObservation) DeepCopy

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

func (*SnatInterfacePolicyObservation) DeepCopyInto

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

type SnatInterfacePolicyParameters

type SnatInterfacePolicyParameters struct {
}

func (*SnatInterfacePolicyParameters) DeepCopy

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

func (*SnatInterfacePolicyParameters) DeepCopyInto

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

type SnatList

type SnatList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Snat `json:"items"`
}

SnatList contains a list of Snats

func (*SnatList) DeepCopy

func (in *SnatList) DeepCopy() *SnatList

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

func (*SnatList) DeepCopyInto

func (in *SnatList) DeepCopyInto(out *SnatList)

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

func (*SnatList) DeepCopyObject

func (in *SnatList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*SnatList) GetItems

func (l *SnatList) GetItems() []resource.Managed

GetItems of this SnatList.

type SnatObservation

type SnatObservation struct {

	// Computed attribute to store the previous connection policy.
	ConnectionPolicy []SnatConnectionPolicyObservation `json:"connectionPolicy,omitempty" tf:"connection_policy,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Computed attribute to store the previous interface policy.
	InterfacePolicy []SnatInterfacePolicyObservation `json:"interfacePolicy,omitempty" tf:"interface_policy,omitempty"`
}

func (*SnatObservation) DeepCopy

func (in *SnatObservation) DeepCopy() *SnatObservation

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

func (*SnatObservation) DeepCopyInto

func (in *SnatObservation) DeepCopyInto(out *SnatObservation)

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

type SnatParameters

type SnatParameters struct {

	// NAT mode. Valid values: "customized_snat". Default value: "customized_snat".
	// Nat mode. Currently only supports 'customized_snat'.
	// +kubebuilder:validation:Optional
	SnatMode *string `json:"snatMode,omitempty" tf:"snat_mode,omitempty"`

	// Policy rule applied for enabling source NAT (mode: "customized_snat"). Currently only supports AWS(1) and Azure(8).
	// Policy rules applied for 'snat_mode” of 'customized_snat'.'
	// +kubebuilder:validation:Optional
	SnatPolicy []SnatPolicyParameters `json:"snatPolicy,omitempty" tf:"snat_policy,omitempty"`

	// Whether to sync the policies to the HA gateway.
	// +kubebuilder:validation:Optional
	SyncToHa *bool `json:"syncToHa,omitempty" tf:"sync_to_ha,omitempty"`
}

func (*SnatParameters) DeepCopy

func (in *SnatParameters) DeepCopy() *SnatParameters

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

func (*SnatParameters) DeepCopyInto

func (in *SnatParameters) DeepCopyInto(out *SnatParameters)

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

type SnatPolicyObservation

type SnatPolicyObservation struct {
}

func (*SnatPolicyObservation) DeepCopy

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

func (*SnatPolicyObservation) DeepCopyInto

func (in *SnatPolicyObservation) DeepCopyInto(out *SnatPolicyObservation)

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

type SnatPolicyParameters

type SnatPolicyParameters struct {

	// This is an option to program the route entry 'DST CIDR pointing to Aviatrix Gateway' into Cloud platform routing table. Type: Boolean. Default: True. Available as of provider version R2.21.0+.
	// This is an option to program the route entry 'DST CIDR pointing to Aviatrix Gateway' into Cloud platform routing table. Type: Boolean. Default: True.
	// +kubebuilder:validation:Optional
	ApplyRouteEntry *bool `json:"applyRouteEntry,omitempty" tf:"apply_route_entry,omitempty"`

	// This is a qualifier condition that specifies output connection where the rule applies. Default value: "None".
	// This is a qualifier condition that specifies output connection where the rule applies. When left blank, this field is not used.
	// +kubebuilder:validation:Optional
	Connection *string `json:"connection,omitempty" tf:"connection,omitempty"`

	// This is a qualifier condition that specifies a destination IP address range where the rule applies. When not specified, this field is not used.
	// This is a qualifier condition that specifies a destination IP address range where the rule applies. When left blank, this field is not used.
	// +kubebuilder:validation:Optional
	DstCidr *string `json:"dstCidr,omitempty" tf:"dst_cidr,omitempty"`

	// This is a qualifier condition that specifies a destination port where the rule applies. When not specified, this field is not used.
	// This is a qualifier condition that specifies a destination port where the rule applies. When left blank, this field is not used.
	// +kubebuilder:validation:Optional
	DstPort *string `json:"dstPort,omitempty" tf:"dst_port,omitempty"`

	// This field specifies which VPC private route table will not be programmed with the default route entry.
	// This field specifies which VPC private route table will not be programmed with the default route entry.
	// +kubebuilder:validation:Optional
	ExcludeRtb *string `json:"excludeRtb,omitempty" tf:"exclude_rtb,omitempty"`

	// based connection in a policy.
	// This is a qualifier condition that specifies output interface where the rule applies. When left blank, this field is not used.
	// +kubebuilder:validation:Optional
	Interface *string `json:"interface,omitempty" tf:"interface,omitempty"`

	// This is a qualifier condition that specifies a tag or mark of a TCP session where the rule applies. When not specified, this field is not used.
	// This is a qualifier condition that specifies a tag or mark of a TCP session where the rule applies. When left blank, this field is not used.
	// +kubebuilder:validation:Optional
	Mark *string `json:"mark,omitempty" tf:"mark,omitempty"`

	// This is a qualifier condition that specifies a destination port protocol where the rule applies. Valid values: 'all', 'tcp', 'udp', 'icmp'. 'Default: 'all'.
	// This is a qualifier condition that specifies a destination port protocol where the rule applies. Default: all.
	// +kubebuilder:validation:Optional
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// This is a rule field that specifies the changed source IP address when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule fields must be specified for this rule to take effect.
	// This is a rule field that specifies the changed source IP address when all specified qualifier conditions meet. When left blank, this field is not used. One of the rule fields must be specified for this rule to take effect.
	// +kubebuilder:validation:Optional
	SnatIps *string `json:"snatIps,omitempty" tf:"snat_ips,omitempty"`

	// This is a rule field that specifies the changed source port when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule fields must be specified for this rule to take effect.
	// This is a rule field that specifies the changed source port when all specified qualifier conditions meet. When left blank, this field is not used. One of the rule fields must be specified for this rule to take effect.
	// +kubebuilder:validation:Optional
	SnatPort *string `json:"snatPort,omitempty" tf:"snat_port,omitempty"`

	// This is a qualifier condition that specifies a source IP address range where the rule applies. When not specified, this field is not used.
	// This is a qualifier condition that specifies a source IP address range where the rule applies. When left blank, this field is not used.
	// +kubebuilder:validation:Optional
	SrcCidr *string `json:"srcCidr,omitempty" tf:"src_cidr,omitempty"`

	// This is a qualifier condition that specifies a source port that the rule applies. When not specified, this field is not used.
	// This is a qualifier condition that specifies a source port that the rule applies. When left blank, this field is not used.
	// +kubebuilder:validation:Optional
	SrcPort *string `json:"srcPort,omitempty" tf:"src_port,omitempty"`
}

func (*SnatPolicyParameters) DeepCopy

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

func (*SnatPolicyParameters) DeepCopyInto

func (in *SnatPolicyParameters) DeepCopyInto(out *SnatPolicyParameters)

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

type SnatSpec

type SnatSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     SnatParameters `json:"forProvider"`
}

SnatSpec defines the desired state of Snat

func (*SnatSpec) DeepCopy

func (in *SnatSpec) DeepCopy() *SnatSpec

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

func (*SnatSpec) DeepCopyInto

func (in *SnatSpec) DeepCopyInto(out *SnatSpec)

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

type SnatStatus

type SnatStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        SnatObservation `json:"atProvider,omitempty"`
}

SnatStatus defines the observed state of Snat.

func (*SnatStatus) DeepCopy

func (in *SnatStatus) DeepCopy() *SnatStatus

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

func (*SnatStatus) DeepCopyInto

func (in *SnatStatus) DeepCopyInto(out *SnatStatus)

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