Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=uptimerobot.uptimerobot.jet.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type AlertContactObservation
- type AlertContactParameters
- type Monitor
- func (in *Monitor) DeepCopy() *Monitor
- func (in *Monitor) DeepCopyInto(out *Monitor)
- func (in *Monitor) DeepCopyObject() runtime.Object
- func (mg *Monitor) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Monitor) GetConnectionDetailsMapping() map[string]string
- func (mg *Monitor) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Monitor) GetID() string
- func (tr *Monitor) GetObservation() (map[string]interface{}, error)
- func (tr *Monitor) GetParameters() (map[string]interface{}, error)
- func (mg *Monitor) GetProviderConfigReference() *xpv1.Reference
- func (mg *Monitor) GetProviderReference() *xpv1.Reference
- func (mg *Monitor) GetTerraformResourceType() string
- func (tr *Monitor) GetTerraformSchemaVersion() int
- func (mg *Monitor) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Monitor) LateInitialize(attrs []byte) (bool, error)
- func (mg *Monitor) SetConditions(c ...xpv1.Condition)
- func (mg *Monitor) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Monitor) SetObservation(obs map[string]interface{}) error
- func (tr *Monitor) SetParameters(params map[string]interface{}) error
- func (mg *Monitor) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Monitor) SetProviderReference(r *xpv1.Reference)
- func (mg *Monitor) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type MonitorList
- type MonitorObservation
- type MonitorParameters
- type MonitorSpec
- type MonitorStatus
Constants ¶
const ( CRDGroup = "uptimerobot.uptimerobot.jet.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
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 )
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 ¶
func (in *AlertContactObservation) DeepCopy() *AlertContactObservation
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 ¶
func (in *AlertContactParameters) DeepCopy() *AlertContactParameters
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Monitor.
func (*Monitor) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Monitor) DeepCopyObject ¶
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 ¶
GetConnectionDetailsMapping for this Monitor
func (*Monitor) GetDeletionPolicy ¶
func (mg *Monitor) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Monitor.
func (*Monitor) GetObservation ¶
GetObservation of this Monitor
func (*Monitor) GetParameters ¶
GetParameters of this Monitor
func (*Monitor) GetProviderConfigReference ¶
GetProviderConfigReference of this Monitor.
func (*Monitor) GetProviderReference ¶
GetProviderReference of this Monitor. Deprecated: Use GetProviderConfigReference.
func (*Monitor) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Monitor
func (*Monitor) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Monitor) GetWriteConnectionSecretToReference ¶
func (mg *Monitor) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Monitor.
func (*Monitor) LateInitialize ¶
LateInitialize this Monitor using its observed tfState. returns True if there are any spec changes for the resource.
func (*Monitor) SetConditions ¶
SetConditions of this Monitor.
func (*Monitor) SetDeletionPolicy ¶
func (mg *Monitor) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Monitor.
func (*Monitor) SetObservation ¶
SetObservation for this Monitor
func (*Monitor) SetParameters ¶
SetParameters for this Monitor
func (*Monitor) SetProviderConfigReference ¶
SetProviderConfigReference of this Monitor.
func (*Monitor) SetProviderReference ¶
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.