Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=uptime.digitalocean.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Alert
- func (in *Alert) DeepCopy() *Alert
- func (in *Alert) DeepCopyInto(out *Alert)
- func (in *Alert) DeepCopyObject() runtime.Object
- func (mg *Alert) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Alert) GetConnectionDetailsMapping() map[string]string
- func (mg *Alert) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Alert) GetID() string
- func (tr *Alert) GetInitParameters() (map[string]any, error)
- func (mg *Alert) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Alert) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Alert) GetObservation() (map[string]any, error)
- func (tr *Alert) GetParameters() (map[string]any, error)
- func (mg *Alert) GetProviderConfigReference() *xpv1.Reference
- func (mg *Alert) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Alert) GetTerraformResourceType() string
- func (tr *Alert) GetTerraformSchemaVersion() int
- func (mg *Alert) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Alert) Hub()
- func (tr *Alert) LateInitialize(attrs []byte) (bool, error)
- func (mg *Alert) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Alert) SetConditions(c ...xpv1.Condition)
- func (mg *Alert) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Alert) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Alert) SetObservation(obs map[string]any) error
- func (tr *Alert) SetParameters(params map[string]any) error
- func (mg *Alert) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Alert) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Alert) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type AlertInitParameters
- type AlertList
- type AlertObservation
- type AlertParameters
- type AlertSpec
- type AlertStatus
- type Check
- func (in *Check) DeepCopy() *Check
- func (in *Check) DeepCopyInto(out *Check)
- func (in *Check) DeepCopyObject() runtime.Object
- func (mg *Check) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Check) GetConnectionDetailsMapping() map[string]string
- func (mg *Check) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Check) GetID() string
- func (tr *Check) GetInitParameters() (map[string]any, error)
- func (mg *Check) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Check) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Check) GetObservation() (map[string]any, error)
- func (tr *Check) GetParameters() (map[string]any, error)
- func (mg *Check) GetProviderConfigReference() *xpv1.Reference
- func (mg *Check) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Check) GetTerraformResourceType() string
- func (tr *Check) GetTerraformSchemaVersion() int
- func (mg *Check) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Check) Hub()
- func (tr *Check) LateInitialize(attrs []byte) (bool, error)
- func (mg *Check) SetConditions(c ...xpv1.Condition)
- func (mg *Check) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Check) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Check) SetObservation(obs map[string]any) error
- func (tr *Check) SetParameters(params map[string]any) error
- func (mg *Check) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Check) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Check) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type CheckInitParameters
- type CheckList
- type CheckObservation
- type CheckParameters
- type CheckSpec
- type CheckStatus
- type NotificationsInitParameters
- type NotificationsObservation
- type NotificationsParameters
- type SlackInitParameters
- type SlackObservation
- type SlackParameters
Constants ¶
const ( CRDGroup = "uptime.digitalocean.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( Alert_Kind = "Alert" Alert_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Alert_Kind}.String() Alert_KindAPIVersion = Alert_Kind + "." + CRDGroupVersion.String() Alert_GroupVersionKind = CRDGroupVersion.WithKind(Alert_Kind) )
Repository type metadata.
var ( Check_Kind = "Check" Check_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Check_Kind}.String() Check_KindAPIVersion = Check_Kind + "." + CRDGroupVersion.String() Check_GroupVersionKind = CRDGroupVersion.WithKind(Check_Kind) )
Repository type metadata.
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 )
Functions ¶
This section is empty.
Types ¶
type Alert ¶
type Alert struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.notifications) || (has(self.initProvider) && has(self.initProvider.notifications))",message="spec.forProvider.notifications is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter" Spec AlertSpec `json:"spec"` Status AlertStatus `json:"status,omitempty"` }
Alert is the Schema for the Alerts API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,do}
func (*Alert) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Alert.
func (*Alert) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Alert) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Alert) GetCondition ¶
func (mg *Alert) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Alert.
func (*Alert) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Alert
func (*Alert) GetDeletionPolicy ¶
func (mg *Alert) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Alert.
func (*Alert) GetInitParameters ¶
GetInitParameters of this Alert
func (*Alert) GetManagementPolicies ¶
func (mg *Alert) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Alert.
func (*Alert) GetMergedParameters ¶ added in v0.2.0
GetInitParameters of this Alert
func (*Alert) GetObservation ¶
GetObservation of this Alert
func (*Alert) GetParameters ¶
GetParameters of this Alert
func (*Alert) GetProviderConfigReference ¶
GetProviderConfigReference of this Alert.
func (*Alert) GetPublishConnectionDetailsTo ¶
func (mg *Alert) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Alert.
func (*Alert) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Alert
func (*Alert) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Alert) GetWriteConnectionSecretToReference ¶
func (mg *Alert) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Alert.
func (*Alert) LateInitialize ¶
LateInitialize this Alert using its observed tfState. returns True if there are any spec changes for the resource.
func (*Alert) ResolveReferences ¶
ResolveReferences of this Alert.
func (*Alert) SetConditions ¶
SetConditions of this Alert.
func (*Alert) SetDeletionPolicy ¶
func (mg *Alert) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Alert.
func (*Alert) SetManagementPolicies ¶
func (mg *Alert) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Alert.
func (*Alert) SetObservation ¶
SetObservation for this Alert
func (*Alert) SetParameters ¶
SetParameters for this Alert
func (*Alert) SetProviderConfigReference ¶
SetProviderConfigReference of this Alert.
func (*Alert) SetPublishConnectionDetailsTo ¶
func (mg *Alert) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Alert.
func (*Alert) SetWriteConnectionSecretToReference ¶
func (mg *Alert) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Alert.
type AlertInitParameters ¶
type AlertInitParameters struct { // A unique identifier for a check // A unique identifier for a check. // +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-digitalocean/apis/uptime/v1alpha1.Check CheckID *string `json:"checkId,omitempty" tf:"check_id,omitempty"` // Reference to a Check in uptime to populate checkId. // +kubebuilder:validation:Optional CheckIDRef *v1.Reference `json:"checkIdRef,omitempty" tf:"-"` // Selector for a Check in uptime to populate checkId. // +kubebuilder:validation:Optional CheckIDSelector *v1.Selector `json:"checkIdSelector,omitempty" tf:"-"` // The comparison operator used against the alert's threshold. Must be one of greater_than or less_than. // The comparison operator used against the alert's threshold. Enum: 'greater_than' 'less_than Comparison *string `json:"comparison,omitempty" tf:"comparison,omitempty"` // A human-friendly display name. // A human-friendly display name for the alert. Name *string `json:"name,omitempty" tf:"name,omitempty"` // The notification settings for a trigger alert. // The notification settings for a trigger alert. Notifications []NotificationsInitParameters `json:"notifications,omitempty" tf:"notifications,omitempty"` // Period of time the threshold must be exceeded to trigger the alert. Must be one of 2m, 3m, 5m, 10m, 15m, 30m or 1h. // Period of time the threshold must be exceeded to trigger the alert. Enum '2m' '3m' '5m' '10m' '15m' '30m' '1h' Period *string `json:"period,omitempty" tf:"period,omitempty"` // The threshold at which the alert will enter a trigger state. The specific threshold is dependent on the alert type. // The threshold at which the alert will enter a trigger state. The specific threshold is dependent on the alert type. Threshold *float64 `json:"threshold,omitempty" tf:"threshold,omitempty"` // The type of health check to perform. Must be one of latency, down, down_global or ssl_expiry. // The type of health check to perform. Enum: 'latency' 'down' 'down_global' 'ssl_expiry' Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*AlertInitParameters) DeepCopy ¶
func (in *AlertInitParameters) DeepCopy() *AlertInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertInitParameters.
func (*AlertInitParameters) DeepCopyInto ¶
func (in *AlertInitParameters) DeepCopyInto(out *AlertInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlertList ¶
type AlertList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Alert `json:"items"` }
AlertList contains a list of Alerts
func (*AlertList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertList.
func (*AlertList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AlertList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AlertObservation ¶
type AlertObservation struct { // A unique identifier for a check // A unique identifier for a check. CheckID *string `json:"checkId,omitempty" tf:"check_id,omitempty"` // The comparison operator used against the alert's threshold. Must be one of greater_than or less_than. // The comparison operator used against the alert's threshold. Enum: 'greater_than' 'less_than Comparison *string `json:"comparison,omitempty" tf:"comparison,omitempty"` // The id of the alert. ID *string `json:"id,omitempty" tf:"id,omitempty"` // A human-friendly display name. // A human-friendly display name for the alert. Name *string `json:"name,omitempty" tf:"name,omitempty"` // The notification settings for a trigger alert. // The notification settings for a trigger alert. Notifications []NotificationsObservation `json:"notifications,omitempty" tf:"notifications,omitempty"` // Period of time the threshold must be exceeded to trigger the alert. Must be one of 2m, 3m, 5m, 10m, 15m, 30m or 1h. // Period of time the threshold must be exceeded to trigger the alert. Enum '2m' '3m' '5m' '10m' '15m' '30m' '1h' Period *string `json:"period,omitempty" tf:"period,omitempty"` // The threshold at which the alert will enter a trigger state. The specific threshold is dependent on the alert type. // The threshold at which the alert will enter a trigger state. The specific threshold is dependent on the alert type. Threshold *float64 `json:"threshold,omitempty" tf:"threshold,omitempty"` // The type of health check to perform. Must be one of latency, down, down_global or ssl_expiry. // The type of health check to perform. Enum: 'latency' 'down' 'down_global' 'ssl_expiry' Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*AlertObservation) DeepCopy ¶
func (in *AlertObservation) DeepCopy() *AlertObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertObservation.
func (*AlertObservation) DeepCopyInto ¶
func (in *AlertObservation) DeepCopyInto(out *AlertObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlertParameters ¶
type AlertParameters struct { // A unique identifier for a check // A unique identifier for a check. // +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-digitalocean/apis/uptime/v1alpha1.Check // +kubebuilder:validation:Optional CheckID *string `json:"checkId,omitempty" tf:"check_id,omitempty"` // Reference to a Check in uptime to populate checkId. // +kubebuilder:validation:Optional CheckIDRef *v1.Reference `json:"checkIdRef,omitempty" tf:"-"` // Selector for a Check in uptime to populate checkId. // +kubebuilder:validation:Optional CheckIDSelector *v1.Selector `json:"checkIdSelector,omitempty" tf:"-"` // The comparison operator used against the alert's threshold. Must be one of greater_than or less_than. // The comparison operator used against the alert's threshold. Enum: 'greater_than' 'less_than // +kubebuilder:validation:Optional Comparison *string `json:"comparison,omitempty" tf:"comparison,omitempty"` // A human-friendly display name. // A human-friendly display name for the alert. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // The notification settings for a trigger alert. // The notification settings for a trigger alert. // +kubebuilder:validation:Optional Notifications []NotificationsParameters `json:"notifications,omitempty" tf:"notifications,omitempty"` // Period of time the threshold must be exceeded to trigger the alert. Must be one of 2m, 3m, 5m, 10m, 15m, 30m or 1h. // Period of time the threshold must be exceeded to trigger the alert. Enum '2m' '3m' '5m' '10m' '15m' '30m' '1h' // +kubebuilder:validation:Optional Period *string `json:"period,omitempty" tf:"period,omitempty"` // The threshold at which the alert will enter a trigger state. The specific threshold is dependent on the alert type. // The threshold at which the alert will enter a trigger state. The specific threshold is dependent on the alert type. // +kubebuilder:validation:Optional Threshold *float64 `json:"threshold,omitempty" tf:"threshold,omitempty"` // The type of health check to perform. Must be one of latency, down, down_global or ssl_expiry. // The type of health check to perform. Enum: 'latency' 'down' 'down_global' 'ssl_expiry' // +kubebuilder:validation:Optional Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*AlertParameters) DeepCopy ¶
func (in *AlertParameters) DeepCopy() *AlertParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertParameters.
func (*AlertParameters) DeepCopyInto ¶
func (in *AlertParameters) DeepCopyInto(out *AlertParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlertSpec ¶
type AlertSpec struct { v1.ResourceSpec `json:",inline"` ForProvider AlertParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider AlertInitParameters `json:"initProvider,omitempty"` }
AlertSpec defines the desired state of Alert
func (*AlertSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertSpec.
func (*AlertSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlertStatus ¶
type AlertStatus struct { v1.ResourceStatus `json:",inline"` AtProvider AlertObservation `json:"atProvider,omitempty"` }
AlertStatus defines the observed state of Alert.
func (*AlertStatus) DeepCopy ¶
func (in *AlertStatus) DeepCopy() *AlertStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertStatus.
func (*AlertStatus) DeepCopyInto ¶
func (in *AlertStatus) DeepCopyInto(out *AlertStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Check ¶
type Check struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.target) || (has(self.initProvider) && has(self.initProvider.target))",message="spec.forProvider.target is a required parameter" Spec CheckSpec `json:"spec"` Status CheckStatus `json:"status,omitempty"` }
Check is the Schema for the Checks API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,do}
func (*Check) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Check.
func (*Check) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Check) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Check) GetCondition ¶
func (mg *Check) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Check.
func (*Check) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Check
func (*Check) GetDeletionPolicy ¶
func (mg *Check) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Check.
func (*Check) GetInitParameters ¶
GetInitParameters of this Check
func (*Check) GetManagementPolicies ¶
func (mg *Check) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Check.
func (*Check) GetMergedParameters ¶ added in v0.2.0
GetInitParameters of this Check
func (*Check) GetObservation ¶
GetObservation of this Check
func (*Check) GetParameters ¶
GetParameters of this Check
func (*Check) GetProviderConfigReference ¶
GetProviderConfigReference of this Check.
func (*Check) GetPublishConnectionDetailsTo ¶
func (mg *Check) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Check.
func (*Check) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Check
func (*Check) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Check) GetWriteConnectionSecretToReference ¶
func (mg *Check) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Check.
func (*Check) LateInitialize ¶
LateInitialize this Check using its observed tfState. returns True if there are any spec changes for the resource.
func (*Check) SetConditions ¶
SetConditions of this Check.
func (*Check) SetDeletionPolicy ¶
func (mg *Check) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Check.
func (*Check) SetManagementPolicies ¶
func (mg *Check) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Check.
func (*Check) SetObservation ¶
SetObservation for this Check
func (*Check) SetParameters ¶
SetParameters for this Check
func (*Check) SetProviderConfigReference ¶
SetProviderConfigReference of this Check.
func (*Check) SetPublishConnectionDetailsTo ¶
func (mg *Check) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Check.
func (*Check) SetWriteConnectionSecretToReference ¶
func (mg *Check) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Check.
type CheckInitParameters ¶
type CheckInitParameters struct { // A boolean value indicating whether the check is enabled/disabled. // A boolean value indicating whether the check is enabled/disabled. Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // A human-friendly display name for the check. // A human-friendly display name for the check. Name *string `json:"name,omitempty" tf:"name,omitempty"` // An array containing the selected regions to perform healthchecks from: "us_east", "us_west", "eu_west", "se_asia" // An array containing the selected regions to perform healthchecks from. // +listType=set Regions []*string `json:"regions,omitempty" tf:"regions,omitempty"` // The endpoint to perform healthchecks on. // The endpoint to perform healthchecks on. Target *string `json:"target,omitempty" tf:"target,omitempty"` // The type of health check to perform: 'ping' 'http' 'https'. // The type of health check to perform. Enum: 'ping' 'http' 'https' Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*CheckInitParameters) DeepCopy ¶
func (in *CheckInitParameters) DeepCopy() *CheckInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CheckInitParameters.
func (*CheckInitParameters) DeepCopyInto ¶
func (in *CheckInitParameters) DeepCopyInto(out *CheckInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CheckList ¶
type CheckList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Check `json:"items"` }
CheckList contains a list of Checks
func (*CheckList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CheckList.
func (*CheckList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CheckList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CheckObservation ¶
type CheckObservation struct { // A boolean value indicating whether the check is enabled/disabled. // A boolean value indicating whether the check is enabled/disabled. Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // The id of the check. ID *string `json:"id,omitempty" tf:"id,omitempty"` // A human-friendly display name for the check. // A human-friendly display name for the check. Name *string `json:"name,omitempty" tf:"name,omitempty"` // An array containing the selected regions to perform healthchecks from: "us_east", "us_west", "eu_west", "se_asia" // An array containing the selected regions to perform healthchecks from. // +listType=set Regions []*string `json:"regions,omitempty" tf:"regions,omitempty"` // The endpoint to perform healthchecks on. // The endpoint to perform healthchecks on. Target *string `json:"target,omitempty" tf:"target,omitempty"` // The type of health check to perform: 'ping' 'http' 'https'. // The type of health check to perform. Enum: 'ping' 'http' 'https' Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*CheckObservation) DeepCopy ¶
func (in *CheckObservation) DeepCopy() *CheckObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CheckObservation.
func (*CheckObservation) DeepCopyInto ¶
func (in *CheckObservation) DeepCopyInto(out *CheckObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CheckParameters ¶
type CheckParameters struct { // A boolean value indicating whether the check is enabled/disabled. // A boolean value indicating whether the check is enabled/disabled. // +kubebuilder:validation:Optional Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // A human-friendly display name for the check. // A human-friendly display name for the check. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // An array containing the selected regions to perform healthchecks from: "us_east", "us_west", "eu_west", "se_asia" // An array containing the selected regions to perform healthchecks from. // +kubebuilder:validation:Optional // +listType=set Regions []*string `json:"regions,omitempty" tf:"regions,omitempty"` // The endpoint to perform healthchecks on. // The endpoint to perform healthchecks on. // +kubebuilder:validation:Optional Target *string `json:"target,omitempty" tf:"target,omitempty"` // The type of health check to perform: 'ping' 'http' 'https'. // The type of health check to perform. Enum: 'ping' 'http' 'https' // +kubebuilder:validation:Optional Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*CheckParameters) DeepCopy ¶
func (in *CheckParameters) DeepCopy() *CheckParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CheckParameters.
func (*CheckParameters) DeepCopyInto ¶
func (in *CheckParameters) DeepCopyInto(out *CheckParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CheckSpec ¶
type CheckSpec struct { v1.ResourceSpec `json:",inline"` ForProvider CheckParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider CheckInitParameters `json:"initProvider,omitempty"` }
CheckSpec defines the desired state of Check
func (*CheckSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CheckSpec.
func (*CheckSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CheckStatus ¶
type CheckStatus struct { v1.ResourceStatus `json:",inline"` AtProvider CheckObservation `json:"atProvider,omitempty"` }
CheckStatus defines the observed state of Check.
func (*CheckStatus) DeepCopy ¶
func (in *CheckStatus) DeepCopy() *CheckStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CheckStatus.
func (*CheckStatus) DeepCopyInto ¶
func (in *CheckStatus) DeepCopyInto(out *CheckStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NotificationsInitParameters ¶
type NotificationsInitParameters struct { // List of email addresses to sent notifications to. // List of email addresses to sent notifications to Email []*string `json:"email,omitempty" tf:"email,omitempty"` Slack []SlackInitParameters `json:"slack,omitempty" tf:"slack,omitempty"` }
func (*NotificationsInitParameters) DeepCopy ¶
func (in *NotificationsInitParameters) DeepCopy() *NotificationsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationsInitParameters.
func (*NotificationsInitParameters) DeepCopyInto ¶
func (in *NotificationsInitParameters) DeepCopyInto(out *NotificationsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NotificationsObservation ¶
type NotificationsObservation struct { // List of email addresses to sent notifications to. // List of email addresses to sent notifications to Email []*string `json:"email,omitempty" tf:"email,omitempty"` Slack []SlackObservation `json:"slack,omitempty" tf:"slack,omitempty"` }
func (*NotificationsObservation) DeepCopy ¶
func (in *NotificationsObservation) DeepCopy() *NotificationsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationsObservation.
func (*NotificationsObservation) DeepCopyInto ¶
func (in *NotificationsObservation) DeepCopyInto(out *NotificationsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NotificationsParameters ¶
type NotificationsParameters struct { // List of email addresses to sent notifications to. // List of email addresses to sent notifications to // +kubebuilder:validation:Optional Email []*string `json:"email,omitempty" tf:"email,omitempty"` // +kubebuilder:validation:Optional Slack []SlackParameters `json:"slack,omitempty" tf:"slack,omitempty"` }
func (*NotificationsParameters) DeepCopy ¶
func (in *NotificationsParameters) DeepCopy() *NotificationsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationsParameters.
func (*NotificationsParameters) DeepCopyInto ¶
func (in *NotificationsParameters) DeepCopyInto(out *NotificationsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SlackInitParameters ¶
type SlackInitParameters struct { // The Slack channel to send alerts to. // The Slack channel to send alerts to Channel *string `json:"channel,omitempty" tf:"channel,omitempty"` // The webhook URL for Slack. // The webhook URL for Slack URL *string `json:"url,omitempty" tf:"url,omitempty"` }
func (*SlackInitParameters) DeepCopy ¶
func (in *SlackInitParameters) DeepCopy() *SlackInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SlackInitParameters.
func (*SlackInitParameters) DeepCopyInto ¶
func (in *SlackInitParameters) DeepCopyInto(out *SlackInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SlackObservation ¶
type SlackObservation struct { // The Slack channel to send alerts to. // The Slack channel to send alerts to Channel *string `json:"channel,omitempty" tf:"channel,omitempty"` // The webhook URL for Slack. // The webhook URL for Slack URL *string `json:"url,omitempty" tf:"url,omitempty"` }
func (*SlackObservation) DeepCopy ¶
func (in *SlackObservation) DeepCopy() *SlackObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SlackObservation.
func (*SlackObservation) DeepCopyInto ¶
func (in *SlackObservation) DeepCopyInto(out *SlackObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SlackParameters ¶
type SlackParameters struct { // The Slack channel to send alerts to. // The Slack channel to send alerts to // +kubebuilder:validation:Optional Channel *string `json:"channel" tf:"channel,omitempty"` // The webhook URL for Slack. // The webhook URL for Slack // +kubebuilder:validation:Optional URL *string `json:"url" tf:"url,omitempty"` }
func (*SlackParameters) DeepCopy ¶
func (in *SlackParameters) DeepCopy() *SlackParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SlackParameters.
func (*SlackParameters) DeepCopyInto ¶
func (in *SlackParameters) DeepCopyInto(out *SlackParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.