v1alpha1

package
v0.0.0-...-ca042ce Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=nsxtlbtcpvirtualserver.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "nsxtlbtcpvirtualserver.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

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 (
	LbTcpVirtualServer_Kind             = "LbTcpVirtualServer"
	LbTcpVirtualServer_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: LbTcpVirtualServer_Kind}.String()
	LbTcpVirtualServer_KindAPIVersion   = LbTcpVirtualServer_Kind + "." + CRDGroupVersion.String()
	LbTcpVirtualServer_GroupVersionKind = CRDGroupVersion.WithKind(LbTcpVirtualServer_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type LbTcpVirtualServer

type LbTcpVirtualServer struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.applicationProfileId)",message="applicationProfileId is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.ipAddress)",message="ipAddress is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.ports)",message="ports is a required parameter"
	Spec   LbTcpVirtualServerSpec   `json:"spec"`
	Status LbTcpVirtualServerStatus `json:"status,omitempty"`
}

LbTcpVirtualServer is the Schema for the LbTcpVirtualServers 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 (*LbTcpVirtualServer) DeepCopy

func (in *LbTcpVirtualServer) DeepCopy() *LbTcpVirtualServer

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

func (*LbTcpVirtualServer) DeepCopyInto

func (in *LbTcpVirtualServer) DeepCopyInto(out *LbTcpVirtualServer)

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

func (*LbTcpVirtualServer) DeepCopyObject

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

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

func (*LbTcpVirtualServer) GetCondition

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

GetCondition of this LbTcpVirtualServer.

func (*LbTcpVirtualServer) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this LbTcpVirtualServer

func (*LbTcpVirtualServer) GetDeletionPolicy

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

GetDeletionPolicy of this LbTcpVirtualServer.

func (*LbTcpVirtualServer) GetID

func (tr *LbTcpVirtualServer) GetID() string

GetID returns ID of underlying Terraform resource of this LbTcpVirtualServer

func (*LbTcpVirtualServer) GetManagementPolicy

func (mg *LbTcpVirtualServer) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this LbTcpVirtualServer.

func (*LbTcpVirtualServer) GetObservation

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

GetObservation of this LbTcpVirtualServer

func (*LbTcpVirtualServer) GetParameters

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

GetParameters of this LbTcpVirtualServer

func (*LbTcpVirtualServer) GetProviderConfigReference

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

GetProviderConfigReference of this LbTcpVirtualServer.

func (*LbTcpVirtualServer) GetProviderReference

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

GetProviderReference of this LbTcpVirtualServer. Deprecated: Use GetProviderConfigReference.

func (*LbTcpVirtualServer) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this LbTcpVirtualServer.

func (*LbTcpVirtualServer) GetTerraformResourceType

func (mg *LbTcpVirtualServer) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this LbTcpVirtualServer

func (*LbTcpVirtualServer) GetTerraformSchemaVersion

func (tr *LbTcpVirtualServer) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*LbTcpVirtualServer) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this LbTcpVirtualServer.

func (*LbTcpVirtualServer) LateInitialize

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

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

func (*LbTcpVirtualServer) SetConditions

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

SetConditions of this LbTcpVirtualServer.

func (*LbTcpVirtualServer) SetDeletionPolicy

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

SetDeletionPolicy of this LbTcpVirtualServer.

func (*LbTcpVirtualServer) SetManagementPolicy

func (mg *LbTcpVirtualServer) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this LbTcpVirtualServer.

func (*LbTcpVirtualServer) SetObservation

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

SetObservation for this LbTcpVirtualServer

func (*LbTcpVirtualServer) SetParameters

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

SetParameters for this LbTcpVirtualServer

func (*LbTcpVirtualServer) SetProviderConfigReference

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

SetProviderConfigReference of this LbTcpVirtualServer.

func (*LbTcpVirtualServer) SetProviderReference

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

SetProviderReference of this LbTcpVirtualServer. Deprecated: Use SetProviderConfigReference.

func (*LbTcpVirtualServer) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this LbTcpVirtualServer.

func (*LbTcpVirtualServer) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this LbTcpVirtualServer.

type LbTcpVirtualServerList

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

LbTcpVirtualServerList contains a list of LbTcpVirtualServers

func (*LbTcpVirtualServerList) DeepCopy

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

func (*LbTcpVirtualServerList) DeepCopyInto

func (in *LbTcpVirtualServerList) DeepCopyInto(out *LbTcpVirtualServerList)

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

func (*LbTcpVirtualServerList) DeepCopyObject

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

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

func (*LbTcpVirtualServerList) GetItems

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

GetItems of this LbTcpVirtualServerList.

type LbTcpVirtualServerObservation

type LbTcpVirtualServerObservation struct {

	// Whether access log is enabled
	AccessLogEnabled *bool `json:"accessLogEnabled,omitempty" tf:"access_log_enabled,omitempty"`

	// The tcp application profile defines the application protocol characteristics
	ApplicationProfileID *string `json:"applicationProfileId,omitempty" tf:"application_profile_id,omitempty"`

	// Default pool member ports or port range
	DefaultPoolMemberPorts []*string `json:"defaultPoolMemberPorts,omitempty" tf:"default_pool_member_ports,omitempty"`

	// Description of this resource
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The display name of this resource. Defaults to ID if not set
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// whether the virtual server is enabled
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

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

	// virtual server IP address
	IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"`

	// If not specified, connections are unlimited
	MaxConcurrentConnections *float64 `json:"maxConcurrentConnections,omitempty" tf:"max_concurrent_connections,omitempty"`

	// If not specified, connection rate is unlimited
	MaxNewConnectionRate *float64 `json:"maxNewConnectionRate,omitempty" tf:"max_new_connection_rate,omitempty"`

	// Persistence profile is used to allow related client connections to be sent to the same backend server. Source ip persistence is supported.
	PersistenceProfileID *string `json:"persistenceProfileId,omitempty" tf:"persistence_profile_id,omitempty"`

	// Server pool for backend connections
	PoolID *string `json:"poolId,omitempty" tf:"pool_id,omitempty"`

	// Single port, multiple ports or port ranges
	Ports []*string `json:"ports,omitempty" tf:"ports,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"`

	// When load balancer can not select a backend server to serve the request in default pool, the request would be served by sorry server pool
	SorryPoolID *string `json:"sorryPoolId,omitempty" tf:"sorry_pool_id,omitempty"`

	// Set of opaque identifiers meaningful to the user
	Tag []TagObservation `json:"tag,omitempty" tf:"tag,omitempty"`
}

func (*LbTcpVirtualServerObservation) DeepCopy

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

func (*LbTcpVirtualServerObservation) DeepCopyInto

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

type LbTcpVirtualServerParameters

type LbTcpVirtualServerParameters struct {

	// Whether access log is enabled
	// +kubebuilder:validation:Optional
	AccessLogEnabled *bool `json:"accessLogEnabled,omitempty" tf:"access_log_enabled,omitempty"`

	// The tcp application profile defines the application protocol characteristics
	// +kubebuilder:validation:Optional
	ApplicationProfileID *string `json:"applicationProfileId,omitempty" tf:"application_profile_id,omitempty"`

	// Default pool member ports or port range
	// +kubebuilder:validation:Optional
	DefaultPoolMemberPorts []*string `json:"defaultPoolMemberPorts,omitempty" tf:"default_pool_member_ports,omitempty"`

	// Description of this resource
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The display name of this resource. Defaults to ID if not set
	// +kubebuilder:validation:Optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// whether the virtual server is enabled
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// virtual server IP address
	// +kubebuilder:validation:Optional
	IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"`

	// If not specified, connections are unlimited
	// +kubebuilder:validation:Optional
	MaxConcurrentConnections *float64 `json:"maxConcurrentConnections,omitempty" tf:"max_concurrent_connections,omitempty"`

	// If not specified, connection rate is unlimited
	// +kubebuilder:validation:Optional
	MaxNewConnectionRate *float64 `json:"maxNewConnectionRate,omitempty" tf:"max_new_connection_rate,omitempty"`

	// Persistence profile is used to allow related client connections to be sent to the same backend server. Source ip persistence is supported.
	// +kubebuilder:validation:Optional
	PersistenceProfileID *string `json:"persistenceProfileId,omitempty" tf:"persistence_profile_id,omitempty"`

	// Server pool for backend connections
	// +kubebuilder:validation:Optional
	PoolID *string `json:"poolId,omitempty" tf:"pool_id,omitempty"`

	// Single port, multiple ports or port ranges
	// +kubebuilder:validation:Optional
	Ports []*string `json:"ports,omitempty" tf:"ports,omitempty"`

	// When load balancer can not select a backend server to serve the request in default pool, the request would be served by sorry server pool
	// +kubebuilder:validation:Optional
	SorryPoolID *string `json:"sorryPoolId,omitempty" tf:"sorry_pool_id,omitempty"`

	// Set of opaque identifiers meaningful to the user
	// +kubebuilder:validation:Optional
	Tag []TagParameters `json:"tag,omitempty" tf:"tag,omitempty"`
}

func (*LbTcpVirtualServerParameters) DeepCopy

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

func (*LbTcpVirtualServerParameters) DeepCopyInto

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

type LbTcpVirtualServerSpec

type LbTcpVirtualServerSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     LbTcpVirtualServerParameters `json:"forProvider"`
}

LbTcpVirtualServerSpec defines the desired state of LbTcpVirtualServer

func (*LbTcpVirtualServerSpec) DeepCopy

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

func (*LbTcpVirtualServerSpec) DeepCopyInto

func (in *LbTcpVirtualServerSpec) DeepCopyInto(out *LbTcpVirtualServerSpec)

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

type LbTcpVirtualServerStatus

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

LbTcpVirtualServerStatus defines the observed state of LbTcpVirtualServer.

func (*LbTcpVirtualServerStatus) DeepCopy

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

func (*LbTcpVirtualServerStatus) DeepCopyInto

func (in *LbTcpVirtualServerStatus) DeepCopyInto(out *LbTcpVirtualServerStatus)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL