v1alpha1

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=alerting.grafana.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "alerting.grafana.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	ContactPoint_Kind             = "ContactPoint"
	ContactPoint_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ContactPoint_Kind}.String()
	ContactPoint_KindAPIVersion   = ContactPoint_Kind + "." + CRDGroupVersion.String()
	ContactPoint_GroupVersionKind = CRDGroupVersion.WithKind(ContactPoint_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
)
View Source
var (
	MessageTemplate_Kind             = "MessageTemplate"
	MessageTemplate_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: MessageTemplate_Kind}.String()
	MessageTemplate_KindAPIVersion   = MessageTemplate_Kind + "." + CRDGroupVersion.String()
	MessageTemplate_GroupVersionKind = CRDGroupVersion.WithKind(MessageTemplate_Kind)
)

Repository type metadata.

View Source
var (
	MuteTiming_Kind             = "MuteTiming"
	MuteTiming_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: MuteTiming_Kind}.String()
	MuteTiming_KindAPIVersion   = MuteTiming_Kind + "." + CRDGroupVersion.String()
	MuteTiming_GroupVersionKind = CRDGroupVersion.WithKind(MuteTiming_Kind)
)

Repository type metadata.

View Source
var (
	NotificationPolicy_Kind             = "NotificationPolicy"
	NotificationPolicy_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: NotificationPolicy_Kind}.String()
	NotificationPolicy_KindAPIVersion   = NotificationPolicy_Kind + "." + CRDGroupVersion.String()
	NotificationPolicy_GroupVersionKind = CRDGroupVersion.WithKind(NotificationPolicy_Kind)
)

Repository type metadata.

View Source
var (
	RuleGroup_Kind             = "RuleGroup"
	RuleGroup_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: RuleGroup_Kind}.String()
	RuleGroup_KindAPIVersion   = RuleGroup_Kind + "." + CRDGroupVersion.String()
	RuleGroup_GroupVersionKind = CRDGroupVersion.WithKind(RuleGroup_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type AlertmanagerObservation

type AlertmanagerObservation struct {

	// The UID of the contact point.
	UID *string `json:"uid,omitempty" tf:"uid,omitempty"`
}

func (*AlertmanagerObservation) DeepCopy

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

func (*AlertmanagerObservation) DeepCopyInto

func (in *AlertmanagerObservation) DeepCopyInto(out *AlertmanagerObservation)

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

type AlertmanagerParameters

type AlertmanagerParameters struct {

	// The password component of the basic auth credentials to use.
	// +kubebuilder:validation:Optional
	BasicAuthPasswordSecretRef *v1.SecretKeySelector `json:"basicAuthPasswordSecretRef,omitempty" tf:"-"`

	// The username component of the basic auth credentials to use.
	// +kubebuilder:validation:Optional
	BasicAuthUser *string `json:"basicAuthUser,omitempty" tf:"basic_auth_user,omitempty"`

	// Whether to disable sending resolve messages. Defaults to `false`.
	// +kubebuilder:validation:Optional
	DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"`

	// Additional custom properties to attach to the notifier. Defaults to `map[]`.
	// +kubebuilder:validation:Optional
	SettingsSecretRef *v1.SecretReference `json:"settingsSecretRef,omitempty" tf:"-"`

	// The URL of the Alertmanager instance.
	// +kubebuilder:validation:Required
	URL *string `json:"url" tf:"url,omitempty"`
}

func (*AlertmanagerParameters) DeepCopy

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

func (*AlertmanagerParameters) DeepCopyInto

func (in *AlertmanagerParameters) DeepCopyInto(out *AlertmanagerParameters)

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

type ContactPoint

type ContactPoint struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ContactPointSpec   `json:"spec"`
	Status            ContactPointStatus `json:"status,omitempty"`
}

ContactPoint is the Schema for the ContactPoints API. <no value> +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,grafana}

func (*ContactPoint) DeepCopy

func (in *ContactPoint) DeepCopy() *ContactPoint

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

func (*ContactPoint) DeepCopyInto

func (in *ContactPoint) DeepCopyInto(out *ContactPoint)

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

func (*ContactPoint) DeepCopyObject

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

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

func (*ContactPoint) GetCondition

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

GetCondition of this ContactPoint.

func (*ContactPoint) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ContactPoint

func (*ContactPoint) GetDeletionPolicy

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

GetDeletionPolicy of this ContactPoint.

func (*ContactPoint) GetID

func (tr *ContactPoint) GetID() string

GetID returns ID of underlying Terraform resource of this ContactPoint

func (*ContactPoint) GetObservation

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

GetObservation of this ContactPoint

func (*ContactPoint) GetParameters

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

GetParameters of this ContactPoint

func (*ContactPoint) GetProviderConfigReference

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

GetProviderConfigReference of this ContactPoint.

func (*ContactPoint) GetProviderReference

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

GetProviderReference of this ContactPoint. Deprecated: Use GetProviderConfigReference.

func (*ContactPoint) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ContactPoint.

func (*ContactPoint) GetTerraformResourceType

func (mg *ContactPoint) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ContactPoint

func (*ContactPoint) GetTerraformSchemaVersion

func (tr *ContactPoint) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ContactPoint) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ContactPoint.

func (*ContactPoint) LateInitialize

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

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

func (*ContactPoint) SetConditions

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

SetConditions of this ContactPoint.

func (*ContactPoint) SetDeletionPolicy

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

SetDeletionPolicy of this ContactPoint.

func (*ContactPoint) SetObservation

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

SetObservation for this ContactPoint

func (*ContactPoint) SetParameters

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

SetParameters for this ContactPoint

func (*ContactPoint) SetProviderConfigReference

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

SetProviderConfigReference of this ContactPoint.

func (*ContactPoint) SetProviderReference

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

SetProviderReference of this ContactPoint. Deprecated: Use SetProviderConfigReference.

func (*ContactPoint) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ContactPoint.

func (*ContactPoint) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ContactPoint.

type ContactPointList

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

ContactPointList contains a list of ContactPoints

func (*ContactPointList) DeepCopy

func (in *ContactPointList) DeepCopy() *ContactPointList

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

func (*ContactPointList) DeepCopyInto

func (in *ContactPointList) DeepCopyInto(out *ContactPointList)

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

func (*ContactPointList) DeepCopyObject

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

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

func (*ContactPointList) GetItems

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

GetItems of this ContactPointList.

type ContactPointObservation

type ContactPointObservation struct {

	// A contact point that sends notifications to other Alertmanager instances.
	// +kubebuilder:validation:Optional
	Alertmanager []AlertmanagerObservation `json:"alertmanager,omitempty" tf:"alertmanager,omitempty"`

	// A contact point that sends notifications to DingDing.
	// +kubebuilder:validation:Optional
	Dingding []DingdingObservation `json:"dingding,omitempty" tf:"dingding,omitempty"`

	// A contact point that sends notifications as Discord messages
	// +kubebuilder:validation:Optional
	Discord []DiscordObservation `json:"discord,omitempty" tf:"discord,omitempty"`

	// A contact point that sends notifications to an email address.
	// +kubebuilder:validation:Optional
	Email []EmailObservation `json:"email,omitempty" tf:"email,omitempty"`

	// A contact point that sends notifications to Google Chat.
	// +kubebuilder:validation:Optional
	Googlechat []GooglechatObservation `json:"googlechat,omitempty" tf:"googlechat,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// A contact point that publishes notifications to Apache Kafka topics.
	// +kubebuilder:validation:Optional
	Kafka []KafkaObservation `json:"kafka,omitempty" tf:"kafka,omitempty"`

	// A contact point that sends notifications to OpsGenie.
	// +kubebuilder:validation:Optional
	Opsgenie []OpsgenieObservation `json:"opsgenie,omitempty" tf:"opsgenie,omitempty"`

	// A contact point that sends notifications to PagerDuty.
	// +kubebuilder:validation:Optional
	Pagerduty []PagerdutyObservation `json:"pagerduty,omitempty" tf:"pagerduty,omitempty"`

	// A contact point that sends notifications to Pushover.
	// +kubebuilder:validation:Optional
	Pushover []PushoverObservation `json:"pushover,omitempty" tf:"pushover,omitempty"`

	// A contact point that sends notifications to SensuGo.
	// +kubebuilder:validation:Optional
	Sensugo []SensugoObservation `json:"sensugo,omitempty" tf:"sensugo,omitempty"`

	// A contact point that sends notifications to Slack.
	// +kubebuilder:validation:Optional
	Slack []SlackObservation `json:"slack,omitempty" tf:"slack,omitempty"`

	// A contact point that sends notifications to Microsoft Teams.
	// +kubebuilder:validation:Optional
	Teams []TeamsObservation `json:"teams,omitempty" tf:"teams,omitempty"`

	// A contact point that sends notifications to Telegram.
	// +kubebuilder:validation:Optional
	Telegram []TelegramObservation `json:"telegram,omitempty" tf:"telegram,omitempty"`

	// A contact point that sends notifications to Threema.
	// +kubebuilder:validation:Optional
	Threema []ThreemaObservation `json:"threema,omitempty" tf:"threema,omitempty"`

	// A contact point that sends notifications to VictorOps (now known as Splunk OnCall).
	// +kubebuilder:validation:Optional
	Victorops []VictoropsObservation `json:"victorops,omitempty" tf:"victorops,omitempty"`

	// A contact point that sends notifications to an arbitrary webhook, using the Prometheus webhook format defined here: https://prometheus.io/docs/alerting/latest/configuration/#webhook_config
	// +kubebuilder:validation:Optional
	Webhook []WebhookObservation `json:"webhook,omitempty" tf:"webhook,omitempty"`

	// A contact point that sends notifications to WeCom.
	// +kubebuilder:validation:Optional
	Wecom []WecomObservation `json:"wecom,omitempty" tf:"wecom,omitempty"`
}

func (*ContactPointObservation) DeepCopy

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

func (*ContactPointObservation) DeepCopyInto

func (in *ContactPointObservation) DeepCopyInto(out *ContactPointObservation)

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

type ContactPointParameters

type ContactPointParameters struct {

	// A contact point that sends notifications to other Alertmanager instances.
	// +kubebuilder:validation:Optional
	Alertmanager []AlertmanagerParameters `json:"alertmanager,omitempty" tf:"alertmanager,omitempty"`

	// A contact point that sends notifications to DingDing.
	// +kubebuilder:validation:Optional
	Dingding []DingdingParameters `json:"dingding,omitempty" tf:"dingding,omitempty"`

	// A contact point that sends notifications as Discord messages
	// +kubebuilder:validation:Optional
	Discord []DiscordParameters `json:"discord,omitempty" tf:"discord,omitempty"`

	// A contact point that sends notifications to an email address.
	// +kubebuilder:validation:Optional
	Email []EmailParameters `json:"email,omitempty" tf:"email,omitempty"`

	// A contact point that sends notifications to Google Chat.
	// +kubebuilder:validation:Optional
	Googlechat []GooglechatParameters `json:"googlechat,omitempty" tf:"googlechat,omitempty"`

	// A contact point that publishes notifications to Apache Kafka topics.
	// +kubebuilder:validation:Optional
	Kafka []KafkaParameters `json:"kafka,omitempty" tf:"kafka,omitempty"`

	// The name of the contact point.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// A contact point that sends notifications to OpsGenie.
	// +kubebuilder:validation:Optional
	Opsgenie []OpsgenieParameters `json:"opsgenie,omitempty" tf:"opsgenie,omitempty"`

	// A contact point that sends notifications to PagerDuty.
	// +kubebuilder:validation:Optional
	Pagerduty []PagerdutyParameters `json:"pagerduty,omitempty" tf:"pagerduty,omitempty"`

	// A contact point that sends notifications to Pushover.
	// +kubebuilder:validation:Optional
	Pushover []PushoverParameters `json:"pushover,omitempty" tf:"pushover,omitempty"`

	// A contact point that sends notifications to SensuGo.
	// +kubebuilder:validation:Optional
	Sensugo []SensugoParameters `json:"sensugo,omitempty" tf:"sensugo,omitempty"`

	// A contact point that sends notifications to Slack.
	// +kubebuilder:validation:Optional
	Slack []SlackParameters `json:"slack,omitempty" tf:"slack,omitempty"`

	// A contact point that sends notifications to Microsoft Teams.
	// +kubebuilder:validation:Optional
	Teams []TeamsParameters `json:"teams,omitempty" tf:"teams,omitempty"`

	// A contact point that sends notifications to Telegram.
	// +kubebuilder:validation:Optional
	Telegram []TelegramParameters `json:"telegram,omitempty" tf:"telegram,omitempty"`

	// A contact point that sends notifications to Threema.
	// +kubebuilder:validation:Optional
	Threema []ThreemaParameters `json:"threema,omitempty" tf:"threema,omitempty"`

	// A contact point that sends notifications to VictorOps (now known as Splunk OnCall).
	// +kubebuilder:validation:Optional
	Victorops []VictoropsParameters `json:"victorops,omitempty" tf:"victorops,omitempty"`

	// A contact point that sends notifications to an arbitrary webhook, using the Prometheus webhook format defined here: https://prometheus.io/docs/alerting/latest/configuration/#webhook_config
	// +kubebuilder:validation:Optional
	Webhook []WebhookParameters `json:"webhook,omitempty" tf:"webhook,omitempty"`

	// A contact point that sends notifications to WeCom.
	// +kubebuilder:validation:Optional
	Wecom []WecomParameters `json:"wecom,omitempty" tf:"wecom,omitempty"`
}

func (*ContactPointParameters) DeepCopy

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

func (*ContactPointParameters) DeepCopyInto

func (in *ContactPointParameters) DeepCopyInto(out *ContactPointParameters)

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

type ContactPointSpec

type ContactPointSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ContactPointParameters `json:"forProvider"`
}

ContactPointSpec defines the desired state of ContactPoint

func (*ContactPointSpec) DeepCopy

func (in *ContactPointSpec) DeepCopy() *ContactPointSpec

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

func (*ContactPointSpec) DeepCopyInto

func (in *ContactPointSpec) DeepCopyInto(out *ContactPointSpec)

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

type ContactPointStatus

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

ContactPointStatus defines the observed state of ContactPoint.

func (*ContactPointStatus) DeepCopy

func (in *ContactPointStatus) DeepCopy() *ContactPointStatus

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

func (*ContactPointStatus) DeepCopyInto

func (in *ContactPointStatus) DeepCopyInto(out *ContactPointStatus)

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

type DataObservation

type DataObservation struct {
}

func (*DataObservation) DeepCopy

func (in *DataObservation) DeepCopy() *DataObservation

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

func (*DataObservation) DeepCopyInto

func (in *DataObservation) DeepCopyInto(out *DataObservation)

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

type DataParameters

type DataParameters struct {

	// The UID of the datasource being queried, or "-100" if this stage is an expression stage.
	// +kubebuilder:validation:Required
	DatasourceUID *string `json:"datasourceUid" tf:"datasource_uid,omitempty"`

	// Custom JSON data to send to the specified datasource when querying.
	// +kubebuilder:validation:Required
	Model *string `json:"model" tf:"model,omitempty"`

	// An optional identifier for the type of query being executed. Defaults to “.
	// +kubebuilder:validation:Optional
	QueryType *string `json:"queryType,omitempty" tf:"query_type,omitempty"`

	// A unique string to identify this query stage within a rule.
	// +kubebuilder:validation:Required
	RefID *string `json:"refId" tf:"ref_id,omitempty"`

	// The time range, relative to when the query is executed, across which to query.
	// +kubebuilder:validation:Required
	RelativeTimeRange []RelativeTimeRangeParameters `json:"relativeTimeRange" tf:"relative_time_range,omitempty"`
}

func (*DataParameters) DeepCopy

func (in *DataParameters) DeepCopy() *DataParameters

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

func (*DataParameters) DeepCopyInto

func (in *DataParameters) DeepCopyInto(out *DataParameters)

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

type DingdingObservation

type DingdingObservation struct {

	// The UID of the contact point.
	UID *string `json:"uid,omitempty" tf:"uid,omitempty"`
}

func (*DingdingObservation) DeepCopy

func (in *DingdingObservation) DeepCopy() *DingdingObservation

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

func (*DingdingObservation) DeepCopyInto

func (in *DingdingObservation) DeepCopyInto(out *DingdingObservation)

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

type DingdingParameters

type DingdingParameters struct {

	// Whether to disable sending resolve messages. Defaults to `false`.
	// +kubebuilder:validation:Optional
	DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"`

	// The templated content of the message.
	// +kubebuilder:validation:Optional
	Message *string `json:"message,omitempty" tf:"message,omitempty"`

	// The format of message to send - either 'link' or 'actionCard'
	// +kubebuilder:validation:Optional
	MessageType *string `json:"messageType,omitempty" tf:"message_type,omitempty"`

	// Additional custom properties to attach to the notifier. Defaults to `map[]`.
	// +kubebuilder:validation:Optional
	SettingsSecretRef *v1.SecretReference `json:"settingsSecretRef,omitempty" tf:"-"`

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

func (*DingdingParameters) DeepCopy

func (in *DingdingParameters) DeepCopy() *DingdingParameters

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

func (*DingdingParameters) DeepCopyInto

func (in *DingdingParameters) DeepCopyInto(out *DingdingParameters)

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

type DiscordObservation

type DiscordObservation struct {

	// The UID of the contact point.
	UID *string `json:"uid,omitempty" tf:"uid,omitempty"`
}

func (*DiscordObservation) DeepCopy

func (in *DiscordObservation) DeepCopy() *DiscordObservation

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

func (*DiscordObservation) DeepCopyInto

func (in *DiscordObservation) DeepCopyInto(out *DiscordObservation)

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

type DiscordParameters

type DiscordParameters struct {

	// The URL of a custom avatar image to use. Defaults to “.
	// +kubebuilder:validation:Optional
	AvatarURL *string `json:"avatarUrl,omitempty" tf:"avatar_url,omitempty"`

	// Whether to disable sending resolve messages. Defaults to `false`.
	// +kubebuilder:validation:Optional
	DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"`

	// The templated content of the message. Defaults to “.
	// +kubebuilder:validation:Optional
	Message *string `json:"message,omitempty" tf:"message,omitempty"`

	// Additional custom properties to attach to the notifier. Defaults to `map[]`.
	// +kubebuilder:validation:Optional
	SettingsSecretRef *v1.SecretReference `json:"settingsSecretRef,omitempty" tf:"-"`

	// The discord webhook URL.
	// +kubebuilder:validation:Required
	URLSecretRef v1.SecretKeySelector `json:"urlSecretRef" tf:"-"`

	// Whether to use the bot account's plain username instead of "Grafana." Defaults to `false`.
	// +kubebuilder:validation:Optional
	UseDiscordUsername *bool `json:"useDiscordUsername,omitempty" tf:"use_discord_username,omitempty"`
}

func (*DiscordParameters) DeepCopy

func (in *DiscordParameters) DeepCopy() *DiscordParameters

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

func (*DiscordParameters) DeepCopyInto

func (in *DiscordParameters) DeepCopyInto(out *DiscordParameters)

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

type EmailObservation

type EmailObservation struct {

	// The UID of the contact point.
	UID *string `json:"uid,omitempty" tf:"uid,omitempty"`
}

func (*EmailObservation) DeepCopy

func (in *EmailObservation) DeepCopy() *EmailObservation

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

func (*EmailObservation) DeepCopyInto

func (in *EmailObservation) DeepCopyInto(out *EmailObservation)

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

type EmailParameters

type EmailParameters struct {

	// The addresses to send emails to.
	// +kubebuilder:validation:Required
	Addresses []*string `json:"addresses" tf:"addresses,omitempty"`

	// Whether to disable sending resolve messages. Defaults to `false`.
	// +kubebuilder:validation:Optional
	DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"`

	// The templated content of the email. Defaults to “.
	// +kubebuilder:validation:Optional
	Message *string `json:"message,omitempty" tf:"message,omitempty"`

	// Additional custom properties to attach to the notifier. Defaults to `map[]`.
	// +kubebuilder:validation:Optional
	SettingsSecretRef *v1.SecretReference `json:"settingsSecretRef,omitempty" tf:"-"`

	// Whether to send a single email CC'ing all addresses, rather than a separate email to each address. Defaults to `false`.
	// +kubebuilder:validation:Optional
	SingleEmail *bool `json:"singleEmail,omitempty" tf:"single_email,omitempty"`

	// The templated subject line of the email. Defaults to “.
	// +kubebuilder:validation:Optional
	Subject *string `json:"subject,omitempty" tf:"subject,omitempty"`
}

func (*EmailParameters) DeepCopy

func (in *EmailParameters) DeepCopy() *EmailParameters

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

func (*EmailParameters) DeepCopyInto

func (in *EmailParameters) DeepCopyInto(out *EmailParameters)

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

type GooglechatObservation

type GooglechatObservation struct {

	// The UID of the contact point.
	UID *string `json:"uid,omitempty" tf:"uid,omitempty"`
}

func (*GooglechatObservation) DeepCopy

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

func (*GooglechatObservation) DeepCopyInto

func (in *GooglechatObservation) DeepCopyInto(out *GooglechatObservation)

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

type GooglechatParameters

type GooglechatParameters struct {

	// Whether to disable sending resolve messages. Defaults to `false`.
	// +kubebuilder:validation:Optional
	DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"`

	// The templated content of the message.
	// +kubebuilder:validation:Optional
	Message *string `json:"message,omitempty" tf:"message,omitempty"`

	// Additional custom properties to attach to the notifier. Defaults to `map[]`.
	// +kubebuilder:validation:Optional
	SettingsSecretRef *v1.SecretReference `json:"settingsSecretRef,omitempty" tf:"-"`

	// The Google Chat webhook URL.
	// +kubebuilder:validation:Required
	URLSecretRef v1.SecretKeySelector `json:"urlSecretRef" tf:"-"`
}

func (*GooglechatParameters) DeepCopy

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

func (*GooglechatParameters) DeepCopyInto

func (in *GooglechatParameters) DeepCopyInto(out *GooglechatParameters)

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

type IntervalsObservation

type IntervalsObservation struct {
}

func (*IntervalsObservation) DeepCopy

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

func (*IntervalsObservation) DeepCopyInto

func (in *IntervalsObservation) DeepCopyInto(out *IntervalsObservation)

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

type IntervalsParameters

type IntervalsParameters struct {

	// An inclusive range of days, 1-31, within a month, e.g. "1" or "14:16". Negative values can be used to represent days counting from the end of a month, e.g. "-1".
	// +kubebuilder:validation:Optional
	DaysOfMonth []*string `json:"daysOfMonth,omitempty" tf:"days_of_month,omitempty"`

	// An inclusive range of months, either numerical or full calendar month, e.g. "1:3", "december", or "may:august".
	// +kubebuilder:validation:Optional
	Months []*string `json:"months,omitempty" tf:"months,omitempty"`

	// The time ranges, represented in minutes, during which to mute in a given day.
	// +kubebuilder:validation:Optional
	Times []TimesParameters `json:"times,omitempty" tf:"times,omitempty"`

	// An inclusive range of weekdays, e.g. "monday" or "tuesday:thursday".
	// +kubebuilder:validation:Optional
	Weekdays []*string `json:"weekdays,omitempty" tf:"weekdays,omitempty"`

	// A positive inclusive range of years, e.g. "2030" or "2025:2026".
	// +kubebuilder:validation:Optional
	Years []*string `json:"years,omitempty" tf:"years,omitempty"`
}

func (*IntervalsParameters) DeepCopy

func (in *IntervalsParameters) DeepCopy() *IntervalsParameters

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

func (*IntervalsParameters) DeepCopyInto

func (in *IntervalsParameters) DeepCopyInto(out *IntervalsParameters)

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

type KafkaObservation

type KafkaObservation struct {

	// The UID of the contact point.
	UID *string `json:"uid,omitempty" tf:"uid,omitempty"`
}

func (*KafkaObservation) DeepCopy

func (in *KafkaObservation) DeepCopy() *KafkaObservation

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

func (*KafkaObservation) DeepCopyInto

func (in *KafkaObservation) DeepCopyInto(out *KafkaObservation)

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

type KafkaParameters

type KafkaParameters struct {

	// Whether to disable sending resolve messages. Defaults to `false`.
	// +kubebuilder:validation:Optional
	DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"`

	// The URL of the Kafka REST proxy to send requests to.
	// +kubebuilder:validation:Required
	RestProxyURLSecretRef v1.SecretKeySelector `json:"restProxyUrlSecretRef" tf:"-"`

	// Additional custom properties to attach to the notifier. Defaults to `map[]`.
	// +kubebuilder:validation:Optional
	SettingsSecretRef *v1.SecretReference `json:"settingsSecretRef,omitempty" tf:"-"`

	// The name of the Kafka topic to publish to.
	// +kubebuilder:validation:Required
	Topic *string `json:"topic" tf:"topic,omitempty"`
}

func (*KafkaParameters) DeepCopy

func (in *KafkaParameters) DeepCopy() *KafkaParameters

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

func (*KafkaParameters) DeepCopyInto

func (in *KafkaParameters) DeepCopyInto(out *KafkaParameters)

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

type MatcherObservation

type MatcherObservation struct {
}

func (*MatcherObservation) DeepCopy

func (in *MatcherObservation) DeepCopy() *MatcherObservation

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

func (*MatcherObservation) DeepCopyInto

func (in *MatcherObservation) DeepCopyInto(out *MatcherObservation)

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

type MatcherParameters

type MatcherParameters struct {

	// The name of the label to match against.
	// +kubebuilder:validation:Required
	Label *string `json:"label" tf:"label,omitempty"`

	// The operator to apply when matching values of the given label. Allowed operators are `=` for equality, `!=` for negated equality, `=~` for regex equality, and `!~` for negated regex equality.
	// +kubebuilder:validation:Required
	Match *string `json:"match" tf:"match,omitempty"`

	// The label value to match against.
	// +kubebuilder:validation:Required
	Value *string `json:"value" tf:"value,omitempty"`
}

func (*MatcherParameters) DeepCopy

func (in *MatcherParameters) DeepCopy() *MatcherParameters

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

func (*MatcherParameters) DeepCopyInto

func (in *MatcherParameters) DeepCopyInto(out *MatcherParameters)

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

type MessageTemplate

type MessageTemplate struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MessageTemplateSpec   `json:"spec"`
	Status            MessageTemplateStatus `json:"status,omitempty"`
}

MessageTemplate is the Schema for the MessageTemplates API. <no value> +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,grafana}

func (*MessageTemplate) DeepCopy

func (in *MessageTemplate) DeepCopy() *MessageTemplate

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

func (*MessageTemplate) DeepCopyInto

func (in *MessageTemplate) DeepCopyInto(out *MessageTemplate)

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

func (*MessageTemplate) DeepCopyObject

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

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

func (*MessageTemplate) GetCondition

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

GetCondition of this MessageTemplate.

func (*MessageTemplate) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this MessageTemplate

func (*MessageTemplate) GetDeletionPolicy

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

GetDeletionPolicy of this MessageTemplate.

func (*MessageTemplate) GetID

func (tr *MessageTemplate) GetID() string

GetID returns ID of underlying Terraform resource of this MessageTemplate

func (*MessageTemplate) GetObservation

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

GetObservation of this MessageTemplate

func (*MessageTemplate) GetParameters

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

GetParameters of this MessageTemplate

func (*MessageTemplate) GetProviderConfigReference

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

GetProviderConfigReference of this MessageTemplate.

func (*MessageTemplate) GetProviderReference

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

GetProviderReference of this MessageTemplate. Deprecated: Use GetProviderConfigReference.

func (*MessageTemplate) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this MessageTemplate.

func (*MessageTemplate) GetTerraformResourceType

func (mg *MessageTemplate) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this MessageTemplate

func (*MessageTemplate) GetTerraformSchemaVersion

func (tr *MessageTemplate) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*MessageTemplate) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this MessageTemplate.

func (*MessageTemplate) LateInitialize

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

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

func (*MessageTemplate) SetConditions

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

SetConditions of this MessageTemplate.

func (*MessageTemplate) SetDeletionPolicy

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

SetDeletionPolicy of this MessageTemplate.

func (*MessageTemplate) SetObservation

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

SetObservation for this MessageTemplate

func (*MessageTemplate) SetParameters

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

SetParameters for this MessageTemplate

func (*MessageTemplate) SetProviderConfigReference

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

SetProviderConfigReference of this MessageTemplate.

func (*MessageTemplate) SetProviderReference

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

SetProviderReference of this MessageTemplate. Deprecated: Use SetProviderConfigReference.

func (*MessageTemplate) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this MessageTemplate.

func (*MessageTemplate) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this MessageTemplate.

type MessageTemplateList

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

MessageTemplateList contains a list of MessageTemplates

func (*MessageTemplateList) DeepCopy

func (in *MessageTemplateList) DeepCopy() *MessageTemplateList

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

func (*MessageTemplateList) DeepCopyInto

func (in *MessageTemplateList) DeepCopyInto(out *MessageTemplateList)

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

func (*MessageTemplateList) DeepCopyObject

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

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

func (*MessageTemplateList) GetItems

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

GetItems of this MessageTemplateList.

type MessageTemplateObservation

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

func (*MessageTemplateObservation) DeepCopy

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

func (*MessageTemplateObservation) DeepCopyInto

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

type MessageTemplateParameters

type MessageTemplateParameters struct {

	// The name of the message template.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// The content of the message template.
	// +kubebuilder:validation:Required
	Template *string `json:"template" tf:"template,omitempty"`
}

func (*MessageTemplateParameters) DeepCopy

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

func (*MessageTemplateParameters) DeepCopyInto

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

type MessageTemplateSpec

type MessageTemplateSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     MessageTemplateParameters `json:"forProvider"`
}

MessageTemplateSpec defines the desired state of MessageTemplate

func (*MessageTemplateSpec) DeepCopy

func (in *MessageTemplateSpec) DeepCopy() *MessageTemplateSpec

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

func (*MessageTemplateSpec) DeepCopyInto

func (in *MessageTemplateSpec) DeepCopyInto(out *MessageTemplateSpec)

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

type MessageTemplateStatus

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

MessageTemplateStatus defines the observed state of MessageTemplate.

func (*MessageTemplateStatus) DeepCopy

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

func (*MessageTemplateStatus) DeepCopyInto

func (in *MessageTemplateStatus) DeepCopyInto(out *MessageTemplateStatus)

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

type MuteTiming

type MuteTiming struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MuteTimingSpec   `json:"spec"`
	Status            MuteTimingStatus `json:"status,omitempty"`
}

MuteTiming is the Schema for the MuteTimings API. <no value> +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,grafana}

func (*MuteTiming) DeepCopy

func (in *MuteTiming) DeepCopy() *MuteTiming

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

func (*MuteTiming) DeepCopyInto

func (in *MuteTiming) DeepCopyInto(out *MuteTiming)

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

func (*MuteTiming) DeepCopyObject

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

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

func (*MuteTiming) GetCondition

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

GetCondition of this MuteTiming.

func (*MuteTiming) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this MuteTiming

func (*MuteTiming) GetDeletionPolicy

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

GetDeletionPolicy of this MuteTiming.

func (*MuteTiming) GetID

func (tr *MuteTiming) GetID() string

GetID returns ID of underlying Terraform resource of this MuteTiming

func (*MuteTiming) GetObservation

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

GetObservation of this MuteTiming

func (*MuteTiming) GetParameters

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

GetParameters of this MuteTiming

func (*MuteTiming) GetProviderConfigReference

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

GetProviderConfigReference of this MuteTiming.

func (*MuteTiming) GetProviderReference

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

GetProviderReference of this MuteTiming. Deprecated: Use GetProviderConfigReference.

func (*MuteTiming) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this MuteTiming.

func (*MuteTiming) GetTerraformResourceType

func (mg *MuteTiming) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this MuteTiming

func (*MuteTiming) GetTerraformSchemaVersion

func (tr *MuteTiming) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*MuteTiming) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this MuteTiming.

func (*MuteTiming) LateInitialize

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

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

func (*MuteTiming) SetConditions

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

SetConditions of this MuteTiming.

func (*MuteTiming) SetDeletionPolicy

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

SetDeletionPolicy of this MuteTiming.

func (*MuteTiming) SetObservation

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

SetObservation for this MuteTiming

func (*MuteTiming) SetParameters

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

SetParameters for this MuteTiming

func (*MuteTiming) SetProviderConfigReference

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

SetProviderConfigReference of this MuteTiming.

func (*MuteTiming) SetProviderReference

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

SetProviderReference of this MuteTiming. Deprecated: Use SetProviderConfigReference.

func (*MuteTiming) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this MuteTiming.

func (*MuteTiming) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this MuteTiming.

type MuteTimingList

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

MuteTimingList contains a list of MuteTimings

func (*MuteTimingList) DeepCopy

func (in *MuteTimingList) DeepCopy() *MuteTimingList

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

func (*MuteTimingList) DeepCopyInto

func (in *MuteTimingList) DeepCopyInto(out *MuteTimingList)

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

func (*MuteTimingList) DeepCopyObject

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

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

func (*MuteTimingList) GetItems

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

GetItems of this MuteTimingList.

type MuteTimingObservation

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

func (*MuteTimingObservation) DeepCopy

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

func (*MuteTimingObservation) DeepCopyInto

func (in *MuteTimingObservation) DeepCopyInto(out *MuteTimingObservation)

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

type MuteTimingParameters

type MuteTimingParameters struct {

	// The time intervals at which to mute notifications.
	// +kubebuilder:validation:Optional
	Intervals []IntervalsParameters `json:"intervals,omitempty" tf:"intervals,omitempty"`

	// The name of the mute timing.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`
}

func (*MuteTimingParameters) DeepCopy

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

func (*MuteTimingParameters) DeepCopyInto

func (in *MuteTimingParameters) DeepCopyInto(out *MuteTimingParameters)

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

type MuteTimingSpec

type MuteTimingSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     MuteTimingParameters `json:"forProvider"`
}

MuteTimingSpec defines the desired state of MuteTiming

func (*MuteTimingSpec) DeepCopy

func (in *MuteTimingSpec) DeepCopy() *MuteTimingSpec

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

func (*MuteTimingSpec) DeepCopyInto

func (in *MuteTimingSpec) DeepCopyInto(out *MuteTimingSpec)

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

type MuteTimingStatus

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

MuteTimingStatus defines the observed state of MuteTiming.

func (*MuteTimingStatus) DeepCopy

func (in *MuteTimingStatus) DeepCopy() *MuteTimingStatus

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

func (*MuteTimingStatus) DeepCopyInto

func (in *MuteTimingStatus) DeepCopyInto(out *MuteTimingStatus)

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

type NotificationPolicy

type NotificationPolicy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              NotificationPolicySpec   `json:"spec"`
	Status            NotificationPolicyStatus `json:"status,omitempty"`
}

NotificationPolicy is the Schema for the NotificationPolicys API. <no value> +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,grafana}

func (*NotificationPolicy) DeepCopy

func (in *NotificationPolicy) DeepCopy() *NotificationPolicy

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

func (*NotificationPolicy) DeepCopyInto

func (in *NotificationPolicy) DeepCopyInto(out *NotificationPolicy)

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

func (*NotificationPolicy) DeepCopyObject

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

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

func (*NotificationPolicy) GetCondition

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

GetCondition of this NotificationPolicy.

func (*NotificationPolicy) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this NotificationPolicy

func (*NotificationPolicy) GetDeletionPolicy

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

GetDeletionPolicy of this NotificationPolicy.

func (*NotificationPolicy) GetID

func (tr *NotificationPolicy) GetID() string

GetID returns ID of underlying Terraform resource of this NotificationPolicy

func (*NotificationPolicy) GetObservation

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

GetObservation of this NotificationPolicy

func (*NotificationPolicy) GetParameters

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

GetParameters of this NotificationPolicy

func (*NotificationPolicy) GetProviderConfigReference

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

GetProviderConfigReference of this NotificationPolicy.

func (*NotificationPolicy) GetProviderReference

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

GetProviderReference of this NotificationPolicy. Deprecated: Use GetProviderConfigReference.

func (*NotificationPolicy) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this NotificationPolicy.

func (*NotificationPolicy) GetTerraformResourceType

func (mg *NotificationPolicy) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this NotificationPolicy

func (*NotificationPolicy) GetTerraformSchemaVersion

func (tr *NotificationPolicy) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*NotificationPolicy) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this NotificationPolicy.

func (*NotificationPolicy) LateInitialize

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

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

func (*NotificationPolicy) ResolveReferences

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

ResolveReferences of this NotificationPolicy.

func (*NotificationPolicy) SetConditions

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

SetConditions of this NotificationPolicy.

func (*NotificationPolicy) SetDeletionPolicy

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

SetDeletionPolicy of this NotificationPolicy.

func (*NotificationPolicy) SetObservation

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

SetObservation for this NotificationPolicy

func (*NotificationPolicy) SetParameters

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

SetParameters for this NotificationPolicy

func (*NotificationPolicy) SetProviderConfigReference

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

SetProviderConfigReference of this NotificationPolicy.

func (*NotificationPolicy) SetProviderReference

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

SetProviderReference of this NotificationPolicy. Deprecated: Use SetProviderConfigReference.

func (*NotificationPolicy) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this NotificationPolicy.

func (*NotificationPolicy) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this NotificationPolicy.

type NotificationPolicyList

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

NotificationPolicyList contains a list of NotificationPolicys

func (*NotificationPolicyList) DeepCopy

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

func (*NotificationPolicyList) DeepCopyInto

func (in *NotificationPolicyList) DeepCopyInto(out *NotificationPolicyList)

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

func (*NotificationPolicyList) DeepCopyObject

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

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

func (*NotificationPolicyList) GetItems

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

GetItems of this NotificationPolicyList.

type NotificationPolicyObservation

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

func (*NotificationPolicyObservation) DeepCopy

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

func (*NotificationPolicyObservation) DeepCopyInto

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

type NotificationPolicyParameters

type NotificationPolicyParameters struct {

	// The default contact point to route all unmatched notifications to.
	// +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/alerting/v1alpha1.ContactPoint
	// +crossplane:generate:reference:extractor=github.com/grafana/crossplane-provider-grafana/config/grafana.NameExtractor()
	// +crossplane:generate:reference:refFieldName=ContactPointRef
	// +crossplane:generate:reference:selectorFieldName=ContactPointSelector
	// +kubebuilder:validation:Optional
	ContactPoint *string `json:"contactPoint,omitempty" tf:"contact_point,omitempty"`

	// Reference to a ContactPoint in alerting to populate contactPoint.
	// +kubebuilder:validation:Optional
	ContactPointRef *v1.Reference `json:"contactPointRef,omitempty" tf:"-"`

	// Selector for a ContactPoint in alerting to populate contactPoint.
	// +kubebuilder:validation:Optional
	ContactPointSelector *v1.Selector `json:"contactPointSelector,omitempty" tf:"-"`

	// A list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping.
	// +kubebuilder:validation:Required
	GroupBy []*string `json:"groupBy" tf:"group_by,omitempty"`

	// Minimum time interval between two notifications for the same group. Default is 5 minutes.
	// +kubebuilder:validation:Optional
	GroupInterval *string `json:"groupInterval,omitempty" tf:"group_interval,omitempty"`

	// Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.
	// +kubebuilder:validation:Optional
	GroupWait *string `json:"groupWait,omitempty" tf:"group_wait,omitempty"`

	// Routing rules for specific label sets.
	// +kubebuilder:validation:Optional
	Policy []PolicyParameters `json:"policy,omitempty" tf:"policy,omitempty"`

	// Minimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours.
	// +kubebuilder:validation:Optional
	RepeatInterval *string `json:"repeatInterval,omitempty" tf:"repeat_interval,omitempty"`
}

func (*NotificationPolicyParameters) DeepCopy

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

func (*NotificationPolicyParameters) DeepCopyInto

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

type NotificationPolicySpec

type NotificationPolicySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     NotificationPolicyParameters `json:"forProvider"`
}

NotificationPolicySpec defines the desired state of NotificationPolicy

func (*NotificationPolicySpec) DeepCopy

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

func (*NotificationPolicySpec) DeepCopyInto

func (in *NotificationPolicySpec) DeepCopyInto(out *NotificationPolicySpec)

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

type NotificationPolicyStatus

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

NotificationPolicyStatus defines the observed state of NotificationPolicy.

func (*NotificationPolicyStatus) DeepCopy

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

func (*NotificationPolicyStatus) DeepCopyInto

func (in *NotificationPolicyStatus) DeepCopyInto(out *NotificationPolicyStatus)

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

type OpsgenieObservation

type OpsgenieObservation struct {

	// The UID of the contact point.
	UID *string `json:"uid,omitempty" tf:"uid,omitempty"`
}

func (*OpsgenieObservation) DeepCopy

func (in *OpsgenieObservation) DeepCopy() *OpsgenieObservation

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

func (*OpsgenieObservation) DeepCopyInto

func (in *OpsgenieObservation) DeepCopyInto(out *OpsgenieObservation)

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

type OpsgenieParameters

type OpsgenieParameters struct {

	// The OpsGenie API key to use.
	// +kubebuilder:validation:Required
	APIKeySecretRef v1.SecretKeySelector `json:"apiKeySecretRef" tf:"-"`

	// Whether to auto-close alerts in OpsGenie when they resolve in the Alertmanager.
	// +kubebuilder:validation:Optional
	AutoClose *bool `json:"autoClose,omitempty" tf:"auto_close,omitempty"`

	// A templated high-level description to use for the alert.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Whether to disable sending resolve messages. Defaults to `false`.
	// +kubebuilder:validation:Optional
	DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"`

	// The templated content of the message.
	// +kubebuilder:validation:Optional
	Message *string `json:"message,omitempty" tf:"message,omitempty"`

	// Whether to allow the alert priority to be configured via the value of the `og_priority` annotation on the alert.
	// +kubebuilder:validation:Optional
	OverridePriority *bool `json:"overridePriority,omitempty" tf:"override_priority,omitempty"`

	// Whether to send annotations to OpsGenie as Tags, Details, or both. Supported values are `tags`, `details`, `both`, or empty to use the default behavior of Tags.
	// +kubebuilder:validation:Optional
	SendTagsAs *string `json:"sendTagsAs,omitempty" tf:"send_tags_as,omitempty"`

	// Additional custom properties to attach to the notifier. Defaults to `map[]`.
	// +kubebuilder:validation:Optional
	SettingsSecretRef *v1.SecretReference `json:"settingsSecretRef,omitempty" tf:"-"`

	// Allows customization of the OpsGenie API URL.
	// +kubebuilder:validation:Optional
	URL *string `json:"url,omitempty" tf:"url,omitempty"`
}

func (*OpsgenieParameters) DeepCopy

func (in *OpsgenieParameters) DeepCopy() *OpsgenieParameters

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

func (*OpsgenieParameters) DeepCopyInto

func (in *OpsgenieParameters) DeepCopyInto(out *OpsgenieParameters)

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

type PagerdutyObservation

type PagerdutyObservation struct {

	// The UID of the contact point.
	UID *string `json:"uid,omitempty" tf:"uid,omitempty"`
}

func (*PagerdutyObservation) DeepCopy

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

func (*PagerdutyObservation) DeepCopyInto

func (in *PagerdutyObservation) DeepCopyInto(out *PagerdutyObservation)

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

type PagerdutyParameters

type PagerdutyParameters struct {

	// The class or type of event, for example `ping failure`.
	// +kubebuilder:validation:Optional
	Class *string `json:"class,omitempty" tf:"class,omitempty"`

	// The component being affected by the event.
	// +kubebuilder:validation:Optional
	Component *string `json:"component,omitempty" tf:"component,omitempty"`

	// Whether to disable sending resolve messages. Defaults to `false`.
	// +kubebuilder:validation:Optional
	DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"`

	// The group to which the provided component belongs to.
	// +kubebuilder:validation:Optional
	Group *string `json:"group,omitempty" tf:"group,omitempty"`

	// The PagerDuty API key.
	// +kubebuilder:validation:Required
	IntegrationKeySecretRef v1.SecretKeySelector `json:"integrationKeySecretRef" tf:"-"`

	// Additional custom properties to attach to the notifier. Defaults to `map[]`.
	// +kubebuilder:validation:Optional
	SettingsSecretRef *v1.SecretReference `json:"settingsSecretRef,omitempty" tf:"-"`

	// The PagerDuty event severity level. Default is `critical`.
	// +kubebuilder:validation:Optional
	Severity *string `json:"severity,omitempty" tf:"severity,omitempty"`

	// The templated summary message of the event.
	// +kubebuilder:validation:Optional
	Summary *string `json:"summary,omitempty" tf:"summary,omitempty"`
}

func (*PagerdutyParameters) DeepCopy

func (in *PagerdutyParameters) DeepCopy() *PagerdutyParameters

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

func (*PagerdutyParameters) DeepCopyInto

func (in *PagerdutyParameters) DeepCopyInto(out *PagerdutyParameters)

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

type PolicyMatcherObservation

type PolicyMatcherObservation struct {
}

func (*PolicyMatcherObservation) DeepCopy

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

func (*PolicyMatcherObservation) DeepCopyInto

func (in *PolicyMatcherObservation) DeepCopyInto(out *PolicyMatcherObservation)

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

type PolicyMatcherParameters

type PolicyMatcherParameters struct {

	// The name of the label to match against.
	// +kubebuilder:validation:Required
	Label *string `json:"label" tf:"label,omitempty"`

	// The operator to apply when matching values of the given label. Allowed operators are `=` for equality, `!=` for negated equality, `=~` for regex equality, and `!~` for negated regex equality.
	// +kubebuilder:validation:Required
	Match *string `json:"match" tf:"match,omitempty"`

	// The label value to match against.
	// +kubebuilder:validation:Required
	Value *string `json:"value" tf:"value,omitempty"`
}

func (*PolicyMatcherParameters) DeepCopy

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

func (*PolicyMatcherParameters) DeepCopyInto

func (in *PolicyMatcherParameters) DeepCopyInto(out *PolicyMatcherParameters)

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

type PolicyObservation

type PolicyObservation struct {
}

func (*PolicyObservation) DeepCopy

func (in *PolicyObservation) DeepCopy() *PolicyObservation

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

func (*PolicyObservation) DeepCopyInto

func (in *PolicyObservation) DeepCopyInto(out *PolicyObservation)

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

type PolicyParameters

type PolicyParameters struct {

	// The contact point to route notifications that match this rule to.
	// +kubebuilder:validation:Required
	ContactPoint *string `json:"contactPoint" tf:"contact_point,omitempty"`

	// Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.
	// +kubebuilder:validation:Optional
	Continue *bool `json:"continue,omitempty" tf:"continue,omitempty"`

	// A list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping.
	// +kubebuilder:validation:Required
	GroupBy []*string `json:"groupBy" tf:"group_by,omitempty"`

	// Minimum time interval between two notifications for the same group. Default is 5 minutes.
	// +kubebuilder:validation:Optional
	GroupInterval *string `json:"groupInterval,omitempty" tf:"group_interval,omitempty"`

	// Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.
	// +kubebuilder:validation:Optional
	GroupWait *string `json:"groupWait,omitempty" tf:"group_wait,omitempty"`

	// Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances.
	// +kubebuilder:validation:Optional
	Matcher []MatcherParameters `json:"matcher,omitempty" tf:"matcher,omitempty"`

	// A list of mute timing names to apply to alerts that match this policy.
	// +kubebuilder:validation:Optional
	MuteTimings []*string `json:"muteTimings,omitempty" tf:"mute_timings,omitempty"`

	// Routing rules for specific label sets.
	// +kubebuilder:validation:Optional
	Policy []PolicyPolicyParameters `json:"policy,omitempty" tf:"policy,omitempty"`

	// Minimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours.
	// +kubebuilder:validation:Optional
	RepeatInterval *string `json:"repeatInterval,omitempty" tf:"repeat_interval,omitempty"`
}

func (*PolicyParameters) DeepCopy

func (in *PolicyParameters) DeepCopy() *PolicyParameters

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

func (*PolicyParameters) DeepCopyInto

func (in *PolicyParameters) DeepCopyInto(out *PolicyParameters)

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

type PolicyPolicyMatcherObservation

type PolicyPolicyMatcherObservation struct {
}

func (*PolicyPolicyMatcherObservation) DeepCopy

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

func (*PolicyPolicyMatcherObservation) DeepCopyInto

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

type PolicyPolicyMatcherParameters

type PolicyPolicyMatcherParameters struct {

	// The name of the label to match against.
	// +kubebuilder:validation:Required
	Label *string `json:"label" tf:"label,omitempty"`

	// The operator to apply when matching values of the given label. Allowed operators are `=` for equality, `!=` for negated equality, `=~` for regex equality, and `!~` for negated regex equality.
	// +kubebuilder:validation:Required
	Match *string `json:"match" tf:"match,omitempty"`

	// The label value to match against.
	// +kubebuilder:validation:Required
	Value *string `json:"value" tf:"value,omitempty"`
}

func (*PolicyPolicyMatcherParameters) DeepCopy

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

func (*PolicyPolicyMatcherParameters) DeepCopyInto

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

type PolicyPolicyObservation

type PolicyPolicyObservation struct {
}

func (*PolicyPolicyObservation) DeepCopy

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

func (*PolicyPolicyObservation) DeepCopyInto

func (in *PolicyPolicyObservation) DeepCopyInto(out *PolicyPolicyObservation)

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

type PolicyPolicyParameters

type PolicyPolicyParameters struct {

	// The contact point to route notifications that match this rule to.
	// +kubebuilder:validation:Required
	ContactPoint *string `json:"contactPoint" tf:"contact_point,omitempty"`

	// Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.
	// +kubebuilder:validation:Optional
	Continue *bool `json:"continue,omitempty" tf:"continue,omitempty"`

	// A list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping.
	// +kubebuilder:validation:Required
	GroupBy []*string `json:"groupBy" tf:"group_by,omitempty"`

	// Minimum time interval between two notifications for the same group. Default is 5 minutes.
	// +kubebuilder:validation:Optional
	GroupInterval *string `json:"groupInterval,omitempty" tf:"group_interval,omitempty"`

	// Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.
	// +kubebuilder:validation:Optional
	GroupWait *string `json:"groupWait,omitempty" tf:"group_wait,omitempty"`

	// Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances.
	// +kubebuilder:validation:Optional
	Matcher []PolicyMatcherParameters `json:"matcher,omitempty" tf:"matcher,omitempty"`

	// A list of mute timing names to apply to alerts that match this policy.
	// +kubebuilder:validation:Optional
	MuteTimings []*string `json:"muteTimings,omitempty" tf:"mute_timings,omitempty"`

	// Routing rules for specific label sets.
	// +kubebuilder:validation:Optional
	Policy []PolicyPolicyPolicyParameters `json:"policy,omitempty" tf:"policy,omitempty"`

	// Minimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours.
	// +kubebuilder:validation:Optional
	RepeatInterval *string `json:"repeatInterval,omitempty" tf:"repeat_interval,omitempty"`
}

func (*PolicyPolicyParameters) DeepCopy

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

func (*PolicyPolicyParameters) DeepCopyInto

func (in *PolicyPolicyParameters) DeepCopyInto(out *PolicyPolicyParameters)

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

type PolicyPolicyPolicyMatcherObservation

type PolicyPolicyPolicyMatcherObservation struct {
}

func (*PolicyPolicyPolicyMatcherObservation) DeepCopy

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

func (*PolicyPolicyPolicyMatcherObservation) DeepCopyInto

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

type PolicyPolicyPolicyMatcherParameters

type PolicyPolicyPolicyMatcherParameters struct {

	// The name of the label to match against.
	// +kubebuilder:validation:Required
	Label *string `json:"label" tf:"label,omitempty"`

	// The operator to apply when matching values of the given label. Allowed operators are `=` for equality, `!=` for negated equality, `=~` for regex equality, and `!~` for negated regex equality.
	// +kubebuilder:validation:Required
	Match *string `json:"match" tf:"match,omitempty"`

	// The label value to match against.
	// +kubebuilder:validation:Required
	Value *string `json:"value" tf:"value,omitempty"`
}

func (*PolicyPolicyPolicyMatcherParameters) DeepCopy

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

func (*PolicyPolicyPolicyMatcherParameters) DeepCopyInto

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

type PolicyPolicyPolicyObservation

type PolicyPolicyPolicyObservation struct {
}

func (*PolicyPolicyPolicyObservation) DeepCopy

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

func (*PolicyPolicyPolicyObservation) DeepCopyInto

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

type PolicyPolicyPolicyParameters

type PolicyPolicyPolicyParameters struct {

	// The contact point to route notifications that match this rule to.
	// +kubebuilder:validation:Required
	ContactPoint *string `json:"contactPoint" tf:"contact_point,omitempty"`

	// Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.
	// +kubebuilder:validation:Optional
	Continue *bool `json:"continue,omitempty" tf:"continue,omitempty"`

	// A list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping.
	// +kubebuilder:validation:Required
	GroupBy []*string `json:"groupBy" tf:"group_by,omitempty"`

	// Minimum time interval between two notifications for the same group. Default is 5 minutes.
	// +kubebuilder:validation:Optional
	GroupInterval *string `json:"groupInterval,omitempty" tf:"group_interval,omitempty"`

	// Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.
	// +kubebuilder:validation:Optional
	GroupWait *string `json:"groupWait,omitempty" tf:"group_wait,omitempty"`

	// Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances.
	// +kubebuilder:validation:Optional
	Matcher []PolicyPolicyMatcherParameters `json:"matcher,omitempty" tf:"matcher,omitempty"`

	// A list of mute timing names to apply to alerts that match this policy.
	// +kubebuilder:validation:Optional
	MuteTimings []*string `json:"muteTimings,omitempty" tf:"mute_timings,omitempty"`

	// Routing rules for specific label sets.
	// +kubebuilder:validation:Optional
	Policy []PolicyPolicyPolicyPolicyParameters `json:"policy,omitempty" tf:"policy,omitempty"`

	// Minimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours.
	// +kubebuilder:validation:Optional
	RepeatInterval *string `json:"repeatInterval,omitempty" tf:"repeat_interval,omitempty"`
}

func (*PolicyPolicyPolicyParameters) DeepCopy

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

func (*PolicyPolicyPolicyParameters) DeepCopyInto

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

type PolicyPolicyPolicyPolicyObservation

type PolicyPolicyPolicyPolicyObservation struct {
}

func (*PolicyPolicyPolicyPolicyObservation) DeepCopy

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

func (*PolicyPolicyPolicyPolicyObservation) DeepCopyInto

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

type PolicyPolicyPolicyPolicyParameters

type PolicyPolicyPolicyPolicyParameters struct {

	// The contact point to route notifications that match this rule to.
	// +kubebuilder:validation:Required
	ContactPoint *string `json:"contactPoint" tf:"contact_point,omitempty"`

	// Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.
	// +kubebuilder:validation:Optional
	Continue *bool `json:"continue,omitempty" tf:"continue,omitempty"`

	// A list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping.
	// +kubebuilder:validation:Required
	GroupBy []*string `json:"groupBy" tf:"group_by,omitempty"`

	// Minimum time interval between two notifications for the same group. Default is 5 minutes.
	// +kubebuilder:validation:Optional
	GroupInterval *string `json:"groupInterval,omitempty" tf:"group_interval,omitempty"`

	// Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.
	// +kubebuilder:validation:Optional
	GroupWait *string `json:"groupWait,omitempty" tf:"group_wait,omitempty"`

	// Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances.
	// +kubebuilder:validation:Optional
	Matcher []PolicyPolicyPolicyMatcherParameters `json:"matcher,omitempty" tf:"matcher,omitempty"`

	// A list of mute timing names to apply to alerts that match this policy.
	// +kubebuilder:validation:Optional
	MuteTimings []*string `json:"muteTimings,omitempty" tf:"mute_timings,omitempty"`

	// Minimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours.
	// +kubebuilder:validation:Optional
	RepeatInterval *string `json:"repeatInterval,omitempty" tf:"repeat_interval,omitempty"`
}

func (*PolicyPolicyPolicyPolicyParameters) DeepCopy

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

func (*PolicyPolicyPolicyPolicyParameters) DeepCopyInto

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

type PushoverObservation

type PushoverObservation struct {

	// The UID of the contact point.
	UID *string `json:"uid,omitempty" tf:"uid,omitempty"`
}

func (*PushoverObservation) DeepCopy

func (in *PushoverObservation) DeepCopy() *PushoverObservation

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

func (*PushoverObservation) DeepCopyInto

func (in *PushoverObservation) DeepCopyInto(out *PushoverObservation)

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

type PushoverParameters

type PushoverParameters struct {

	// The Pushover API token.
	// +kubebuilder:validation:Required
	APITokenSecretRef v1.SecretKeySelector `json:"apiTokenSecretRef" tf:"-"`

	// Comma-separated list of devices to which the event is associated.
	// +kubebuilder:validation:Optional
	Device *string `json:"device,omitempty" tf:"device,omitempty"`

	// Whether to disable sending resolve messages. Defaults to `false`.
	// +kubebuilder:validation:Optional
	DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"`

	// How many seconds for which the notification will continue to be retried by Pushover.
	// +kubebuilder:validation:Optional
	Expire *float64 `json:"expire,omitempty" tf:"expire,omitempty"`

	// The templated notification message content.
	// +kubebuilder:validation:Optional
	Message *string `json:"message,omitempty" tf:"message,omitempty"`

	// The priority level of the resolved event.
	// +kubebuilder:validation:Optional
	OkPriority *float64 `json:"okPriority,omitempty" tf:"ok_priority,omitempty"`

	// The sound associated with the resolved notification.
	// +kubebuilder:validation:Optional
	OkSound *string `json:"okSound,omitempty" tf:"ok_sound,omitempty"`

	// The priority level of the event.
	// +kubebuilder:validation:Optional
	Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"`

	// How often, in seconds, the Pushover servers will send the same notification to the user.
	// +kubebuilder:validation:Optional
	Retry *float64 `json:"retry,omitempty" tf:"retry,omitempty"`

	// Additional custom properties to attach to the notifier. Defaults to `map[]`.
	// +kubebuilder:validation:Optional
	SettingsSecretRef *v1.SecretReference `json:"settingsSecretRef,omitempty" tf:"-"`

	// The sound associated with the notification.
	// +kubebuilder:validation:Optional
	Sound *string `json:"sound,omitempty" tf:"sound,omitempty"`

	// The Pushover user key.
	// +kubebuilder:validation:Required
	UserKeySecretRef v1.SecretKeySelector `json:"userKeySecretRef" tf:"-"`
}

func (*PushoverParameters) DeepCopy

func (in *PushoverParameters) DeepCopy() *PushoverParameters

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

func (*PushoverParameters) DeepCopyInto

func (in *PushoverParameters) DeepCopyInto(out *PushoverParameters)

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

type RelativeTimeRangeObservation

type RelativeTimeRangeObservation struct {
}

func (*RelativeTimeRangeObservation) DeepCopy

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

func (*RelativeTimeRangeObservation) DeepCopyInto

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

type RelativeTimeRangeParameters

type RelativeTimeRangeParameters struct {

	// The number of seconds in the past, relative to when the rule is evaluated, at which the time range begins.
	// +kubebuilder:validation:Required
	From *float64 `json:"from" tf:"from,omitempty"`

	// The number of seconds in the past, relative to when the rule is evaluated, at which the time range ends.
	// +kubebuilder:validation:Required
	To *float64 `json:"to" tf:"to,omitempty"`
}

func (*RelativeTimeRangeParameters) DeepCopy

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

func (*RelativeTimeRangeParameters) DeepCopyInto

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

type RuleGroup

type RuleGroup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RuleGroupSpec   `json:"spec"`
	Status            RuleGroupStatus `json:"status,omitempty"`
}

RuleGroup is the Schema for the RuleGroups API. <no value> +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,grafana}

func (*RuleGroup) DeepCopy

func (in *RuleGroup) DeepCopy() *RuleGroup

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

func (*RuleGroup) DeepCopyInto

func (in *RuleGroup) DeepCopyInto(out *RuleGroup)

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

func (*RuleGroup) DeepCopyObject

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

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

func (*RuleGroup) GetCondition

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

GetCondition of this RuleGroup.

func (*RuleGroup) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this RuleGroup

func (*RuleGroup) GetDeletionPolicy

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

GetDeletionPolicy of this RuleGroup.

func (*RuleGroup) GetID

func (tr *RuleGroup) GetID() string

GetID returns ID of underlying Terraform resource of this RuleGroup

func (*RuleGroup) GetObservation

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

GetObservation of this RuleGroup

func (*RuleGroup) GetParameters

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

GetParameters of this RuleGroup

func (*RuleGroup) GetProviderConfigReference

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

GetProviderConfigReference of this RuleGroup.

func (*RuleGroup) GetProviderReference

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

GetProviderReference of this RuleGroup. Deprecated: Use GetProviderConfigReference.

func (*RuleGroup) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this RuleGroup.

func (*RuleGroup) GetTerraformResourceType

func (mg *RuleGroup) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this RuleGroup

func (*RuleGroup) GetTerraformSchemaVersion

func (tr *RuleGroup) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*RuleGroup) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this RuleGroup.

func (*RuleGroup) LateInitialize

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

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

func (*RuleGroup) ResolveReferences

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

ResolveReferences of this RuleGroup.

func (*RuleGroup) SetConditions

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

SetConditions of this RuleGroup.

func (*RuleGroup) SetDeletionPolicy

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

SetDeletionPolicy of this RuleGroup.

func (*RuleGroup) SetObservation

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

SetObservation for this RuleGroup

func (*RuleGroup) SetParameters

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

SetParameters for this RuleGroup

func (*RuleGroup) SetProviderConfigReference

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

SetProviderConfigReference of this RuleGroup.

func (*RuleGroup) SetProviderReference

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

SetProviderReference of this RuleGroup. Deprecated: Use SetProviderConfigReference.

func (*RuleGroup) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this RuleGroup.

func (*RuleGroup) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this RuleGroup.

type RuleGroupList

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

RuleGroupList contains a list of RuleGroups

func (*RuleGroupList) DeepCopy

func (in *RuleGroupList) DeepCopy() *RuleGroupList

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

func (*RuleGroupList) DeepCopyInto

func (in *RuleGroupList) DeepCopyInto(out *RuleGroupList)

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

func (*RuleGroupList) DeepCopyObject

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

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

func (*RuleGroupList) GetItems

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

GetItems of this RuleGroupList.

type RuleGroupObservation

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

	// The rules within the group.
	// +kubebuilder:validation:Required
	Rule []RuleObservation `json:"rule,omitempty" tf:"rule,omitempty"`
}

func (*RuleGroupObservation) DeepCopy

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

func (*RuleGroupObservation) DeepCopyInto

func (in *RuleGroupObservation) DeepCopyInto(out *RuleGroupObservation)

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

type RuleGroupParameters

type RuleGroupParameters struct {

	// Reference to a Folder in oss to populate folderUid.
	// +kubebuilder:validation:Optional
	FolderRef *v1.Reference `json:"folderRef,omitempty" tf:"-"`

	// Selector for a Folder in oss to populate folderUid.
	// +kubebuilder:validation:Optional
	FolderSelector *v1.Selector `json:"folderSelector,omitempty" tf:"-"`

	// The UID of the folder that the group belongs to.
	// +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Folder
	// +crossplane:generate:reference:extractor=github.com/grafana/crossplane-provider-grafana/config/grafana.UIDExtractor()
	// +crossplane:generate:reference:refFieldName=FolderRef
	// +crossplane:generate:reference:selectorFieldName=FolderSelector
	// +kubebuilder:validation:Optional
	FolderUID *string `json:"folderUid,omitempty" tf:"folder_uid,omitempty"`

	// The interval, in seconds, at which all rules in the group are evaluated. If a group contains many rules, the rules are evaluated sequentially.
	// +kubebuilder:validation:Required
	IntervalSeconds *float64 `json:"intervalSeconds" tf:"interval_seconds,omitempty"`

	// The name of the rule group.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// The ID of the org to which the group belongs.
	// +kubebuilder:validation:Required
	OrgID *float64 `json:"orgId" tf:"org_id,omitempty"`

	// The rules within the group.
	// +kubebuilder:validation:Required
	Rule []RuleParameters `json:"rule" tf:"rule,omitempty"`
}

func (*RuleGroupParameters) DeepCopy

func (in *RuleGroupParameters) DeepCopy() *RuleGroupParameters

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

func (*RuleGroupParameters) DeepCopyInto

func (in *RuleGroupParameters) DeepCopyInto(out *RuleGroupParameters)

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

type RuleGroupSpec

type RuleGroupSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     RuleGroupParameters `json:"forProvider"`
}

RuleGroupSpec defines the desired state of RuleGroup

func (*RuleGroupSpec) DeepCopy

func (in *RuleGroupSpec) DeepCopy() *RuleGroupSpec

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

func (*RuleGroupSpec) DeepCopyInto

func (in *RuleGroupSpec) DeepCopyInto(out *RuleGroupSpec)

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

type RuleGroupStatus

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

RuleGroupStatus defines the observed state of RuleGroup.

func (*RuleGroupStatus) DeepCopy

func (in *RuleGroupStatus) DeepCopy() *RuleGroupStatus

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

func (*RuleGroupStatus) DeepCopyInto

func (in *RuleGroupStatus) DeepCopyInto(out *RuleGroupStatus)

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

type RuleObservation

type RuleObservation struct {

	// The unique identifier of the alert rule.
	UID *string `json:"uid,omitempty" tf:"uid,omitempty"`
}

func (*RuleObservation) DeepCopy

func (in *RuleObservation) DeepCopy() *RuleObservation

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

func (*RuleObservation) DeepCopyInto

func (in *RuleObservation) DeepCopyInto(out *RuleObservation)

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

type RuleParameters

type RuleParameters struct {

	// Key-value pairs of metadata to attach to the alert rule that may add user-defined context, but cannot be used for matching, grouping, or routing. Defaults to `map[]`.
	// +kubebuilder:validation:Optional
	Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"`

	// The `ref_id` of the query node in the `data` field to use as the alert condition.
	// +kubebuilder:validation:Required
	Condition *string `json:"condition" tf:"condition,omitempty"`

	// A sequence of stages that describe the contents of the rule.
	// +kubebuilder:validation:Required
	Data []DataParameters `json:"data" tf:"data,omitempty"`

	// Describes what state to enter when the rule's query is invalid and the rule cannot be executed. Options are OK, Error, and Alerting. Defaults to `Alerting`.
	// +kubebuilder:validation:Optional
	ExecErrState *string `json:"execErrState,omitempty" tf:"exec_err_state,omitempty"`

	// The amount of time for which the rule must be breached for the rule to be considered to be Firing. Before this time has elapsed, the rule is only considered to be Pending. Defaults to `0`.
	// +kubebuilder:validation:Optional
	For *string `json:"for,omitempty" tf:"for,omitempty"`

	// Key-value pairs to attach to the alert rule that can be used in matching, grouping, and routing. Defaults to `map[]`.
	// +kubebuilder:validation:Optional
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// The name of the alert rule.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// Describes what state to enter when the rule's query returns No Data. Options are OK, NoData, and Alerting. Defaults to `NoData`.
	// +kubebuilder:validation:Optional
	NoDataState *string `json:"noDataState,omitempty" tf:"no_data_state,omitempty"`
}

func (*RuleParameters) DeepCopy

func (in *RuleParameters) DeepCopy() *RuleParameters

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

func (*RuleParameters) DeepCopyInto

func (in *RuleParameters) DeepCopyInto(out *RuleParameters)

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

type SensugoObservation

type SensugoObservation struct {

	// The UID of the contact point.
	UID *string `json:"uid,omitempty" tf:"uid,omitempty"`
}

func (*SensugoObservation) DeepCopy

func (in *SensugoObservation) DeepCopy() *SensugoObservation

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

func (*SensugoObservation) DeepCopyInto

func (in *SensugoObservation) DeepCopyInto(out *SensugoObservation)

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

type SensugoParameters

type SensugoParameters struct {

	// The SensuGo API key.
	// +kubebuilder:validation:Required
	APIKeySecretRef v1.SecretKeySelector `json:"apiKeySecretRef" tf:"-"`

	// The SensuGo check to which the event should be routed.
	// +kubebuilder:validation:Optional
	Check *string `json:"check,omitempty" tf:"check,omitempty"`

	// Whether to disable sending resolve messages. Defaults to `false`.
	// +kubebuilder:validation:Optional
	DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"`

	// The entity being monitored.
	// +kubebuilder:validation:Optional
	Entity *string `json:"entity,omitempty" tf:"entity,omitempty"`

	// A custom handler to execute in addition to the check.
	// +kubebuilder:validation:Optional
	Handler *string `json:"handler,omitempty" tf:"handler,omitempty"`

	// Templated message content describing the alert.
	// +kubebuilder:validation:Optional
	Message *string `json:"message,omitempty" tf:"message,omitempty"`

	// The namespace in which the check resides.
	// +kubebuilder:validation:Optional
	Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"`

	// Additional custom properties to attach to the notifier. Defaults to `map[]`.
	// +kubebuilder:validation:Optional
	SettingsSecretRef *v1.SecretReference `json:"settingsSecretRef,omitempty" tf:"-"`

	// The SensuGo URL to send requests to.
	// +kubebuilder:validation:Required
	URL *string `json:"url" tf:"url,omitempty"`
}

func (*SensugoParameters) DeepCopy

func (in *SensugoParameters) DeepCopy() *SensugoParameters

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

func (*SensugoParameters) DeepCopyInto

func (in *SensugoParameters) DeepCopyInto(out *SensugoParameters)

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

type SlackObservation

type SlackObservation struct {

	// The UID of the contact point.
	UID *string `json:"uid,omitempty" tf:"uid,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 {

	// Whether to disable sending resolve messages. Defaults to `false`.
	// +kubebuilder:validation:Optional
	DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"`

	// Use this to override the Slack API endpoint URL to send requests to.
	// +kubebuilder:validation:Optional
	EndpointURL *string `json:"endpointUrl,omitempty" tf:"endpoint_url,omitempty"`

	// The name of a Slack workspace emoji to use as the bot icon.
	// +kubebuilder:validation:Optional
	IconEmoji *string `json:"iconEmoji,omitempty" tf:"icon_emoji,omitempty"`

	// A URL of an image to use as the bot icon.
	// +kubebuilder:validation:Optional
	IconURL *string `json:"iconUrl,omitempty" tf:"icon_url,omitempty"`

	// Describes how to ping the slack channel that messages are being sent to. Options are `here` for an @here ping, `channel` for @channel, or empty for no ping.
	// +kubebuilder:validation:Optional
	MentionChannel *string `json:"mentionChannel,omitempty" tf:"mention_channel,omitempty"`

	// Comma-separated list of groups to mention in the message.
	// +kubebuilder:validation:Optional
	MentionGroups *string `json:"mentionGroups,omitempty" tf:"mention_groups,omitempty"`

	// Comma-separated list of users to mention in the message.
	// +kubebuilder:validation:Optional
	MentionUsers *string `json:"mentionUsers,omitempty" tf:"mention_users,omitempty"`

	// Channel, private group, or IM channel (can be an encoded ID or a name) to send messages to.
	// +kubebuilder:validation:Optional
	Recipient *string `json:"recipient,omitempty" tf:"recipient,omitempty"`

	// Additional custom properties to attach to the notifier. Defaults to `map[]`.
	// +kubebuilder:validation:Optional
	SettingsSecretRef *v1.SecretReference `json:"settingsSecretRef,omitempty" tf:"-"`

	// Templated content of the message.
	// +kubebuilder:validation:Optional
	Text *string `json:"text,omitempty" tf:"text,omitempty"`

	// Templated title of the message.
	// +kubebuilder:validation:Optional
	Title *string `json:"title,omitempty" tf:"title,omitempty"`

	// A Slack API token,for sending messages directly without the webhook method.
	// +kubebuilder:validation:Optional
	TokenSecretRef *v1.SecretKeySelector `json:"tokenSecretRef,omitempty" tf:"-"`

	// A Slack webhook URL,for sending messages via the webhook method.
	// +kubebuilder:validation:Optional
	URLSecretRef *v1.SecretKeySelector `json:"urlSecretRef,omitempty" tf:"-"`

	// Username for the bot to use.
	// +kubebuilder:validation:Optional
	Username *string `json:"username,omitempty" tf:"username,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.

type TeamsObservation

type TeamsObservation struct {

	// The UID of the contact point.
	UID *string `json:"uid,omitempty" tf:"uid,omitempty"`
}

func (*TeamsObservation) DeepCopy

func (in *TeamsObservation) DeepCopy() *TeamsObservation

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

func (*TeamsObservation) DeepCopyInto

func (in *TeamsObservation) DeepCopyInto(out *TeamsObservation)

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

type TeamsParameters

type TeamsParameters struct {

	// Whether to disable sending resolve messages. Defaults to `false`.
	// +kubebuilder:validation:Optional
	DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"`

	// The templated message content to send.
	// +kubebuilder:validation:Optional
	Message *string `json:"message,omitempty" tf:"message,omitempty"`

	// The templated subtitle for each message section.
	// +kubebuilder:validation:Optional
	SectionTitle *string `json:"sectionTitle,omitempty" tf:"section_title,omitempty"`

	// Additional custom properties to attach to the notifier. Defaults to `map[]`.
	// +kubebuilder:validation:Optional
	SettingsSecretRef *v1.SecretReference `json:"settingsSecretRef,omitempty" tf:"-"`

	// The templated title of the message.
	// +kubebuilder:validation:Optional
	Title *string `json:"title,omitempty" tf:"title,omitempty"`

	// A Teams webhook URL.
	// +kubebuilder:validation:Required
	URLSecretRef v1.SecretKeySelector `json:"urlSecretRef" tf:"-"`
}

func (*TeamsParameters) DeepCopy

func (in *TeamsParameters) DeepCopy() *TeamsParameters

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

func (*TeamsParameters) DeepCopyInto

func (in *TeamsParameters) DeepCopyInto(out *TeamsParameters)

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

type TelegramObservation

type TelegramObservation struct {

	// The UID of the contact point.
	UID *string `json:"uid,omitempty" tf:"uid,omitempty"`
}

func (*TelegramObservation) DeepCopy

func (in *TelegramObservation) DeepCopy() *TelegramObservation

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

func (*TelegramObservation) DeepCopyInto

func (in *TelegramObservation) DeepCopyInto(out *TelegramObservation)

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

type TelegramParameters

type TelegramParameters struct {

	// The chat ID to send messages to.
	// +kubebuilder:validation:Required
	ChatID *string `json:"chatId" tf:"chat_id,omitempty"`

	// Whether to disable sending resolve messages. Defaults to `false`.
	// +kubebuilder:validation:Optional
	DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"`

	// The templated content of the message.
	// +kubebuilder:validation:Optional
	Message *string `json:"message,omitempty" tf:"message,omitempty"`

	// Additional custom properties to attach to the notifier. Defaults to `map[]`.
	// +kubebuilder:validation:Optional
	SettingsSecretRef *v1.SecretReference `json:"settingsSecretRef,omitempty" tf:"-"`

	// The Telegram bot token.
	// +kubebuilder:validation:Required
	TokenSecretRef v1.SecretKeySelector `json:"tokenSecretRef" tf:"-"`
}

func (*TelegramParameters) DeepCopy

func (in *TelegramParameters) DeepCopy() *TelegramParameters

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

func (*TelegramParameters) DeepCopyInto

func (in *TelegramParameters) DeepCopyInto(out *TelegramParameters)

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

type ThreemaObservation

type ThreemaObservation struct {

	// The UID of the contact point.
	UID *string `json:"uid,omitempty" tf:"uid,omitempty"`
}

func (*ThreemaObservation) DeepCopy

func (in *ThreemaObservation) DeepCopy() *ThreemaObservation

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

func (*ThreemaObservation) DeepCopyInto

func (in *ThreemaObservation) DeepCopyInto(out *ThreemaObservation)

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

type ThreemaParameters

type ThreemaParameters struct {

	// The Threema API key.
	// +kubebuilder:validation:Required
	APISecretSecretRef v1.SecretKeySelector `json:"apiSecretSecretRef" tf:"-"`

	// Whether to disable sending resolve messages. Defaults to `false`.
	// +kubebuilder:validation:Optional
	DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"`

	// The Threema gateway ID.
	// +kubebuilder:validation:Required
	GatewayID *string `json:"gatewayId" tf:"gateway_id,omitempty"`

	// The ID of the recipient of the message.
	// +kubebuilder:validation:Required
	RecipientID *string `json:"recipientId" tf:"recipient_id,omitempty"`

	// Additional custom properties to attach to the notifier. Defaults to `map[]`.
	// +kubebuilder:validation:Optional
	SettingsSecretRef *v1.SecretReference `json:"settingsSecretRef,omitempty" tf:"-"`
}

func (*ThreemaParameters) DeepCopy

func (in *ThreemaParameters) DeepCopy() *ThreemaParameters

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

func (*ThreemaParameters) DeepCopyInto

func (in *ThreemaParameters) DeepCopyInto(out *ThreemaParameters)

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

type TimesObservation

type TimesObservation struct {
}

func (*TimesObservation) DeepCopy

func (in *TimesObservation) DeepCopy() *TimesObservation

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

func (*TimesObservation) DeepCopyInto

func (in *TimesObservation) DeepCopyInto(out *TimesObservation)

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

type TimesParameters

type TimesParameters struct {

	// The time, in hh:mm format, of when the interval should end exclusively.
	// +kubebuilder:validation:Required
	End *string `json:"end" tf:"end,omitempty"`

	// The time, in hh:mm format, of when the interval should begin inclusively.
	// +kubebuilder:validation:Required
	Start *string `json:"start" tf:"start,omitempty"`
}

func (*TimesParameters) DeepCopy

func (in *TimesParameters) DeepCopy() *TimesParameters

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

func (*TimesParameters) DeepCopyInto

func (in *TimesParameters) DeepCopyInto(out *TimesParameters)

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

type VictoropsObservation

type VictoropsObservation struct {

	// The UID of the contact point.
	UID *string `json:"uid,omitempty" tf:"uid,omitempty"`
}

func (*VictoropsObservation) DeepCopy

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

func (*VictoropsObservation) DeepCopyInto

func (in *VictoropsObservation) DeepCopyInto(out *VictoropsObservation)

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

type VictoropsParameters

type VictoropsParameters struct {

	// Whether to disable sending resolve messages. Defaults to `false`.
	// +kubebuilder:validation:Optional
	DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"`

	// The VictorOps alert state - typically either `CRITICAL` or `RECOVERY`.
	// +kubebuilder:validation:Optional
	MessageType *string `json:"messageType,omitempty" tf:"message_type,omitempty"`

	// Additional custom properties to attach to the notifier. Defaults to `map[]`.
	// +kubebuilder:validation:Optional
	SettingsSecretRef *v1.SecretReference `json:"settingsSecretRef,omitempty" tf:"-"`

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

func (*VictoropsParameters) DeepCopy

func (in *VictoropsParameters) DeepCopy() *VictoropsParameters

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

func (*VictoropsParameters) DeepCopyInto

func (in *VictoropsParameters) DeepCopyInto(out *VictoropsParameters)

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

type WebhookObservation

type WebhookObservation struct {

	// The UID of the contact point.
	UID *string `json:"uid,omitempty" tf:"uid,omitempty"`
}

func (*WebhookObservation) DeepCopy

func (in *WebhookObservation) DeepCopy() *WebhookObservation

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

func (*WebhookObservation) DeepCopyInto

func (in *WebhookObservation) DeepCopyInto(out *WebhookObservation)

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

type WebhookParameters

type WebhookParameters struct {

	// Allows a custom authorization scheme - attaches an auth header with this value. Do not use in conjunction with basic auth parameters.
	// +kubebuilder:validation:Optional
	AuthorizationCredentialsSecretRef *v1.SecretKeySelector `json:"authorizationCredentialsSecretRef,omitempty" tf:"-"`

	// Allows a custom authorization scheme - attaches an auth header with this name. Do not use in conjunction with basic auth parameters.
	// +kubebuilder:validation:Optional
	AuthorizationScheme *string `json:"authorizationScheme,omitempty" tf:"authorization_scheme,omitempty"`

	// The username to use in basic auth headers attached to the request. If omitted, basic auth will not be used.
	// +kubebuilder:validation:Optional
	BasicAuthPasswordSecretRef *v1.SecretKeySelector `json:"basicAuthPasswordSecretRef,omitempty" tf:"-"`

	// The username to use in basic auth headers attached to the request. If omitted, basic auth will not be used.
	// +kubebuilder:validation:Optional
	BasicAuthUser *string `json:"basicAuthUser,omitempty" tf:"basic_auth_user,omitempty"`

	// Whether to disable sending resolve messages. Defaults to `false`.
	// +kubebuilder:validation:Optional
	DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"`

	// The HTTP method to use in the request. Defaults to `POST`.
	// +kubebuilder:validation:Optional
	HTTPMethod *string `json:"httpMethod,omitempty" tf:"http_method,omitempty"`

	// The maximum number of alerts to send in a single request. This can be helpful in limiting the size of the request body. The default is 0, which indicates no limit.
	// +kubebuilder:validation:Optional
	MaxAlerts *float64 `json:"maxAlerts,omitempty" tf:"max_alerts,omitempty"`

	// Additional custom properties to attach to the notifier. Defaults to `map[]`.
	// +kubebuilder:validation:Optional
	SettingsSecretRef *v1.SecretReference `json:"settingsSecretRef,omitempty" tf:"-"`

	// The URL to send webhook requests to.
	// +kubebuilder:validation:Required
	URL *string `json:"url" tf:"url,omitempty"`
}

func (*WebhookParameters) DeepCopy

func (in *WebhookParameters) DeepCopy() *WebhookParameters

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

func (*WebhookParameters) DeepCopyInto

func (in *WebhookParameters) DeepCopyInto(out *WebhookParameters)

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

type WecomObservation

type WecomObservation struct {

	// The UID of the contact point.
	UID *string `json:"uid,omitempty" tf:"uid,omitempty"`
}

func (*WecomObservation) DeepCopy

func (in *WecomObservation) DeepCopy() *WecomObservation

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

func (*WecomObservation) DeepCopyInto

func (in *WecomObservation) DeepCopyInto(out *WecomObservation)

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

type WecomParameters

type WecomParameters struct {

	// Whether to disable sending resolve messages. Defaults to `false`.
	// +kubebuilder:validation:Optional
	DisableResolveMessage *bool `json:"disableResolveMessage,omitempty" tf:"disable_resolve_message,omitempty"`

	// The templated content of the message to send.
	// +kubebuilder:validation:Optional
	Message *string `json:"message,omitempty" tf:"message,omitempty"`

	// Additional custom properties to attach to the notifier. Defaults to `map[]`.
	// +kubebuilder:validation:Optional
	SettingsSecretRef *v1.SecretReference `json:"settingsSecretRef,omitempty" tf:"-"`

	// The templated title of the message to send.
	// +kubebuilder:validation:Optional
	Title *string `json:"title,omitempty" tf:"title,omitempty"`

	// The WeCom webhook URL.
	// +kubebuilder:validation:Required
	URLSecretRef v1.SecretKeySelector `json:"urlSecretRef" tf:"-"`
}

func (*WecomParameters) DeepCopy

func (in *WecomParameters) DeepCopy() *WecomParameters

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

func (*WecomParameters) DeepCopyInto

func (in *WecomParameters) DeepCopyInto(out *WecomParameters)

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