v1alpha1

package
v0.0.0-...-c585dde Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=uptimerobot.uptimerobot.jet.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "uptimerobot.uptimerobot.jet.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 (
	Monitor_Kind             = "Monitor"
	Monitor_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Monitor_Kind}.String()
	Monitor_KindAPIVersion   = Monitor_Kind + "." + CRDGroupVersion.String()
	Monitor_GroupVersionKind = CRDGroupVersion.WithKind(Monitor_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type AlertContactObservation

type AlertContactObservation struct {
}

func (*AlertContactObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertContactObservation.

func (*AlertContactObservation) DeepCopyInto

func (in *AlertContactObservation) DeepCopyInto(out *AlertContactObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AlertContactParameters

type AlertContactParameters struct {

	// +kubebuilder:validation:Required
	ID *string `json:"id" tf:"id,omitempty"`

	// +kubebuilder:validation:Optional
	Recurrence *float64 `json:"recurrence,omitempty" tf:"recurrence,omitempty"`

	// +kubebuilder:validation:Optional
	Threshold *float64 `json:"threshold,omitempty" tf:"threshold,omitempty"`
}

func (*AlertContactParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertContactParameters.

func (*AlertContactParameters) DeepCopyInto

func (in *AlertContactParameters) DeepCopyInto(out *AlertContactParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Monitor

type Monitor struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MonitorSpec   `json:"spec"`
	Status            MonitorStatus `json:"status,omitempty"`
}

Monitor is the Schema for the Monitors API +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,uptimerobotjet}

func (*Monitor) DeepCopy

func (in *Monitor) DeepCopy() *Monitor

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Monitor.

func (*Monitor) DeepCopyInto

func (in *Monitor) DeepCopyInto(out *Monitor)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Monitor) DeepCopyObject

func (in *Monitor) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Monitor) GetCondition

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

GetCondition of this Monitor.

func (*Monitor) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Monitor

func (*Monitor) GetDeletionPolicy

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

GetDeletionPolicy of this Monitor.

func (*Monitor) GetID

func (tr *Monitor) GetID() string

GetID returns ID of underlying Terraform resource of this Monitor

func (*Monitor) GetObservation

func (tr *Monitor) GetObservation() (map[string]interface{}, error)

GetObservation of this Monitor

func (*Monitor) GetParameters

func (tr *Monitor) GetParameters() (map[string]interface{}, error)

GetParameters of this Monitor

func (*Monitor) GetProviderConfigReference

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

GetProviderConfigReference of this Monitor.

func (*Monitor) GetProviderReference

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

GetProviderReference of this Monitor. Deprecated: Use GetProviderConfigReference.

func (*Monitor) GetTerraformResourceType

func (mg *Monitor) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Monitor

func (*Monitor) GetTerraformSchemaVersion

func (tr *Monitor) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Monitor) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Monitor.

func (*Monitor) LateInitialize

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

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

func (*Monitor) SetConditions

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

SetConditions of this Monitor.

func (*Monitor) SetDeletionPolicy

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

SetDeletionPolicy of this Monitor.

func (*Monitor) SetObservation

func (tr *Monitor) SetObservation(obs map[string]interface{}) error

SetObservation for this Monitor

func (*Monitor) SetParameters

func (tr *Monitor) SetParameters(params map[string]interface{}) error

SetParameters for this Monitor

func (*Monitor) SetProviderConfigReference

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

SetProviderConfigReference of this Monitor.

func (*Monitor) SetProviderReference

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

SetProviderReference of this Monitor. Deprecated: Use SetProviderConfigReference.

func (*Monitor) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Monitor.

type MonitorList

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

MonitorList contains a list of Monitors

func (*MonitorList) DeepCopy

func (in *MonitorList) DeepCopy() *MonitorList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorList.

func (*MonitorList) DeepCopyInto

func (in *MonitorList) DeepCopyInto(out *MonitorList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MonitorList) DeepCopyObject

func (in *MonitorList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*MonitorList) GetItems

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

GetItems of this MonitorList.

type MonitorObservation

type MonitorObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*MonitorObservation) DeepCopy

func (in *MonitorObservation) DeepCopy() *MonitorObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorObservation.

func (*MonitorObservation) DeepCopyInto

func (in *MonitorObservation) DeepCopyInto(out *MonitorObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MonitorParameters

type MonitorParameters struct {

	// +kubebuilder:validation:Optional
	AlertContact []AlertContactParameters `json:"alertContact,omitempty" tf:"alert_contact,omitempty"`

	// +kubebuilder:validation:Optional
	CustomHTTPHeaders map[string]*string `json:"customHttpHeaders,omitempty" tf:"custom_http_headers,omitempty"`

	// +kubebuilder:validation:Required
	FriendlyName *string `json:"friendlyName" tf:"friendly_name,omitempty"`

	// +kubebuilder:validation:Optional
	HTTPAuthType *string `json:"httpAuthType,omitempty" tf:"http_auth_type,omitempty"`

	// +kubebuilder:validation:Optional
	HTTPPasswordSecretRef *v1.SecretKeySelector `json:"httpPasswordSecretRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	HTTPUsername *string `json:"httpUsername,omitempty" tf:"http_username,omitempty"`

	// +kubebuilder:validation:Optional
	Interval *float64 `json:"interval,omitempty" tf:"interval,omitempty"`

	// +kubebuilder:validation:Optional
	KeywordType *string `json:"keywordType,omitempty" tf:"keyword_type,omitempty"`

	// +kubebuilder:validation:Optional
	KeywordValue *string `json:"keywordValue,omitempty" tf:"keyword_value,omitempty"`

	// +kubebuilder:validation:Optional
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// +kubebuilder:validation:Optional
	SubType *string `json:"subType,omitempty" tf:"sub_type,omitempty"`

	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`

	// +kubebuilder:validation:Required
	URL *string `json:"url" tf:"url,omitempty"`
}

func (*MonitorParameters) DeepCopy

func (in *MonitorParameters) DeepCopy() *MonitorParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorParameters.

func (*MonitorParameters) DeepCopyInto

func (in *MonitorParameters) DeepCopyInto(out *MonitorParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MonitorSpec

type MonitorSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     MonitorParameters `json:"forProvider"`
}

MonitorSpec defines the desired state of Monitor

func (*MonitorSpec) DeepCopy

func (in *MonitorSpec) DeepCopy() *MonitorSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpec.

func (*MonitorSpec) DeepCopyInto

func (in *MonitorSpec) DeepCopyInto(out *MonitorSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MonitorStatus

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

MonitorStatus defines the observed state of Monitor.

func (*MonitorStatus) DeepCopy

func (in *MonitorStatus) DeepCopy() *MonitorStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorStatus.

func (*MonitorStatus) DeepCopyInto

func (in *MonitorStatus) DeepCopyInto(out *MonitorStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL