v1alpha1

package
v0.0.0-...-4b4ec10 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

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

Index

Constants

View Source
const (
	CRDGroup   = "nsxt_lb_http_virtual_server.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 (
	LbHttpVirtualServer_Kind             = "LbHttpVirtualServer"
	LbHttpVirtualServer_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: LbHttpVirtualServer_Kind}.String()
	LbHttpVirtualServer_KindAPIVersion   = LbHttpVirtualServer_Kind + "." + CRDGroupVersion.String()
	LbHttpVirtualServer_GroupVersionKind = CRDGroupVersion.WithKind(LbHttpVirtualServer_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ClientSSLObservation

type ClientSSLObservation struct {

	// List of CA ids for client authentication
	CAIds []*string `json:"caIds,omitempty" tf:"ca_ids,omitempty"`

	// Verification depth in the server certificate chain
	CertificateChainDepth *float64 `json:"certificateChainDepth,omitempty" tf:"certificate_chain_depth,omitempty"`

	// Whether client certificate authentication is mandatory
	ClientAuth *bool `json:"clientAuth,omitempty" tf:"client_auth,omitempty"`

	// Id of client SSL profile that defines reusable properties
	ClientSSLProfileID *string `json:"clientSslProfileId,omitempty" tf:"client_ssl_profile_id,omitempty"`

	// List of CRL ids for client authentication
	CrlIds []*string `json:"crlIds,omitempty" tf:"crl_ids,omitempty"`

	// Id of certificate that will be used if the server does not host multiple hostnames on the same IP address or if the client does not support SNI extension
	DefaultCertificateID *string `json:"defaultCertificateId,omitempty" tf:"default_certificate_id,omitempty"`

	// List of certificates to serve different hostnames
	SniCertificateIds []*string `json:"sniCertificateIds,omitempty" tf:"sni_certificate_ids,omitempty"`
}

type ClientSSLParameters

type ClientSSLParameters struct {

	// List of CA ids for client authentication
	// +kubebuilder:validation:Optional
	CAIds []*string `json:"caIds,omitempty" tf:"ca_ids,omitempty"`

	// Verification depth in the server certificate chain
	// +kubebuilder:validation:Optional
	CertificateChainDepth *float64 `json:"certificateChainDepth,omitempty" tf:"certificate_chain_depth,omitempty"`

	// Whether client certificate authentication is mandatory
	// +kubebuilder:validation:Optional
	ClientAuth *bool `json:"clientAuth,omitempty" tf:"client_auth,omitempty"`

	// Id of client SSL profile that defines reusable properties
	// +kubebuilder:validation:Required
	ClientSSLProfileID *string `json:"clientSslProfileId" tf:"client_ssl_profile_id,omitempty"`

	// List of CRL ids for client authentication
	// +kubebuilder:validation:Optional
	CrlIds []*string `json:"crlIds,omitempty" tf:"crl_ids,omitempty"`

	// Id of certificate that will be used if the server does not host multiple hostnames on the same IP address or if the client does not support SNI extension
	// +kubebuilder:validation:Required
	DefaultCertificateID *string `json:"defaultCertificateId" tf:"default_certificate_id,omitempty"`

	// List of certificates to serve different hostnames
	// +kubebuilder:validation:Optional
	SniCertificateIds []*string `json:"sniCertificateIds,omitempty" tf:"sni_certificate_ids,omitempty"`
}

type LbHttpVirtualServer

type LbHttpVirtualServer 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.port)",message="port is a required parameter"
	Spec   LbHttpVirtualServerSpec   `json:"spec"`
	Status LbHttpVirtualServerStatus `json:"status,omitempty"`
}

LbHttpVirtualServer is the Schema for the LbHttpVirtualServers 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 (*LbHttpVirtualServer) GetCondition

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

GetCondition of this LbHttpVirtualServer.

func (*LbHttpVirtualServer) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this LbHttpVirtualServer

func (*LbHttpVirtualServer) GetDeletionPolicy

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

GetDeletionPolicy of this LbHttpVirtualServer.

func (*LbHttpVirtualServer) GetID

func (tr *LbHttpVirtualServer) GetID() string

GetID returns ID of underlying Terraform resource of this LbHttpVirtualServer

func (*LbHttpVirtualServer) GetManagementPolicy

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

GetManagementPolicy of this LbHttpVirtualServer.

func (*LbHttpVirtualServer) GetObservation

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

GetObservation of this LbHttpVirtualServer

func (*LbHttpVirtualServer) GetParameters

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

GetParameters of this LbHttpVirtualServer

func (*LbHttpVirtualServer) GetProviderConfigReference

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

GetProviderConfigReference of this LbHttpVirtualServer.

func (*LbHttpVirtualServer) GetProviderReference

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

GetProviderReference of this LbHttpVirtualServer. Deprecated: Use GetProviderConfigReference.

func (*LbHttpVirtualServer) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this LbHttpVirtualServer.

func (*LbHttpVirtualServer) GetTerraformResourceType

func (mg *LbHttpVirtualServer) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this LbHttpVirtualServer

func (*LbHttpVirtualServer) GetTerraformSchemaVersion

func (tr *LbHttpVirtualServer) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*LbHttpVirtualServer) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this LbHttpVirtualServer.

func (*LbHttpVirtualServer) LateInitialize

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

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

func (*LbHttpVirtualServer) SetConditions

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

SetConditions of this LbHttpVirtualServer.

func (*LbHttpVirtualServer) SetDeletionPolicy

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

SetDeletionPolicy of this LbHttpVirtualServer.

func (*LbHttpVirtualServer) SetManagementPolicy

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

SetManagementPolicy of this LbHttpVirtualServer.

func (*LbHttpVirtualServer) SetObservation

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

SetObservation for this LbHttpVirtualServer

func (*LbHttpVirtualServer) SetParameters

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

SetParameters for this LbHttpVirtualServer

func (*LbHttpVirtualServer) SetProviderConfigReference

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

SetProviderConfigReference of this LbHttpVirtualServer.

func (*LbHttpVirtualServer) SetProviderReference

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

SetProviderReference of this LbHttpVirtualServer. Deprecated: Use SetProviderConfigReference.

func (*LbHttpVirtualServer) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this LbHttpVirtualServer.

func (*LbHttpVirtualServer) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this LbHttpVirtualServer.

type LbHttpVirtualServerList

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

LbHttpVirtualServerList contains a list of LbHttpVirtualServers

func (*LbHttpVirtualServerList) GetItems

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

GetItems of this LbHttpVirtualServerList.

type LbHttpVirtualServerObservation

type LbHttpVirtualServerObservation struct {

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

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

	// Client SSL settings for Virtual Server
	ClientSSL []ClientSSLObservation `json:"clientSsl,omitempty" tf:"client_ssl,omitempty"`

	// Default pool member port
	DefaultPoolMemberPort *string `json:"defaultPoolMemberPort,omitempty" tf:"default_pool_member_port,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
	PersistenceProfileID *string `json:"persistenceProfileId,omitempty" tf:"persistence_profile_id,omitempty"`

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

	// Virtual server port
	Port *string `json:"port,omitempty" tf:"port,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"`

	// Customization of load balancing behavior using match/action rules
	RuleIds []*string `json:"ruleIds,omitempty" tf:"rule_ids,omitempty"`

	// Server SSL settings for Virtual Server
	ServerSSL []ServerSSLObservation `json:"serverSsl,omitempty" tf:"server_ssl,omitempty"`

	// When load balancer can not select a backend server to serve the request in default pool or pool in rules, 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"`
}

type LbHttpVirtualServerParameters

type LbHttpVirtualServerParameters struct {

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

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

	// Client SSL settings for Virtual Server
	// +kubebuilder:validation:Optional
	ClientSSL []ClientSSLParameters `json:"clientSsl,omitempty" tf:"client_ssl,omitempty"`

	// Default pool member port
	// +kubebuilder:validation:Optional
	DefaultPoolMemberPort *string `json:"defaultPoolMemberPort,omitempty" tf:"default_pool_member_port,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
	// +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"`

	// Virtual server port
	// +kubebuilder:validation:Optional
	Port *string `json:"port,omitempty" tf:"port,omitempty"`

	// Customization of load balancing behavior using match/action rules
	// +kubebuilder:validation:Optional
	RuleIds []*string `json:"ruleIds,omitempty" tf:"rule_ids,omitempty"`

	// Server SSL settings for Virtual Server
	// +kubebuilder:validation:Optional
	ServerSSL []ServerSSLParameters `json:"serverSsl,omitempty" tf:"server_ssl,omitempty"`

	// When load balancer can not select a backend server to serve the request in default pool or pool in rules, 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"`
}

type LbHttpVirtualServerSpec

type LbHttpVirtualServerSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     LbHttpVirtualServerParameters `json:"forProvider"`
}

LbHttpVirtualServerSpec defines the desired state of LbHttpVirtualServer

type LbHttpVirtualServerStatus

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

LbHttpVirtualServerStatus defines the observed state of LbHttpVirtualServer.

type ServerSSLObservation

type ServerSSLObservation struct {

	// List of CA ids for server authentication
	CAIds []*string `json:"caIds,omitempty" tf:"ca_ids,omitempty"`

	// Verification depth in the server certificate chain
	CertificateChainDepth *float64 `json:"certificateChainDepth,omitempty" tf:"certificate_chain_depth,omitempty"`

	// Id of certificate that will be used if the server does not host multiple hostnames on the same IP address or if the client does not support SNI extension
	ClientCertificateID *string `json:"clientCertificateId,omitempty" tf:"client_certificate_id,omitempty"`

	// List of CRL ids for server authentication
	CrlIds []*string `json:"crlIds,omitempty" tf:"crl_ids,omitempty"`

	// Server authentication mode
	ServerAuth *bool `json:"serverAuth,omitempty" tf:"server_auth,omitempty"`

	// Id of server SSL profile that defines reusable properties
	ServerSSLProfileID *string `json:"serverSslProfileId,omitempty" tf:"server_ssl_profile_id,omitempty"`
}

type ServerSSLParameters

type ServerSSLParameters struct {

	// List of CA ids for server authentication
	// +kubebuilder:validation:Optional
	CAIds []*string `json:"caIds,omitempty" tf:"ca_ids,omitempty"`

	// Verification depth in the server certificate chain
	// +kubebuilder:validation:Optional
	CertificateChainDepth *float64 `json:"certificateChainDepth,omitempty" tf:"certificate_chain_depth,omitempty"`

	// Id of certificate that will be used if the server does not host multiple hostnames on the same IP address or if the client does not support SNI extension
	// +kubebuilder:validation:Optional
	ClientCertificateID *string `json:"clientCertificateId,omitempty" tf:"client_certificate_id,omitempty"`

	// List of CRL ids for server authentication
	// +kubebuilder:validation:Optional
	CrlIds []*string `json:"crlIds,omitempty" tf:"crl_ids,omitempty"`

	// Server authentication mode
	// +kubebuilder:validation:Optional
	ServerAuth *bool `json:"serverAuth,omitempty" tf:"server_auth,omitempty"`

	// Id of server SSL profile that defines reusable properties
	// +kubebuilder:validation:Required
	ServerSSLProfileID *string `json:"serverSslProfileId" tf:"server_ssl_profile_id,omitempty"`
}

type TagObservation

type TagObservation struct {
	Scope *string `json:"scope,omitempty" tf:"scope,omitempty"`

	Tag *string `json:"tag,omitempty" tf:"tag,omitempty"`
}

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"`
}

Jump to

Keyboard shortcuts

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