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

Index

Constants

View Source
const (
	CRDGroup   = "nsxt_lb_https_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 (
	LbHttpsMonitor_Kind             = "LbHttpsMonitor"
	LbHttpsMonitor_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: LbHttpsMonitor_Kind}.String()
	LbHttpsMonitor_KindAPIVersion   = LbHttpsMonitor_Kind + "." + CRDGroupVersion.String()
	LbHttpsMonitor_GroupVersionKind = CRDGroupVersion.WithKind(LbHttpsMonitor_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type LbHttpsMonitor

type LbHttpsMonitor struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              LbHttpsMonitorSpec   `json:"spec"`
	Status            LbHttpsMonitorStatus `json:"status,omitempty"`
}

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

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

GetCondition of this LbHttpsMonitor.

func (*LbHttpsMonitor) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this LbHttpsMonitor

func (*LbHttpsMonitor) GetDeletionPolicy

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

GetDeletionPolicy of this LbHttpsMonitor.

func (*LbHttpsMonitor) GetID

func (tr *LbHttpsMonitor) GetID() string

GetID returns ID of underlying Terraform resource of this LbHttpsMonitor

func (*LbHttpsMonitor) GetManagementPolicy

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

GetManagementPolicy of this LbHttpsMonitor.

func (*LbHttpsMonitor) GetObservation

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

GetObservation of this LbHttpsMonitor

func (*LbHttpsMonitor) GetParameters

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

GetParameters of this LbHttpsMonitor

func (*LbHttpsMonitor) GetProviderConfigReference

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

GetProviderConfigReference of this LbHttpsMonitor.

func (*LbHttpsMonitor) GetProviderReference

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

GetProviderReference of this LbHttpsMonitor. Deprecated: Use GetProviderConfigReference.

func (*LbHttpsMonitor) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this LbHttpsMonitor.

func (*LbHttpsMonitor) GetTerraformResourceType

func (mg *LbHttpsMonitor) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this LbHttpsMonitor

func (*LbHttpsMonitor) GetTerraformSchemaVersion

func (tr *LbHttpsMonitor) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*LbHttpsMonitor) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this LbHttpsMonitor.

func (*LbHttpsMonitor) LateInitialize

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

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

func (*LbHttpsMonitor) SetConditions

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

SetConditions of this LbHttpsMonitor.

func (*LbHttpsMonitor) SetDeletionPolicy

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

SetDeletionPolicy of this LbHttpsMonitor.

func (*LbHttpsMonitor) SetManagementPolicy

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

SetManagementPolicy of this LbHttpsMonitor.

func (*LbHttpsMonitor) SetObservation

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

SetObservation for this LbHttpsMonitor

func (*LbHttpsMonitor) SetParameters

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

SetParameters for this LbHttpsMonitor

func (*LbHttpsMonitor) SetProviderConfigReference

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

SetProviderConfigReference of this LbHttpsMonitor.

func (*LbHttpsMonitor) SetProviderReference

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

SetProviderReference of this LbHttpsMonitor. Deprecated: Use SetProviderConfigReference.

func (*LbHttpsMonitor) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this LbHttpsMonitor.

func (*LbHttpsMonitor) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this LbHttpsMonitor.

type LbHttpsMonitorList

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

LbHttpsMonitorList contains a list of LbHttpsMonitors

func (*LbHttpsMonitorList) GetItems

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

GetItems of this LbHttpsMonitorList.

type LbHttpsMonitorObservation

type LbHttpsMonitorObservation struct {

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

	// Supported SSL cipher list
	Ciphers []*string `json:"ciphers,omitempty" tf:"ciphers,omitempty"`

	// client certificate can be specified to support client authentication
	ClientCertificateID *string `json:"clientCertificateId,omitempty" tf:"client_certificate_id,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"`

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

	// This flag is set to true when all the ciphers and protocols are secure. It is set to false when one of the ciphers or protocols is insecure
	IsSecure *bool `json:"isSecure,omitempty" tf:"is_secure,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"`

	// SSL versions TLS1.1 and TLS1.2 are supported and enabled by default. SSLv2, SSLv3, and TLS1.0 are supported, but disabled by default
	Protocols []*string `json:"protocols,omitempty" tf:"protocols,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"`

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

	// If server auth type is REQUIRED, server certificate must be signed by one of the CAs
	ServerAuthCAIds []*string `json:"serverAuthCaIds,omitempty" tf:"server_auth_ca_ids,omitempty"`

	// Certificate Revocation List (CRL) to disallow compromised server certificates
	ServerAuthCrlIds []*string `json:"serverAuthCrlIds,omitempty" tf:"server_auth_crl_ids,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 LbHttpsMonitorParameters

type LbHttpsMonitorParameters struct {

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

	// Supported SSL cipher list
	// +kubebuilder:validation:Optional
	Ciphers []*string `json:"ciphers,omitempty" tf:"ciphers,omitempty"`

	// client certificate can be specified to support client authentication
	// +kubebuilder:validation:Optional
	ClientCertificateID *string `json:"clientCertificateId,omitempty" tf:"client_certificate_id,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"`

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

	// SSL versions TLS1.1 and TLS1.2 are supported and enabled by default. SSLv2, SSLv3, and TLS1.0 are supported, but disabled by default
	// +kubebuilder:validation:Optional
	Protocols []*string `json:"protocols,omitempty" tf:"protocols,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"`

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

	// If server auth type is REQUIRED, server certificate must be signed by one of the CAs
	// +kubebuilder:validation:Optional
	ServerAuthCAIds []*string `json:"serverAuthCaIds,omitempty" tf:"server_auth_ca_ids,omitempty"`

	// Certificate Revocation List (CRL) to disallow compromised server certificates
	// +kubebuilder:validation:Optional
	ServerAuthCrlIds []*string `json:"serverAuthCrlIds,omitempty" tf:"server_auth_crl_ids,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 LbHttpsMonitorSpec

type LbHttpsMonitorSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     LbHttpsMonitorParameters `json:"forProvider"`
}

LbHttpsMonitorSpec defines the desired state of LbHttpsMonitor

type LbHttpsMonitorStatus

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

LbHttpsMonitorStatus defines the observed state of LbHttpsMonitor.

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