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

Index

Constants

View Source
const (
	CRDGroup   = "nsxt_lb_service.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 (
	LbService_Kind             = "LbService"
	LbService_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: LbService_Kind}.String()
	LbService_KindAPIVersion   = LbService_Kind + "." + CRDGroupVersion.String()
	LbService_GroupVersionKind = CRDGroupVersion.WithKind(LbService_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type LbService

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

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

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

GetCondition of this LbService.

func (*LbService) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this LbService

func (*LbService) GetDeletionPolicy

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

GetDeletionPolicy of this LbService.

func (*LbService) GetID

func (tr *LbService) GetID() string

GetID returns ID of underlying Terraform resource of this LbService

func (*LbService) GetManagementPolicy

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

GetManagementPolicy of this LbService.

func (*LbService) GetObservation

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

GetObservation of this LbService

func (*LbService) GetParameters

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

GetParameters of this LbService

func (*LbService) GetProviderConfigReference

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

GetProviderConfigReference of this LbService.

func (*LbService) GetProviderReference

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

GetProviderReference of this LbService. Deprecated: Use GetProviderConfigReference.

func (*LbService) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this LbService.

func (*LbService) GetTerraformResourceType

func (mg *LbService) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this LbService

func (*LbService) GetTerraformSchemaVersion

func (tr *LbService) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*LbService) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this LbService.

func (*LbService) LateInitialize

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

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

func (*LbService) SetConditions

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

SetConditions of this LbService.

func (*LbService) SetDeletionPolicy

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

SetDeletionPolicy of this LbService.

func (*LbService) SetManagementPolicy

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

SetManagementPolicy of this LbService.

func (*LbService) SetObservation

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

SetObservation for this LbService

func (*LbService) SetParameters

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

SetParameters for this LbService

func (*LbService) SetProviderConfigReference

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

SetProviderConfigReference of this LbService.

func (*LbService) SetProviderReference

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

SetProviderReference of this LbService. Deprecated: Use SetProviderConfigReference.

func (*LbService) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this LbService.

func (*LbService) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this LbService.

type LbServiceList

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

LbServiceList contains a list of LbServices

func (*LbServiceList) GetItems

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

GetItems of this LbServiceList.

type LbServiceObservation

type LbServiceObservation struct {

	// 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 load balancer service is enabled
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// Load balancer engine writes information about encountered issues of different severity levels to the error log. This setting is used to define the severity level of the error log
	ErrorLogLevel *string `json:"errorLogLevel,omitempty" tf:"error_log_level,omitempty"`

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

	// Logical Tier1 Router to which the Load Balancer is to be attached
	LogicalRouterID *string `json:"logicalRouterId,omitempty" tf:"logical_router_id,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"`

	// Size of load balancer service
	Size *string `json:"size,omitempty" tf:"size,omitempty"`

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

	// Virtual servers associated with this Load Balancer
	VirtualServerIds []*string `json:"virtualServerIds,omitempty" tf:"virtual_server_ids,omitempty"`
}

type LbServiceParameters

type LbServiceParameters struct {

	// 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 load balancer service is enabled
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// Load balancer engine writes information about encountered issues of different severity levels to the error log. This setting is used to define the severity level of the error log
	// +kubebuilder:validation:Optional
	ErrorLogLevel *string `json:"errorLogLevel,omitempty" tf:"error_log_level,omitempty"`

	// Logical Tier1 Router to which the Load Balancer is to be attached
	// +kubebuilder:validation:Optional
	LogicalRouterID *string `json:"logicalRouterId,omitempty" tf:"logical_router_id,omitempty"`

	// Size of load balancer service
	// +kubebuilder:validation:Optional
	Size *string `json:"size,omitempty" tf:"size,omitempty"`

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

	// Virtual servers associated with this Load Balancer
	// +kubebuilder:validation:Optional
	VirtualServerIds []*string `json:"virtualServerIds,omitempty" tf:"virtual_server_ids,omitempty"`
}

type LbServiceSpec

type LbServiceSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     LbServiceParameters `json:"forProvider"`
}

LbServiceSpec defines the desired state of LbService

type LbServiceStatus

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

LbServiceStatus defines the observed state of LbService.

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