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_cookie_persistence_profile.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "nsxt_lb_cookie_persistence_profile.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 (
	LbCookiePersistenceProfile_Kind             = "LbCookiePersistenceProfile"
	LbCookiePersistenceProfile_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: LbCookiePersistenceProfile_Kind}.String()
	LbCookiePersistenceProfile_KindAPIVersion   = LbCookiePersistenceProfile_Kind + "." + CRDGroupVersion.String()
	LbCookiePersistenceProfile_GroupVersionKind = CRDGroupVersion.WithKind(LbCookiePersistenceProfile_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type InsertModeParamsObservation

type InsertModeParamsObservation struct {

	// HTTP cookie domain
	CookieDomain *string `json:"cookieDomain,omitempty" tf:"cookie_domain,omitempty"`

	// Type of cookie expiration timing
	CookieExpiryType *string `json:"cookieExpiryType,omitempty" tf:"cookie_expiry_type,omitempty"`

	// HTTP cookie path
	CookiePath *string `json:"cookiePath,omitempty" tf:"cookie_path,omitempty"`

	// Maximum interval (in seconds) the cookie is valid for from the last time it was seen in a request (required if cookie_expiry_type is set)
	MaxIdleTime *float64 `json:"maxIdleTime,omitempty" tf:"max_idle_time,omitempty"`

	// Maximum interval (in seconds) the cookie is valid for from the first time the cookie was seen in a request (required if cookie_expiry_type is SESSION_COOKIE_TIME expiration)
	MaxLifeTime *float64 `json:"maxLifeTime,omitempty" tf:"max_life_time,omitempty"`
}

type InsertModeParamsParameters

type InsertModeParamsParameters struct {

	// HTTP cookie domain
	// +kubebuilder:validation:Optional
	CookieDomain *string `json:"cookieDomain,omitempty" tf:"cookie_domain,omitempty"`

	// Type of cookie expiration timing
	// +kubebuilder:validation:Optional
	CookieExpiryType *string `json:"cookieExpiryType,omitempty" tf:"cookie_expiry_type,omitempty"`

	// HTTP cookie path
	// +kubebuilder:validation:Optional
	CookiePath *string `json:"cookiePath,omitempty" tf:"cookie_path,omitempty"`

	// Maximum interval (in seconds) the cookie is valid for from the last time it was seen in a request (required if cookie_expiry_type is set)
	// +kubebuilder:validation:Optional
	MaxIdleTime *float64 `json:"maxIdleTime,omitempty" tf:"max_idle_time,omitempty"`

	// Maximum interval (in seconds) the cookie is valid for from the first time the cookie was seen in a request (required if cookie_expiry_type is SESSION_COOKIE_TIME expiration)
	// +kubebuilder:validation:Optional
	MaxLifeTime *float64 `json:"maxLifeTime,omitempty" tf:"max_life_time,omitempty"`
}

type LbCookiePersistenceProfile

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

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

GetCondition of this LbCookiePersistenceProfile.

func (*LbCookiePersistenceProfile) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this LbCookiePersistenceProfile

func (*LbCookiePersistenceProfile) GetDeletionPolicy

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

GetDeletionPolicy of this LbCookiePersistenceProfile.

func (*LbCookiePersistenceProfile) GetID

func (tr *LbCookiePersistenceProfile) GetID() string

GetID returns ID of underlying Terraform resource of this LbCookiePersistenceProfile

func (*LbCookiePersistenceProfile) GetManagementPolicy

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

GetManagementPolicy of this LbCookiePersistenceProfile.

func (*LbCookiePersistenceProfile) GetObservation

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

GetObservation of this LbCookiePersistenceProfile

func (*LbCookiePersistenceProfile) GetParameters

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

GetParameters of this LbCookiePersistenceProfile

func (*LbCookiePersistenceProfile) GetProviderConfigReference

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

GetProviderConfigReference of this LbCookiePersistenceProfile.

func (*LbCookiePersistenceProfile) GetProviderReference

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

GetProviderReference of this LbCookiePersistenceProfile. Deprecated: Use GetProviderConfigReference.

func (*LbCookiePersistenceProfile) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this LbCookiePersistenceProfile.

func (*LbCookiePersistenceProfile) GetTerraformResourceType

func (mg *LbCookiePersistenceProfile) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this LbCookiePersistenceProfile

func (*LbCookiePersistenceProfile) GetTerraformSchemaVersion

func (tr *LbCookiePersistenceProfile) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*LbCookiePersistenceProfile) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this LbCookiePersistenceProfile.

func (*LbCookiePersistenceProfile) LateInitialize

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

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

func (*LbCookiePersistenceProfile) SetConditions

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

SetConditions of this LbCookiePersistenceProfile.

func (*LbCookiePersistenceProfile) SetDeletionPolicy

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

SetDeletionPolicy of this LbCookiePersistenceProfile.

func (*LbCookiePersistenceProfile) SetManagementPolicy

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

SetManagementPolicy of this LbCookiePersistenceProfile.

func (*LbCookiePersistenceProfile) SetObservation

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

SetObservation for this LbCookiePersistenceProfile

func (*LbCookiePersistenceProfile) SetParameters

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

SetParameters for this LbCookiePersistenceProfile

func (*LbCookiePersistenceProfile) SetProviderConfigReference

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

SetProviderConfigReference of this LbCookiePersistenceProfile.

func (*LbCookiePersistenceProfile) SetProviderReference

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

SetProviderReference of this LbCookiePersistenceProfile. Deprecated: Use SetProviderConfigReference.

func (*LbCookiePersistenceProfile) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this LbCookiePersistenceProfile.

func (*LbCookiePersistenceProfile) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this LbCookiePersistenceProfile.

type LbCookiePersistenceProfileList

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

LbCookiePersistenceProfileList contains a list of LbCookiePersistenceProfiles

func (*LbCookiePersistenceProfileList) GetItems

GetItems of this LbCookiePersistenceProfileList.

type LbCookiePersistenceProfileObservation

type LbCookiePersistenceProfileObservation struct {

	// A boolean flag which reflects whether once the server points by this cookie is down, a new server is selected, or the requests will be rejected
	CookieFallback *bool `json:"cookieFallback,omitempty" tf:"cookie_fallback,omitempty"`

	// A boolean flag which reflects whether the cookie value (server IP and port) would be encrypted or in plain text
	CookieGarble *bool `json:"cookieGarble,omitempty" tf:"cookie_garble,omitempty"`

	// The cookie persistence mode
	CookieMode *string `json:"cookieMode,omitempty" tf:"cookie_mode,omitempty"`

	// The name of the cookie
	CookieName *string `json:"cookieName,omitempty" tf:"cookie_name,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"`

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

	// Additional parameters for the INSERT cookie mode
	InsertModeParams []InsertModeParamsObservation `json:"insertModeParams,omitempty" tf:"insert_mode_params,omitempty"`

	// A boolean flag which reflects whether the cookie persistence is private or shared
	PersistenceShared *bool `json:"persistenceShared,omitempty" tf:"persistence_shared,omitempty"`

	// The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected
	Revision *float64 `json:"revision,omitempty" tf:"revision,omitempty"`

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

type LbCookiePersistenceProfileParameters

type LbCookiePersistenceProfileParameters struct {

	// A boolean flag which reflects whether once the server points by this cookie is down, a new server is selected, or the requests will be rejected
	// +kubebuilder:validation:Optional
	CookieFallback *bool `json:"cookieFallback,omitempty" tf:"cookie_fallback,omitempty"`

	// A boolean flag which reflects whether the cookie value (server IP and port) would be encrypted or in plain text
	// +kubebuilder:validation:Optional
	CookieGarble *bool `json:"cookieGarble,omitempty" tf:"cookie_garble,omitempty"`

	// The cookie persistence mode
	// +kubebuilder:validation:Optional
	CookieMode *string `json:"cookieMode,omitempty" tf:"cookie_mode,omitempty"`

	// The name of the cookie
	// +kubebuilder:validation:Optional
	CookieName *string `json:"cookieName,omitempty" tf:"cookie_name,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"`

	// Additional parameters for the INSERT cookie mode
	// +kubebuilder:validation:Optional
	InsertModeParams []InsertModeParamsParameters `json:"insertModeParams,omitempty" tf:"insert_mode_params,omitempty"`

	// A boolean flag which reflects whether the cookie persistence is private or shared
	// +kubebuilder:validation:Optional
	PersistenceShared *bool `json:"persistenceShared,omitempty" tf:"persistence_shared,omitempty"`

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

type LbCookiePersistenceProfileSpec

type LbCookiePersistenceProfileSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     LbCookiePersistenceProfileParameters `json:"forProvider"`
}

LbCookiePersistenceProfileSpec defines the desired state of LbCookiePersistenceProfile

type LbCookiePersistenceProfileStatus

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

LbCookiePersistenceProfileStatus defines the observed state of LbCookiePersistenceProfile.

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