v1alpha1

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=uptime.digitalocean.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "uptime.digitalocean.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
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.

View Source
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.

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
)

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

func (in *Alert) DeepCopy() *Alert

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

func (*Alert) DeepCopyInto

func (in *Alert) DeepCopyInto(out *Alert)

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

func (*Alert) DeepCopyObject

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

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

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

GetConnectionDetailsMapping for this Alert

func (*Alert) GetDeletionPolicy

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

GetDeletionPolicy of this Alert.

func (*Alert) GetID

func (tr *Alert) GetID() string

GetID returns ID of underlying Terraform resource of this Alert

func (*Alert) GetInitParameters

func (tr *Alert) GetInitParameters() (map[string]any, error)

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

func (tr *Alert) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Alert

func (*Alert) GetObservation

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

GetObservation of this Alert

func (*Alert) GetParameters

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

GetParameters of this Alert

func (*Alert) GetProviderConfigReference

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

GetProviderConfigReference of this Alert.

func (*Alert) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Alert.

func (*Alert) GetTerraformResourceType

func (mg *Alert) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Alert

func (*Alert) GetTerraformSchemaVersion

func (tr *Alert) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Alert) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Alert.

func (*Alert) Hub added in v0.2.0

func (tr *Alert) Hub()

Hub marks this type as a conversion hub.

func (*Alert) LateInitialize

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

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

func (*Alert) ResolveReferences

func (mg *Alert) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this Alert.

func (*Alert) SetConditions

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

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

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

SetObservation for this Alert

func (*Alert) SetParameters

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

SetParameters for this Alert

func (*Alert) SetProviderConfigReference

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

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

func (in *AlertList) DeepCopy() *AlertList

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

func (*AlertList) DeepCopyInto

func (in *AlertList) DeepCopyInto(out *AlertList)

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

func (*AlertList) DeepCopyObject

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

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

func (*AlertList) GetItems

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

GetItems of this AlertList.

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

func (in *AlertSpec) DeepCopy() *AlertSpec

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

func (*AlertSpec) DeepCopyInto

func (in *AlertSpec) DeepCopyInto(out *AlertSpec)

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

func (in *Check) DeepCopy() *Check

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

func (*Check) DeepCopyInto

func (in *Check) DeepCopyInto(out *Check)

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

func (*Check) DeepCopyObject

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

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

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

GetConnectionDetailsMapping for this Check

func (*Check) GetDeletionPolicy

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

GetDeletionPolicy of this Check.

func (*Check) GetID

func (tr *Check) GetID() string

GetID returns ID of underlying Terraform resource of this Check

func (*Check) GetInitParameters

func (tr *Check) GetInitParameters() (map[string]any, error)

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

func (tr *Check) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Check

func (*Check) GetObservation

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

GetObservation of this Check

func (*Check) GetParameters

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

GetParameters of this Check

func (*Check) GetProviderConfigReference

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

GetProviderConfigReference of this Check.

func (*Check) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Check.

func (*Check) GetTerraformResourceType

func (mg *Check) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Check

func (*Check) GetTerraformSchemaVersion

func (tr *Check) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Check) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Check.

func (*Check) Hub added in v0.2.0

func (tr *Check) Hub()

Hub marks this type as a conversion hub.

func (*Check) LateInitialize

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

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

func (*Check) SetConditions

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

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

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

SetObservation for this Check

func (*Check) SetParameters

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

SetParameters for this Check

func (*Check) SetProviderConfigReference

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

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

func (in *CheckList) DeepCopy() *CheckList

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

func (*CheckList) DeepCopyInto

func (in *CheckList) DeepCopyInto(out *CheckList)

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

func (*CheckList) DeepCopyObject

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

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

func (*CheckList) GetItems

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

GetItems of this CheckList.

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

func (in *CheckSpec) DeepCopy() *CheckSpec

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

func (*CheckSpec) DeepCopyInto

func (in *CheckSpec) DeepCopyInto(out *CheckSpec)

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

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

func (*NotificationsInitParameters) DeepCopyInto

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

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

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.

Jump to

Keyboard shortcuts

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