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

Index

Constants

View Source
const (
	CRDGroup   = "nsxt_lb_udp_monitor.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 (
	LbUdpMonitor_Kind             = "LbUdpMonitor"
	LbUdpMonitor_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: LbUdpMonitor_Kind}.String()
	LbUdpMonitor_KindAPIVersion   = LbUdpMonitor_Kind + "." + CRDGroupVersion.String()
	LbUdpMonitor_GroupVersionKind = CRDGroupVersion.WithKind(LbUdpMonitor_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type LbUdpMonitor

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

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

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

GetCondition of this LbUdpMonitor.

func (*LbUdpMonitor) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this LbUdpMonitor

func (*LbUdpMonitor) GetDeletionPolicy

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

GetDeletionPolicy of this LbUdpMonitor.

func (*LbUdpMonitor) GetID

func (tr *LbUdpMonitor) GetID() string

GetID returns ID of underlying Terraform resource of this LbUdpMonitor

func (*LbUdpMonitor) GetManagementPolicy

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

GetManagementPolicy of this LbUdpMonitor.

func (*LbUdpMonitor) GetObservation

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

GetObservation of this LbUdpMonitor

func (*LbUdpMonitor) GetParameters

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

GetParameters of this LbUdpMonitor

func (*LbUdpMonitor) GetProviderConfigReference

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

GetProviderConfigReference of this LbUdpMonitor.

func (*LbUdpMonitor) GetProviderReference

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

GetProviderReference of this LbUdpMonitor. Deprecated: Use GetProviderConfigReference.

func (*LbUdpMonitor) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this LbUdpMonitor.

func (*LbUdpMonitor) GetTerraformResourceType

func (mg *LbUdpMonitor) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this LbUdpMonitor

func (*LbUdpMonitor) GetTerraformSchemaVersion

func (tr *LbUdpMonitor) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*LbUdpMonitor) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this LbUdpMonitor.

func (*LbUdpMonitor) LateInitialize

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

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

func (*LbUdpMonitor) SetConditions

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

SetConditions of this LbUdpMonitor.

func (*LbUdpMonitor) SetDeletionPolicy

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

SetDeletionPolicy of this LbUdpMonitor.

func (*LbUdpMonitor) SetManagementPolicy

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

SetManagementPolicy of this LbUdpMonitor.

func (*LbUdpMonitor) SetObservation

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

SetObservation for this LbUdpMonitor

func (*LbUdpMonitor) SetParameters

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

SetParameters for this LbUdpMonitor

func (*LbUdpMonitor) SetProviderConfigReference

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

SetProviderConfigReference of this LbUdpMonitor.

func (*LbUdpMonitor) SetProviderReference

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

SetProviderReference of this LbUdpMonitor. Deprecated: Use SetProviderConfigReference.

func (*LbUdpMonitor) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this LbUdpMonitor.

func (*LbUdpMonitor) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this LbUdpMonitor.

type LbUdpMonitorList

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

LbUdpMonitorList contains a list of LbUdpMonitors

func (*LbUdpMonitorList) GetItems

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

GetItems of this LbUdpMonitorList.

type LbUdpMonitorObservation

type LbUdpMonitorObservation 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"`

	// Number of consecutive checks that must fail before marking it down
	FallCount *float64 `json:"fallCount,omitempty" tf:"fall_count,omitempty"`

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

	// The frequency at which the system issues the monitor check (in seconds)
	Interval *float64 `json:"interval,omitempty" tf:"interval,omitempty"`

	// If the monitor port is specified, it would override pool member port setting for healthcheck. A port range is not supported
	MonitorPort *string `json:"monitorPort,omitempty" tf:"monitor_port,omitempty"`

	// Expected data, if specified, can be anywhere in the response and it has to be a string, regular expressions are not supported
	Receive *string `json:"receive,omitempty" tf:"receive,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"`

	// Number of consecutive checks that must pass before marking it up
	RiseCount *float64 `json:"riseCount,omitempty" tf:"rise_count,omitempty"`

	// The data to be sent to the monitored server.
	Send *string `json:"send,omitempty" tf:"send,omitempty"`

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

	// Number of seconds the target has to respond to the monitor request
	Timeout *float64 `json:"timeout,omitempty" tf:"timeout,omitempty"`
}

type LbUdpMonitorParameters

type LbUdpMonitorParameters 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"`

	// Number of consecutive checks that must fail before marking it down
	// +kubebuilder:validation:Optional
	FallCount *float64 `json:"fallCount,omitempty" tf:"fall_count,omitempty"`

	// The frequency at which the system issues the monitor check (in seconds)
	// +kubebuilder:validation:Optional
	Interval *float64 `json:"interval,omitempty" tf:"interval,omitempty"`

	// If the monitor port is specified, it would override pool member port setting for healthcheck. A port range is not supported
	// +kubebuilder:validation:Optional
	MonitorPort *string `json:"monitorPort,omitempty" tf:"monitor_port,omitempty"`

	// Expected data, if specified, can be anywhere in the response and it has to be a string, regular expressions are not supported
	// +kubebuilder:validation:Optional
	Receive *string `json:"receive,omitempty" tf:"receive,omitempty"`

	// Number of consecutive checks that must pass before marking it up
	// +kubebuilder:validation:Optional
	RiseCount *float64 `json:"riseCount,omitempty" tf:"rise_count,omitempty"`

	// The data to be sent to the monitored server.
	// +kubebuilder:validation:Optional
	Send *string `json:"send,omitempty" tf:"send,omitempty"`

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

	// Number of seconds the target has to respond to the monitor request
	// +kubebuilder:validation:Optional
	Timeout *float64 `json:"timeout,omitempty" tf:"timeout,omitempty"`
}

type LbUdpMonitorSpec

type LbUdpMonitorSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     LbUdpMonitorParameters `json:"forProvider"`
}

LbUdpMonitorSpec defines the desired state of LbUdpMonitor

type LbUdpMonitorStatus

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

LbUdpMonitorStatus defines the observed state of LbUdpMonitor.

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