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

Index

Constants

View Source
const (
	CRDGroup   = "nsxt_lb_http_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 (
	LbHttpMonitor_Kind             = "LbHttpMonitor"
	LbHttpMonitor_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: LbHttpMonitor_Kind}.String()
	LbHttpMonitor_KindAPIVersion   = LbHttpMonitor_Kind + "." + CRDGroupVersion.String()
	LbHttpMonitor_GroupVersionKind = CRDGroupVersion.WithKind(LbHttpMonitor_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type LbHttpMonitor

type LbHttpMonitor struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              LbHttpMonitorSpec   `json:"spec"`
	Status            LbHttpMonitorStatus `json:"status,omitempty"`
}

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

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

GetCondition of this LbHttpMonitor.

func (*LbHttpMonitor) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this LbHttpMonitor

func (*LbHttpMonitor) GetDeletionPolicy

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

GetDeletionPolicy of this LbHttpMonitor.

func (*LbHttpMonitor) GetID

func (tr *LbHttpMonitor) GetID() string

GetID returns ID of underlying Terraform resource of this LbHttpMonitor

func (*LbHttpMonitor) GetManagementPolicy

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

GetManagementPolicy of this LbHttpMonitor.

func (*LbHttpMonitor) GetObservation

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

GetObservation of this LbHttpMonitor

func (*LbHttpMonitor) GetParameters

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

GetParameters of this LbHttpMonitor

func (*LbHttpMonitor) GetProviderConfigReference

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

GetProviderConfigReference of this LbHttpMonitor.

func (*LbHttpMonitor) GetProviderReference

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

GetProviderReference of this LbHttpMonitor. Deprecated: Use GetProviderConfigReference.

func (*LbHttpMonitor) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this LbHttpMonitor.

func (*LbHttpMonitor) GetTerraformResourceType

func (mg *LbHttpMonitor) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this LbHttpMonitor

func (*LbHttpMonitor) GetTerraformSchemaVersion

func (tr *LbHttpMonitor) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*LbHttpMonitor) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this LbHttpMonitor.

func (*LbHttpMonitor) LateInitialize

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

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

func (*LbHttpMonitor) SetConditions

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

SetConditions of this LbHttpMonitor.

func (*LbHttpMonitor) SetDeletionPolicy

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

SetDeletionPolicy of this LbHttpMonitor.

func (*LbHttpMonitor) SetManagementPolicy

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

SetManagementPolicy of this LbHttpMonitor.

func (*LbHttpMonitor) SetObservation

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

SetObservation for this LbHttpMonitor

func (*LbHttpMonitor) SetParameters

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

SetParameters for this LbHttpMonitor

func (*LbHttpMonitor) SetProviderConfigReference

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

SetProviderConfigReference of this LbHttpMonitor.

func (*LbHttpMonitor) SetProviderReference

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

SetProviderReference of this LbHttpMonitor. Deprecated: Use SetProviderConfigReference.

func (*LbHttpMonitor) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this LbHttpMonitor.

func (*LbHttpMonitor) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this LbHttpMonitor.

type LbHttpMonitorList

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

LbHttpMonitorList contains a list of LbHttpMonitors

func (*LbHttpMonitorList) GetItems

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

GetItems of this LbHttpMonitorList.

type LbHttpMonitorObservation

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

	// String to send as HTTP health check request body. Valid only for certain HTTP methods like POST
	RequestBody *string `json:"requestBody,omitempty" tf:"request_body,omitempty"`

	// Array of HTTP request headers
	RequestHeader []RequestHeaderObservation `json:"requestHeader,omitempty" tf:"request_header,omitempty"`

	// Health check method for HTTP monitor type
	RequestMethod *string `json:"requestMethod,omitempty" tf:"request_method,omitempty"`

	// URL used for HTTP monitor
	RequestURL *string `json:"requestUrl,omitempty" tf:"request_url,omitempty"`

	// HTTP request version
	RequestVersion *string `json:"requestVersion,omitempty" tf:"request_version,omitempty"`

	// If HTTP specified, healthcheck HTTP response body is matched against the specified string (regular expressions not supported), and succeeds only if there is a match
	ResponseBody *string `json:"responseBody,omitempty" tf:"response_body,omitempty"`

	// The HTTP response status code should be a valid HTTP status code
	ResponseStatusCodes []*float64 `json:"responseStatusCodes,omitempty" tf:"response_status_codes,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"`

	// 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 LbHttpMonitorParameters

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

	// String to send as HTTP health check request body. Valid only for certain HTTP methods like POST
	// +kubebuilder:validation:Optional
	RequestBody *string `json:"requestBody,omitempty" tf:"request_body,omitempty"`

	// Array of HTTP request headers
	// +kubebuilder:validation:Optional
	RequestHeader []RequestHeaderParameters `json:"requestHeader,omitempty" tf:"request_header,omitempty"`

	// Health check method for HTTP monitor type
	// +kubebuilder:validation:Optional
	RequestMethod *string `json:"requestMethod,omitempty" tf:"request_method,omitempty"`

	// URL used for HTTP monitor
	// +kubebuilder:validation:Optional
	RequestURL *string `json:"requestUrl,omitempty" tf:"request_url,omitempty"`

	// HTTP request version
	// +kubebuilder:validation:Optional
	RequestVersion *string `json:"requestVersion,omitempty" tf:"request_version,omitempty"`

	// If HTTP specified, healthcheck HTTP response body is matched against the specified string (regular expressions not supported), and succeeds only if there is a match
	// +kubebuilder:validation:Optional
	ResponseBody *string `json:"responseBody,omitempty" tf:"response_body,omitempty"`

	// The HTTP response status code should be a valid HTTP status code
	// +kubebuilder:validation:Optional
	ResponseStatusCodes []*float64 `json:"responseStatusCodes,omitempty" tf:"response_status_codes,omitempty"`

	// Number of consecutive checks that must pass before marking it up
	// +kubebuilder:validation:Optional
	RiseCount *float64 `json:"riseCount,omitempty" tf:"rise_count,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 LbHttpMonitorSpec

type LbHttpMonitorSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     LbHttpMonitorParameters `json:"forProvider"`
}

LbHttpMonitorSpec defines the desired state of LbHttpMonitor

type LbHttpMonitorStatus

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

LbHttpMonitorStatus defines the observed state of LbHttpMonitor.

type RequestHeaderObservation

type RequestHeaderObservation struct {

	// Header name
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Header value
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

type RequestHeaderParameters

type RequestHeaderParameters struct {

	// Header name
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// Header value
	// +kubebuilder:validation:Required
	Value *string `json:"value" tf:"value,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