v1alpha1

package
v0.0.12 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	Escalation_Kind             = "Escalation"
	Escalation_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Escalation_Kind}.String()
	Escalation_KindAPIVersion   = Escalation_Kind + "." + CRDGroupVersion.String()
	Escalation_GroupVersionKind = CRDGroupVersion.WithKind(Escalation_Kind)
)

Repository type metadata.

View Source
var (
	EscalationChain_Kind             = "EscalationChain"
	EscalationChain_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: EscalationChain_Kind}.String()
	EscalationChain_KindAPIVersion   = EscalationChain_Kind + "." + CRDGroupVersion.String()
	EscalationChain_GroupVersionKind = CRDGroupVersion.WithKind(EscalationChain_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 (
	Integration_Kind             = "Integration"
	Integration_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Integration_Kind}.String()
	Integration_KindAPIVersion   = Integration_Kind + "." + CRDGroupVersion.String()
	Integration_GroupVersionKind = CRDGroupVersion.WithKind(Integration_Kind)
)

Repository type metadata.

View Source
var (
	OnCallShift_Kind             = "OnCallShift"
	OnCallShift_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: OnCallShift_Kind}.String()
	OnCallShift_KindAPIVersion   = OnCallShift_Kind + "." + CRDGroupVersion.String()
	OnCallShift_GroupVersionKind = CRDGroupVersion.WithKind(OnCallShift_Kind)
)

Repository type metadata.

View Source
var (
	OutgoingWebhook_Kind             = "OutgoingWebhook"
	OutgoingWebhook_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: OutgoingWebhook_Kind}.String()
	OutgoingWebhook_KindAPIVersion   = OutgoingWebhook_Kind + "." + CRDGroupVersion.String()
	OutgoingWebhook_GroupVersionKind = CRDGroupVersion.WithKind(OutgoingWebhook_Kind)
)

Repository type metadata.

View Source
var (
	Route_Kind             = "Route"
	Route_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Route_Kind}.String()
	Route_KindAPIVersion   = Route_Kind + "." + CRDGroupVersion.String()
	Route_GroupVersionKind = CRDGroupVersion.WithKind(Route_Kind)
)

Repository type metadata.

View Source
var (
	Schedule_Kind             = "Schedule"
	Schedule_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Schedule_Kind}.String()
	Schedule_KindAPIVersion   = Schedule_Kind + "." + CRDGroupVersion.String()
	Schedule_GroupVersionKind = CRDGroupVersion.WithKind(Schedule_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type DefaultRouteObservation

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

func (*DefaultRouteObservation) DeepCopy

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

func (*DefaultRouteObservation) DeepCopyInto

func (in *DefaultRouteObservation) DeepCopyInto(out *DefaultRouteObservation)

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

type DefaultRouteParameters

type DefaultRouteParameters struct {

	// The ID of the escalation chain.
	// +kubebuilder:validation:Optional
	EscalationChainID *string `json:"escalationChainId,omitempty" tf:"escalation_chain_id,omitempty"`

	// MS teams-specific settings for a route.
	// +kubebuilder:validation:Optional
	Msteams []MsteamsParameters `json:"msteams,omitempty" tf:"msteams,omitempty"`

	// Slack-specific settings for a route.
	// +kubebuilder:validation:Optional
	Slack []SlackParameters `json:"slack,omitempty" tf:"slack,omitempty"`

	// Telegram-specific settings for a route.
	// +kubebuilder:validation:Optional
	Telegram []TelegramParameters `json:"telegram,omitempty" tf:"telegram,omitempty"`
}

func (*DefaultRouteParameters) DeepCopy

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

func (*DefaultRouteParameters) DeepCopyInto

func (in *DefaultRouteParameters) DeepCopyInto(out *DefaultRouteParameters)

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

type Escalation

type Escalation struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              EscalationSpec   `json:"spec"`
	Status            EscalationStatus `json:"status,omitempty"`
}

Escalation is the Schema for the Escalations 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 (*Escalation) DeepCopy

func (in *Escalation) DeepCopy() *Escalation

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

func (*Escalation) DeepCopyInto

func (in *Escalation) DeepCopyInto(out *Escalation)

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

func (*Escalation) DeepCopyObject

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

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

func (*Escalation) GetCondition

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

GetCondition of this Escalation.

func (*Escalation) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Escalation

func (*Escalation) GetDeletionPolicy

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

GetDeletionPolicy of this Escalation.

func (*Escalation) GetID

func (tr *Escalation) GetID() string

GetID returns ID of underlying Terraform resource of this Escalation

func (*Escalation) GetObservation

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

GetObservation of this Escalation

func (*Escalation) GetParameters

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

GetParameters of this Escalation

func (*Escalation) GetProviderConfigReference

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

GetProviderConfigReference of this Escalation.

func (*Escalation) GetProviderReference

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

GetProviderReference of this Escalation. Deprecated: Use GetProviderConfigReference.

func (*Escalation) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Escalation.

func (*Escalation) GetTerraformResourceType

func (mg *Escalation) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Escalation

func (*Escalation) GetTerraformSchemaVersion

func (tr *Escalation) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Escalation) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Escalation.

func (*Escalation) LateInitialize

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

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

func (*Escalation) SetConditions

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

SetConditions of this Escalation.

func (*Escalation) SetDeletionPolicy

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

SetDeletionPolicy of this Escalation.

func (*Escalation) SetObservation

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

SetObservation for this Escalation

func (*Escalation) SetParameters

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

SetParameters for this Escalation

func (*Escalation) SetProviderConfigReference

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

SetProviderConfigReference of this Escalation.

func (*Escalation) SetProviderReference

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

SetProviderReference of this Escalation. Deprecated: Use SetProviderConfigReference.

func (*Escalation) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Escalation.

func (*Escalation) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Escalation.

type EscalationChain

type EscalationChain struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              EscalationChainSpec   `json:"spec"`
	Status            EscalationChainStatus `json:"status,omitempty"`
}

EscalationChain is the Schema for the EscalationChains 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 (*EscalationChain) DeepCopy

func (in *EscalationChain) DeepCopy() *EscalationChain

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

func (*EscalationChain) DeepCopyInto

func (in *EscalationChain) DeepCopyInto(out *EscalationChain)

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

func (*EscalationChain) DeepCopyObject

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

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

func (*EscalationChain) GetCondition

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

GetCondition of this EscalationChain.

func (*EscalationChain) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this EscalationChain

func (*EscalationChain) GetDeletionPolicy

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

GetDeletionPolicy of this EscalationChain.

func (*EscalationChain) GetID

func (tr *EscalationChain) GetID() string

GetID returns ID of underlying Terraform resource of this EscalationChain

func (*EscalationChain) GetObservation

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

GetObservation of this EscalationChain

func (*EscalationChain) GetParameters

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

GetParameters of this EscalationChain

func (*EscalationChain) GetProviderConfigReference

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

GetProviderConfigReference of this EscalationChain.

func (*EscalationChain) GetProviderReference

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

GetProviderReference of this EscalationChain. Deprecated: Use GetProviderConfigReference.

func (*EscalationChain) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this EscalationChain.

func (*EscalationChain) GetTerraformResourceType

func (mg *EscalationChain) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this EscalationChain

func (*EscalationChain) GetTerraformSchemaVersion

func (tr *EscalationChain) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*EscalationChain) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this EscalationChain.

func (*EscalationChain) LateInitialize

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

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

func (*EscalationChain) SetConditions

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

SetConditions of this EscalationChain.

func (*EscalationChain) SetDeletionPolicy

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

SetDeletionPolicy of this EscalationChain.

func (*EscalationChain) SetObservation

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

SetObservation for this EscalationChain

func (*EscalationChain) SetParameters

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

SetParameters for this EscalationChain

func (*EscalationChain) SetProviderConfigReference

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

SetProviderConfigReference of this EscalationChain.

func (*EscalationChain) SetProviderReference

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

SetProviderReference of this EscalationChain. Deprecated: Use SetProviderConfigReference.

func (*EscalationChain) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this EscalationChain.

func (*EscalationChain) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this EscalationChain.

type EscalationChainList

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

EscalationChainList contains a list of EscalationChains

func (*EscalationChainList) DeepCopy

func (in *EscalationChainList) DeepCopy() *EscalationChainList

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

func (*EscalationChainList) DeepCopyInto

func (in *EscalationChainList) DeepCopyInto(out *EscalationChainList)

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

func (*EscalationChainList) DeepCopyObject

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

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

func (*EscalationChainList) GetItems

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

GetItems of this EscalationChainList.

type EscalationChainObservation

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

func (*EscalationChainObservation) DeepCopy

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

func (*EscalationChainObservation) DeepCopyInto

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

type EscalationChainParameters

type EscalationChainParameters struct {

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

	// The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.
	// +kubebuilder:validation:Optional
	TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"`
}

func (*EscalationChainParameters) DeepCopy

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

func (*EscalationChainParameters) DeepCopyInto

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

type EscalationChainSpec

type EscalationChainSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     EscalationChainParameters `json:"forProvider"`
}

EscalationChainSpec defines the desired state of EscalationChain

func (*EscalationChainSpec) DeepCopy

func (in *EscalationChainSpec) DeepCopy() *EscalationChainSpec

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

func (*EscalationChainSpec) DeepCopyInto

func (in *EscalationChainSpec) DeepCopyInto(out *EscalationChainSpec)

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

type EscalationChainStatus

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

EscalationChainStatus defines the observed state of EscalationChain.

func (*EscalationChainStatus) DeepCopy

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

func (*EscalationChainStatus) DeepCopyInto

func (in *EscalationChainStatus) DeepCopyInto(out *EscalationChainStatus)

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

type EscalationList

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

EscalationList contains a list of Escalations

func (*EscalationList) DeepCopy

func (in *EscalationList) DeepCopy() *EscalationList

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

func (*EscalationList) DeepCopyInto

func (in *EscalationList) DeepCopyInto(out *EscalationList)

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

func (*EscalationList) DeepCopyObject

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

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

func (*EscalationList) GetItems

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

GetItems of this EscalationList.

type EscalationObservation

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

func (*EscalationObservation) DeepCopy

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

func (*EscalationObservation) DeepCopyInto

func (in *EscalationObservation) DeepCopyInto(out *EscalationObservation)

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

type EscalationParameters

type EscalationParameters struct {

	// The ID of an Action for trigger_action type step.
	// +kubebuilder:validation:Optional
	ActionToTrigger *string `json:"actionToTrigger,omitempty" tf:"action_to_trigger,omitempty"`

	// The duration of delay for wait type step.
	// +kubebuilder:validation:Optional
	Duration *float64 `json:"duration,omitempty" tf:"duration,omitempty"`

	// The ID of the escalation chain.
	// +kubebuilder:validation:Required
	EscalationChainID *string `json:"escalationChainId" tf:"escalation_chain_id,omitempty"`

	// The ID of a User Group for notify_user_group type step.
	// +kubebuilder:validation:Optional
	GroupToNotify *string `json:"groupToNotify,omitempty" tf:"group_to_notify,omitempty"`

	// Will activate "important" personal notification rules. Actual for steps: notify_persons, notify_on_call_from_schedule and notify_user_group
	// +kubebuilder:validation:Optional
	Important *bool `json:"important,omitempty" tf:"important,omitempty"`

	// The beginning of the time interval for notify_if_time_from_to type step in UTC (for example 08:00:00Z).
	// +kubebuilder:validation:Optional
	NotifyIfTimeFrom *string `json:"notifyIfTimeFrom,omitempty" tf:"notify_if_time_from,omitempty"`

	// The end of the time interval for notify_if_time_from_to type step in UTC (for example 18:00:00Z).
	// +kubebuilder:validation:Optional
	NotifyIfTimeTo *string `json:"notifyIfTimeTo,omitempty" tf:"notify_if_time_to,omitempty"`

	// ID of a Schedule for notify_on_call_from_schedule type step.
	// +kubebuilder:validation:Optional
	NotifyOnCallFromSchedule *string `json:"notifyOnCallFromSchedule,omitempty" tf:"notify_on_call_from_schedule,omitempty"`

	// The list of ID's of users for notify_persons type step.
	// +kubebuilder:validation:Optional
	PersonsToNotify []*string `json:"personsToNotify,omitempty" tf:"persons_to_notify,omitempty"`

	// The list of ID's of users for notify_person_next_each_time type step.
	// +kubebuilder:validation:Optional
	PersonsToNotifyNextEachTime []*string `json:"personsToNotifyNextEachTime,omitempty" tf:"persons_to_notify_next_each_time,omitempty"`

	// The position of the escalation step (starts from 0).
	// +kubebuilder:validation:Required
	Position *float64 `json:"position" tf:"position,omitempty"`

	// The type of escalation policy. Can be wait, notify_persons, notify_person_next_each_time, notify_on_call_from_schedule, trigger_action, notify_user_group, resolve, notify_whole_channel, notify_if_time_from_to, repeat_escalation
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*EscalationParameters) DeepCopy

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

func (*EscalationParameters) DeepCopyInto

func (in *EscalationParameters) DeepCopyInto(out *EscalationParameters)

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

type EscalationSpec

type EscalationSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     EscalationParameters `json:"forProvider"`
}

EscalationSpec defines the desired state of Escalation

func (*EscalationSpec) DeepCopy

func (in *EscalationSpec) DeepCopy() *EscalationSpec

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

func (*EscalationSpec) DeepCopyInto

func (in *EscalationSpec) DeepCopyInto(out *EscalationSpec)

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

type EscalationStatus

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

EscalationStatus defines the observed state of Escalation.

func (*EscalationStatus) DeepCopy

func (in *EscalationStatus) DeepCopy() *EscalationStatus

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

func (*EscalationStatus) DeepCopyInto

func (in *EscalationStatus) DeepCopyInto(out *EscalationStatus)

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

type Integration

type Integration struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              IntegrationSpec   `json:"spec"`
	Status            IntegrationStatus `json:"status,omitempty"`
}

Integration is the Schema for the Integrations 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 (*Integration) DeepCopy

func (in *Integration) DeepCopy() *Integration

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

func (*Integration) DeepCopyInto

func (in *Integration) DeepCopyInto(out *Integration)

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

func (*Integration) DeepCopyObject

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

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

func (*Integration) GetCondition

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

GetCondition of this Integration.

func (*Integration) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Integration

func (*Integration) GetDeletionPolicy

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

GetDeletionPolicy of this Integration.

func (*Integration) GetID

func (tr *Integration) GetID() string

GetID returns ID of underlying Terraform resource of this Integration

func (*Integration) GetObservation

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

GetObservation of this Integration

func (*Integration) GetParameters

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

GetParameters of this Integration

func (*Integration) GetProviderConfigReference

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

GetProviderConfigReference of this Integration.

func (*Integration) GetProviderReference

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

GetProviderReference of this Integration. Deprecated: Use GetProviderConfigReference.

func (*Integration) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Integration.

func (*Integration) GetTerraformResourceType

func (mg *Integration) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Integration

func (*Integration) GetTerraformSchemaVersion

func (tr *Integration) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Integration) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Integration.

func (*Integration) LateInitialize

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

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

func (*Integration) SetConditions

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

SetConditions of this Integration.

func (*Integration) SetDeletionPolicy

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

SetDeletionPolicy of this Integration.

func (*Integration) SetObservation

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

SetObservation for this Integration

func (*Integration) SetParameters

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

SetParameters for this Integration

func (*Integration) SetProviderConfigReference

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

SetProviderConfigReference of this Integration.

func (*Integration) SetProviderReference

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

SetProviderReference of this Integration. Deprecated: Use SetProviderConfigReference.

func (*Integration) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Integration.

func (*Integration) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Integration.

type IntegrationList

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

IntegrationList contains a list of Integrations

func (*IntegrationList) DeepCopy

func (in *IntegrationList) DeepCopy() *IntegrationList

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

func (*IntegrationList) DeepCopyInto

func (in *IntegrationList) DeepCopyInto(out *IntegrationList)

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

func (*IntegrationList) DeepCopyObject

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

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

func (*IntegrationList) GetItems

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

GetItems of this IntegrationList.

type IntegrationObservation

type IntegrationObservation struct {

	// The Default route for all alerts from the given integration
	// +kubebuilder:validation:Required
	DefaultRoute []DefaultRouteObservation `json:"defaultRoute,omitempty" tf:"default_route,omitempty"`

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

	// The link for using in an integrated tool.
	Link *string `json:"link,omitempty" tf:"link,omitempty"`
}

func (*IntegrationObservation) DeepCopy

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

func (*IntegrationObservation) DeepCopyInto

func (in *IntegrationObservation) DeepCopyInto(out *IntegrationObservation)

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

type IntegrationParameters

type IntegrationParameters struct {

	// The Default route for all alerts from the given integration
	// +kubebuilder:validation:Required
	DefaultRoute []DefaultRouteParameters `json:"defaultRoute" tf:"default_route,omitempty"`

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

	// The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.
	// +kubebuilder:validation:Optional
	TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"`

	// Jinja2 templates for Alert payload.
	// +kubebuilder:validation:Optional
	Templates []TemplatesParameters `json:"templates,omitempty" tf:"templates,omitempty"`

	// The type of integration. Can be grafana, grafana_alerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazon_sns, curler, sentry, formatted_webhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentry_platform, zabbix, prtg, slack_channel, inbound_email.
	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*IntegrationParameters) DeepCopy

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

func (*IntegrationParameters) DeepCopyInto

func (in *IntegrationParameters) DeepCopyInto(out *IntegrationParameters)

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

type IntegrationSpec

type IntegrationSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     IntegrationParameters `json:"forProvider"`
}

IntegrationSpec defines the desired state of Integration

func (*IntegrationSpec) DeepCopy

func (in *IntegrationSpec) DeepCopy() *IntegrationSpec

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

func (*IntegrationSpec) DeepCopyInto

func (in *IntegrationSpec) DeepCopyInto(out *IntegrationSpec)

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

type IntegrationStatus

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

IntegrationStatus defines the observed state of Integration.

func (*IntegrationStatus) DeepCopy

func (in *IntegrationStatus) DeepCopy() *IntegrationStatus

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

func (*IntegrationStatus) DeepCopyInto

func (in *IntegrationStatus) DeepCopyInto(out *IntegrationStatus)

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

type MsteamsObservation

type MsteamsObservation struct {
}

func (*MsteamsObservation) DeepCopy

func (in *MsteamsObservation) DeepCopy() *MsteamsObservation

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

func (*MsteamsObservation) DeepCopyInto

func (in *MsteamsObservation) DeepCopyInto(out *MsteamsObservation)

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

type MsteamsParameters

type MsteamsParameters struct {

	// Enable notification in MS teams. Defaults to `true`.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// MS teams channel id. Alerts will be directed to this channel in Microsoft teams.
	// +kubebuilder:validation:Optional
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*MsteamsParameters) DeepCopy

func (in *MsteamsParameters) DeepCopy() *MsteamsParameters

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

func (*MsteamsParameters) DeepCopyInto

func (in *MsteamsParameters) DeepCopyInto(out *MsteamsParameters)

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

type OnCallShift

type OnCallShift struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              OnCallShiftSpec   `json:"spec"`
	Status            OnCallShiftStatus `json:"status,omitempty"`
}

OnCallShift is the Schema for the OnCallShifts 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 (*OnCallShift) DeepCopy

func (in *OnCallShift) DeepCopy() *OnCallShift

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

func (*OnCallShift) DeepCopyInto

func (in *OnCallShift) DeepCopyInto(out *OnCallShift)

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

func (*OnCallShift) DeepCopyObject

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

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

func (*OnCallShift) GetCondition

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

GetCondition of this OnCallShift.

func (*OnCallShift) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this OnCallShift

func (*OnCallShift) GetDeletionPolicy

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

GetDeletionPolicy of this OnCallShift.

func (*OnCallShift) GetID

func (tr *OnCallShift) GetID() string

GetID returns ID of underlying Terraform resource of this OnCallShift

func (*OnCallShift) GetObservation

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

GetObservation of this OnCallShift

func (*OnCallShift) GetParameters

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

GetParameters of this OnCallShift

func (*OnCallShift) GetProviderConfigReference

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

GetProviderConfigReference of this OnCallShift.

func (*OnCallShift) GetProviderReference

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

GetProviderReference of this OnCallShift. Deprecated: Use GetProviderConfigReference.

func (*OnCallShift) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this OnCallShift.

func (*OnCallShift) GetTerraformResourceType

func (mg *OnCallShift) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this OnCallShift

func (*OnCallShift) GetTerraformSchemaVersion

func (tr *OnCallShift) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*OnCallShift) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this OnCallShift.

func (*OnCallShift) LateInitialize

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

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

func (*OnCallShift) SetConditions

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

SetConditions of this OnCallShift.

func (*OnCallShift) SetDeletionPolicy

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

SetDeletionPolicy of this OnCallShift.

func (*OnCallShift) SetObservation

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

SetObservation for this OnCallShift

func (*OnCallShift) SetParameters

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

SetParameters for this OnCallShift

func (*OnCallShift) SetProviderConfigReference

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

SetProviderConfigReference of this OnCallShift.

func (*OnCallShift) SetProviderReference

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

SetProviderReference of this OnCallShift. Deprecated: Use SetProviderConfigReference.

func (*OnCallShift) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this OnCallShift.

func (*OnCallShift) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this OnCallShift.

type OnCallShiftList

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

OnCallShiftList contains a list of OnCallShifts

func (*OnCallShiftList) DeepCopy

func (in *OnCallShiftList) DeepCopy() *OnCallShiftList

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

func (*OnCallShiftList) DeepCopyInto

func (in *OnCallShiftList) DeepCopyInto(out *OnCallShiftList)

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

func (*OnCallShiftList) DeepCopyObject

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

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

func (*OnCallShiftList) GetItems

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

GetItems of this OnCallShiftList.

type OnCallShiftObservation

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

func (*OnCallShiftObservation) DeepCopy

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

func (*OnCallShiftObservation) DeepCopyInto

func (in *OnCallShiftObservation) DeepCopyInto(out *OnCallShiftObservation)

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

type OnCallShiftParameters

type OnCallShiftParameters struct {

	// This parameter takes a list of days in iCal format. Can be MO, TU, WE, TH, FR, SA, SU
	// +kubebuilder:validation:Optional
	ByDay []*string `json:"byDay,omitempty" tf:"by_day,omitempty"`

	// This parameter takes a list of months. Valid values are 1 to 12
	// +kubebuilder:validation:Optional
	ByMonth []*float64 `json:"byMonth,omitempty" tf:"by_month,omitempty"`

	// This parameter takes a list of days of the month.  Valid values are 1 to 31 or -31 to -1
	// +kubebuilder:validation:Optional
	ByMonthday []*float64 `json:"byMonthday,omitempty" tf:"by_monthday,omitempty"`

	// The duration of the event.
	// +kubebuilder:validation:Required
	Duration *float64 `json:"duration" tf:"duration,omitempty"`

	// The frequency of the event. Can be daily, weekly, monthly
	// +kubebuilder:validation:Optional
	Frequency *string `json:"frequency,omitempty" tf:"frequency,omitempty"`

	// The positive integer representing at which intervals the recurrence rule repeats.
	// +kubebuilder:validation:Optional
	Interval *float64 `json:"interval,omitempty" tf:"interval,omitempty"`

	// The priority level. The higher the value, the higher the priority.
	// +kubebuilder:validation:Optional
	Level *float64 `json:"level,omitempty" tf:"level,omitempty"`

	// The shift's name.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// The list of lists with on-call users (for rolling_users event type)
	// +kubebuilder:validation:Optional
	RollingUsers [][]*string `json:"rollingUsers,omitempty" tf:"rolling_users,omitempty"`

	// The start time of the on-call shift. This parameter takes a date format as yyyy-MM-dd'T'HH:mm:ss (for example "2020-09-05T08:00:00")
	// +kubebuilder:validation:Required
	Start *string `json:"start" tf:"start,omitempty"`

	// The index of the list of users in rolling_users, from which on-call rotation starts.
	// +kubebuilder:validation:Optional
	StartRotationFromUserIndex *float64 `json:"startRotationFromUserIndex,omitempty" tf:"start_rotation_from_user_index,omitempty"`

	// The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.
	// +kubebuilder:validation:Optional
	TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"`

	// The shift's timezone.  Overrides schedule's timezone.
	// +kubebuilder:validation:Optional
	TimeZone *string `json:"timeZone,omitempty" tf:"time_zone,omitempty"`

	// The shift's type. Can be rolling_users, recurrent_event, single_event
	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`

	// The list of on-call users (for single_event and recurrent_event event type).
	// +kubebuilder:validation:Optional
	Users []*string `json:"users,omitempty" tf:"users,omitempty"`

	// Start day of the week in iCal format. Can be MO, TU, WE, TH, FR, SA, SU
	// +kubebuilder:validation:Optional
	WeekStart *string `json:"weekStart,omitempty" tf:"week_start,omitempty"`
}

func (*OnCallShiftParameters) DeepCopy

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

func (*OnCallShiftParameters) DeepCopyInto

func (in *OnCallShiftParameters) DeepCopyInto(out *OnCallShiftParameters)

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

type OnCallShiftSpec

type OnCallShiftSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     OnCallShiftParameters `json:"forProvider"`
}

OnCallShiftSpec defines the desired state of OnCallShift

func (*OnCallShiftSpec) DeepCopy

func (in *OnCallShiftSpec) DeepCopy() *OnCallShiftSpec

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

func (*OnCallShiftSpec) DeepCopyInto

func (in *OnCallShiftSpec) DeepCopyInto(out *OnCallShiftSpec)

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

type OnCallShiftStatus

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

OnCallShiftStatus defines the observed state of OnCallShift.

func (*OnCallShiftStatus) DeepCopy

func (in *OnCallShiftStatus) DeepCopy() *OnCallShiftStatus

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

func (*OnCallShiftStatus) DeepCopyInto

func (in *OnCallShiftStatus) DeepCopyInto(out *OnCallShiftStatus)

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

type OutgoingWebhook

type OutgoingWebhook struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              OutgoingWebhookSpec   `json:"spec"`
	Status            OutgoingWebhookStatus `json:"status,omitempty"`
}

OutgoingWebhook is the Schema for the OutgoingWebhooks 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 (*OutgoingWebhook) DeepCopy

func (in *OutgoingWebhook) DeepCopy() *OutgoingWebhook

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

func (*OutgoingWebhook) DeepCopyInto

func (in *OutgoingWebhook) DeepCopyInto(out *OutgoingWebhook)

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

func (*OutgoingWebhook) DeepCopyObject

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

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

func (*OutgoingWebhook) GetCondition

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

GetCondition of this OutgoingWebhook.

func (*OutgoingWebhook) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this OutgoingWebhook

func (*OutgoingWebhook) GetDeletionPolicy

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

GetDeletionPolicy of this OutgoingWebhook.

func (*OutgoingWebhook) GetID

func (tr *OutgoingWebhook) GetID() string

GetID returns ID of underlying Terraform resource of this OutgoingWebhook

func (*OutgoingWebhook) GetObservation

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

GetObservation of this OutgoingWebhook

func (*OutgoingWebhook) GetParameters

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

GetParameters of this OutgoingWebhook

func (*OutgoingWebhook) GetProviderConfigReference

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

GetProviderConfigReference of this OutgoingWebhook.

func (*OutgoingWebhook) GetProviderReference

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

GetProviderReference of this OutgoingWebhook. Deprecated: Use GetProviderConfigReference.

func (*OutgoingWebhook) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this OutgoingWebhook.

func (*OutgoingWebhook) GetTerraformResourceType

func (mg *OutgoingWebhook) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this OutgoingWebhook

func (*OutgoingWebhook) GetTerraformSchemaVersion

func (tr *OutgoingWebhook) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*OutgoingWebhook) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this OutgoingWebhook.

func (*OutgoingWebhook) LateInitialize

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

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

func (*OutgoingWebhook) SetConditions

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

SetConditions of this OutgoingWebhook.

func (*OutgoingWebhook) SetDeletionPolicy

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

SetDeletionPolicy of this OutgoingWebhook.

func (*OutgoingWebhook) SetObservation

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

SetObservation for this OutgoingWebhook

func (*OutgoingWebhook) SetParameters

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

SetParameters for this OutgoingWebhook

func (*OutgoingWebhook) SetProviderConfigReference

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

SetProviderConfigReference of this OutgoingWebhook.

func (*OutgoingWebhook) SetProviderReference

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

SetProviderReference of this OutgoingWebhook. Deprecated: Use SetProviderConfigReference.

func (*OutgoingWebhook) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this OutgoingWebhook.

func (*OutgoingWebhook) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this OutgoingWebhook.

type OutgoingWebhookList

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

OutgoingWebhookList contains a list of OutgoingWebhooks

func (*OutgoingWebhookList) DeepCopy

func (in *OutgoingWebhookList) DeepCopy() *OutgoingWebhookList

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

func (*OutgoingWebhookList) DeepCopyInto

func (in *OutgoingWebhookList) DeepCopyInto(out *OutgoingWebhookList)

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

func (*OutgoingWebhookList) DeepCopyObject

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

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

func (*OutgoingWebhookList) GetItems

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

GetItems of this OutgoingWebhookList.

type OutgoingWebhookObservation

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

func (*OutgoingWebhookObservation) DeepCopy

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

func (*OutgoingWebhookObservation) DeepCopyInto

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

type OutgoingWebhookParameters

type OutgoingWebhookParameters struct {

	// The auth data of the webhook. Used in Authorization header instead of user/password auth.
	// +kubebuilder:validation:Optional
	AuthorizationHeader *string `json:"authorizationHeader,omitempty" tf:"authorization_header,omitempty"`

	// The data of the webhook.
	// +kubebuilder:validation:Optional
	Data *string `json:"data,omitempty" tf:"data,omitempty"`

	// Forwards whole payload of the alert to the webhook's url as POST data.
	// +kubebuilder:validation:Optional
	ForwardWholePayload *bool `json:"forwardWholePayload,omitempty" tf:"forward_whole_payload,omitempty"`

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

	// The auth data of the webhook. Used for Basic authentication
	// +kubebuilder:validation:Optional
	Password *string `json:"password,omitempty" tf:"password,omitempty"`

	// The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.
	// +kubebuilder:validation:Optional
	TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"`

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

	// The auth data of the webhook. Used for Basic authentication.
	// +kubebuilder:validation:Optional
	User *string `json:"user,omitempty" tf:"user,omitempty"`
}

func (*OutgoingWebhookParameters) DeepCopy

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

func (*OutgoingWebhookParameters) DeepCopyInto

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

type OutgoingWebhookSpec

type OutgoingWebhookSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     OutgoingWebhookParameters `json:"forProvider"`
}

OutgoingWebhookSpec defines the desired state of OutgoingWebhook

func (*OutgoingWebhookSpec) DeepCopy

func (in *OutgoingWebhookSpec) DeepCopy() *OutgoingWebhookSpec

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

func (*OutgoingWebhookSpec) DeepCopyInto

func (in *OutgoingWebhookSpec) DeepCopyInto(out *OutgoingWebhookSpec)

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

type OutgoingWebhookStatus

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

OutgoingWebhookStatus defines the observed state of OutgoingWebhook.

func (*OutgoingWebhookStatus) DeepCopy

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

func (*OutgoingWebhookStatus) DeepCopyInto

func (in *OutgoingWebhookStatus) DeepCopyInto(out *OutgoingWebhookStatus)

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

type Route

type Route struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RouteSpec   `json:"spec"`
	Status            RouteStatus `json:"status,omitempty"`
}

Route is the Schema for the Routes 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 (*Route) DeepCopy

func (in *Route) DeepCopy() *Route

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

func (*Route) DeepCopyInto

func (in *Route) DeepCopyInto(out *Route)

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

func (*Route) DeepCopyObject

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

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

func (*Route) GetCondition

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

GetCondition of this Route.

func (*Route) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Route

func (*Route) GetDeletionPolicy

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

GetDeletionPolicy of this Route.

func (*Route) GetID

func (tr *Route) GetID() string

GetID returns ID of underlying Terraform resource of this Route

func (*Route) GetObservation

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

GetObservation of this Route

func (*Route) GetParameters

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

GetParameters of this Route

func (*Route) GetProviderConfigReference

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

GetProviderConfigReference of this Route.

func (*Route) GetProviderReference

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

GetProviderReference of this Route. Deprecated: Use GetProviderConfigReference.

func (*Route) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Route.

func (*Route) GetTerraformResourceType

func (mg *Route) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Route

func (*Route) GetTerraformSchemaVersion

func (tr *Route) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Route) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Route.

func (*Route) LateInitialize

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

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

func (*Route) SetConditions

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

SetConditions of this Route.

func (*Route) SetDeletionPolicy

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

SetDeletionPolicy of this Route.

func (*Route) SetObservation

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

SetObservation for this Route

func (*Route) SetParameters

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

SetParameters for this Route

func (*Route) SetProviderConfigReference

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

SetProviderConfigReference of this Route.

func (*Route) SetProviderReference

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

SetProviderReference of this Route. Deprecated: Use SetProviderConfigReference.

func (*Route) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Route.

func (*Route) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Route.

type RouteList

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

RouteList contains a list of Routes

func (*RouteList) DeepCopy

func (in *RouteList) DeepCopy() *RouteList

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

func (*RouteList) DeepCopyInto

func (in *RouteList) DeepCopyInto(out *RouteList)

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

func (*RouteList) DeepCopyObject

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

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

func (*RouteList) GetItems

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

GetItems of this RouteList.

type RouteMsteamsObservation

type RouteMsteamsObservation struct {
}

func (*RouteMsteamsObservation) DeepCopy

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

func (*RouteMsteamsObservation) DeepCopyInto

func (in *RouteMsteamsObservation) DeepCopyInto(out *RouteMsteamsObservation)

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

type RouteMsteamsParameters

type RouteMsteamsParameters struct {

	// Enable notification in MS teams. Defaults to `true`.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// MS teams channel id. Alerts will be directed to this channel in Microsoft teams.
	// +kubebuilder:validation:Optional
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*RouteMsteamsParameters) DeepCopy

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

func (*RouteMsteamsParameters) DeepCopyInto

func (in *RouteMsteamsParameters) DeepCopyInto(out *RouteMsteamsParameters)

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

type RouteObservation

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

func (*RouteObservation) DeepCopy

func (in *RouteObservation) DeepCopy() *RouteObservation

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

func (*RouteObservation) DeepCopyInto

func (in *RouteObservation) DeepCopyInto(out *RouteObservation)

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

type RouteParameters

type RouteParameters struct {

	// The ID of the escalation chain.
	// +kubebuilder:validation:Required
	EscalationChainID *string `json:"escalationChainId" tf:"escalation_chain_id,omitempty"`

	// The ID of the integration.
	// +kubebuilder:validation:Required
	IntegrationID *string `json:"integrationId" tf:"integration_id,omitempty"`

	// MS teams-specific settings for a route.
	// +kubebuilder:validation:Optional
	Msteams []RouteMsteamsParameters `json:"msteams,omitempty" tf:"msteams,omitempty"`

	// The position of the route (starts from 0).
	// +kubebuilder:validation:Required
	Position *float64 `json:"position" tf:"position,omitempty"`

	// Python Regex query. Route is chosen for an alert if there is a match inside the alert payload.
	// +kubebuilder:validation:Required
	RoutingRegex *string `json:"routingRegex" tf:"routing_regex,omitempty"`

	// Slack-specific settings for a route.
	// +kubebuilder:validation:Optional
	Slack []RouteSlackParameters `json:"slack,omitempty" tf:"slack,omitempty"`

	// Telegram-specific settings for a route.
	// +kubebuilder:validation:Optional
	Telegram []RouteTelegramParameters `json:"telegram,omitempty" tf:"telegram,omitempty"`
}

func (*RouteParameters) DeepCopy

func (in *RouteParameters) DeepCopy() *RouteParameters

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

func (*RouteParameters) DeepCopyInto

func (in *RouteParameters) DeepCopyInto(out *RouteParameters)

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

type RouteSlackObservation

type RouteSlackObservation struct {
}

func (*RouteSlackObservation) DeepCopy

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

func (*RouteSlackObservation) DeepCopyInto

func (in *RouteSlackObservation) DeepCopyInto(out *RouteSlackObservation)

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

type RouteSlackParameters

type RouteSlackParameters struct {

	// Slack channel id. Alerts will be directed to this channel in Slack.
	// +kubebuilder:validation:Optional
	ChannelID *string `json:"channelId,omitempty" tf:"channel_id,omitempty"`

	// Enable notification in Slack. Defaults to `true`.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
}

func (*RouteSlackParameters) DeepCopy

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

func (*RouteSlackParameters) DeepCopyInto

func (in *RouteSlackParameters) DeepCopyInto(out *RouteSlackParameters)

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

type RouteSpec

type RouteSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     RouteParameters `json:"forProvider"`
}

RouteSpec defines the desired state of Route

func (*RouteSpec) DeepCopy

func (in *RouteSpec) DeepCopy() *RouteSpec

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

func (*RouteSpec) DeepCopyInto

func (in *RouteSpec) DeepCopyInto(out *RouteSpec)

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

type RouteStatus

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

RouteStatus defines the observed state of Route.

func (*RouteStatus) DeepCopy

func (in *RouteStatus) DeepCopy() *RouteStatus

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

func (*RouteStatus) DeepCopyInto

func (in *RouteStatus) DeepCopyInto(out *RouteStatus)

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

type RouteTelegramObservation

type RouteTelegramObservation struct {
}

func (*RouteTelegramObservation) DeepCopy

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

func (*RouteTelegramObservation) DeepCopyInto

func (in *RouteTelegramObservation) DeepCopyInto(out *RouteTelegramObservation)

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

type RouteTelegramParameters

type RouteTelegramParameters struct {

	// Enable notification in Telegram. Defaults to `true`.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// Telegram channel id. Alerts will be directed to this channel in Telegram.
	// +kubebuilder:validation:Optional
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*RouteTelegramParameters) DeepCopy

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

func (*RouteTelegramParameters) DeepCopyInto

func (in *RouteTelegramParameters) DeepCopyInto(out *RouteTelegramParameters)

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

type Schedule

type Schedule struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ScheduleSpec   `json:"spec"`
	Status            ScheduleStatus `json:"status,omitempty"`
}

Schedule is the Schema for the Schedules 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 (*Schedule) DeepCopy

func (in *Schedule) DeepCopy() *Schedule

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

func (*Schedule) DeepCopyInto

func (in *Schedule) DeepCopyInto(out *Schedule)

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

func (*Schedule) DeepCopyObject

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

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

func (*Schedule) GetCondition

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

GetCondition of this Schedule.

func (*Schedule) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Schedule

func (*Schedule) GetDeletionPolicy

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

GetDeletionPolicy of this Schedule.

func (*Schedule) GetID

func (tr *Schedule) GetID() string

GetID returns ID of underlying Terraform resource of this Schedule

func (*Schedule) GetObservation

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

GetObservation of this Schedule

func (*Schedule) GetParameters

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

GetParameters of this Schedule

func (*Schedule) GetProviderConfigReference

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

GetProviderConfigReference of this Schedule.

func (*Schedule) GetProviderReference

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

GetProviderReference of this Schedule. Deprecated: Use GetProviderConfigReference.

func (*Schedule) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Schedule.

func (*Schedule) GetTerraformResourceType

func (mg *Schedule) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Schedule

func (*Schedule) GetTerraformSchemaVersion

func (tr *Schedule) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Schedule) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Schedule.

func (*Schedule) LateInitialize

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

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

func (*Schedule) SetConditions

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

SetConditions of this Schedule.

func (*Schedule) SetDeletionPolicy

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

SetDeletionPolicy of this Schedule.

func (*Schedule) SetObservation

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

SetObservation for this Schedule

func (*Schedule) SetParameters

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

SetParameters for this Schedule

func (*Schedule) SetProviderConfigReference

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

SetProviderConfigReference of this Schedule.

func (*Schedule) SetProviderReference

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

SetProviderReference of this Schedule. Deprecated: Use SetProviderConfigReference.

func (*Schedule) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Schedule.

func (*Schedule) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Schedule.

type ScheduleList

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

ScheduleList contains a list of Schedules

func (*ScheduleList) DeepCopy

func (in *ScheduleList) DeepCopy() *ScheduleList

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

func (*ScheduleList) DeepCopyInto

func (in *ScheduleList) DeepCopyInto(out *ScheduleList)

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

func (*ScheduleList) DeepCopyObject

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

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

func (*ScheduleList) GetItems

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

GetItems of this ScheduleList.

type ScheduleObservation

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

func (*ScheduleObservation) DeepCopy

func (in *ScheduleObservation) DeepCopy() *ScheduleObservation

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

func (*ScheduleObservation) DeepCopyInto

func (in *ScheduleObservation) DeepCopyInto(out *ScheduleObservation)

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

type ScheduleParameters

type ScheduleParameters struct {

	// The URL of external iCal calendar which override primary events.
	// +kubebuilder:validation:Optional
	IcalURLOverrides *string `json:"icalUrlOverrides,omitempty" tf:"ical_url_overrides,omitempty"`

	// The URL of the external calendar iCal file.
	// +kubebuilder:validation:Optional
	IcalURLPrimary *string `json:"icalUrlPrimary,omitempty" tf:"ical_url_primary,omitempty"`

	// The schedule's name.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// The list of ID's of on-call shifts.
	// +kubebuilder:validation:Optional
	Shifts []*string `json:"shifts,omitempty" tf:"shifts,omitempty"`

	// The Slack-specific settings for a schedule.
	// +kubebuilder:validation:Optional
	Slack []ScheduleSlackParameters `json:"slack,omitempty" tf:"slack,omitempty"`

	// The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.
	// +kubebuilder:validation:Optional
	TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"`

	// The schedule's time zone.
	// +kubebuilder:validation:Optional
	TimeZone *string `json:"timeZone,omitempty" tf:"time_zone,omitempty"`

	// The schedule's type.
	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*ScheduleParameters) DeepCopy

func (in *ScheduleParameters) DeepCopy() *ScheduleParameters

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

func (*ScheduleParameters) DeepCopyInto

func (in *ScheduleParameters) DeepCopyInto(out *ScheduleParameters)

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

type ScheduleSlackObservation

type ScheduleSlackObservation struct {
}

func (*ScheduleSlackObservation) DeepCopy

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

func (*ScheduleSlackObservation) DeepCopyInto

func (in *ScheduleSlackObservation) DeepCopyInto(out *ScheduleSlackObservation)

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

type ScheduleSlackParameters

type ScheduleSlackParameters struct {

	// Slack channel id. Reminder about schedule shifts will be directed to this channel in Slack.
	// +kubebuilder:validation:Optional
	ChannelID *string `json:"channelId,omitempty" tf:"channel_id,omitempty"`

	// Slack user group id. Members of user group will be updated when on-call users change.
	// +kubebuilder:validation:Optional
	UserGroupID *string `json:"userGroupId,omitempty" tf:"user_group_id,omitempty"`
}

func (*ScheduleSlackParameters) DeepCopy

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

func (*ScheduleSlackParameters) DeepCopyInto

func (in *ScheduleSlackParameters) DeepCopyInto(out *ScheduleSlackParameters)

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

type ScheduleSpec

type ScheduleSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ScheduleParameters `json:"forProvider"`
}

ScheduleSpec defines the desired state of Schedule

func (*ScheduleSpec) DeepCopy

func (in *ScheduleSpec) DeepCopy() *ScheduleSpec

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

func (*ScheduleSpec) DeepCopyInto

func (in *ScheduleSpec) DeepCopyInto(out *ScheduleSpec)

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

type ScheduleStatus

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

ScheduleStatus defines the observed state of Schedule.

func (*ScheduleStatus) DeepCopy

func (in *ScheduleStatus) DeepCopy() *ScheduleStatus

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

func (*ScheduleStatus) DeepCopyInto

func (in *ScheduleStatus) DeepCopyInto(out *ScheduleStatus)

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

type SlackObservation

type SlackObservation struct {
}

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 {

	// Slack channel id. Alerts will be directed to this channel in Slack.
	// +kubebuilder:validation:Optional
	ChannelID *string `json:"channelId,omitempty" tf:"channel_id,omitempty"`

	// Enable notification in Slack. Defaults to `true`.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,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 TelegramObservation

type TelegramObservation struct {
}

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 {

	// Enable notification in Telegram. Defaults to `true`.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// Telegram channel id. Alerts will be directed to this channel in Telegram.
	// +kubebuilder:validation:Optional
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

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 TemplatesObservation

type TemplatesObservation struct {
}

func (*TemplatesObservation) DeepCopy

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

func (*TemplatesObservation) DeepCopyInto

func (in *TemplatesObservation) DeepCopyInto(out *TemplatesObservation)

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

type TemplatesParameters

type TemplatesParameters struct {

	// Template for the key by which alerts are grouped.
	// +kubebuilder:validation:Optional
	GroupingKey *string `json:"groupingKey,omitempty" tf:"grouping_key,omitempty"`

	// Template for sending a signal to resolve the Incident.
	// +kubebuilder:validation:Optional
	ResolveSignal *string `json:"resolveSignal,omitempty" tf:"resolve_signal,omitempty"`

	// Templates for Slack.
	// +kubebuilder:validation:Optional
	Slack []TemplatesSlackParameters `json:"slack,omitempty" tf:"slack,omitempty"`
}

func (*TemplatesParameters) DeepCopy

func (in *TemplatesParameters) DeepCopy() *TemplatesParameters

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

func (*TemplatesParameters) DeepCopyInto

func (in *TemplatesParameters) DeepCopyInto(out *TemplatesParameters)

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

type TemplatesSlackObservation

type TemplatesSlackObservation struct {
}

func (*TemplatesSlackObservation) DeepCopy

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

func (*TemplatesSlackObservation) DeepCopyInto

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

type TemplatesSlackParameters

type TemplatesSlackParameters struct {

	// Template for Alert image url.
	// +kubebuilder:validation:Optional
	ImageURL *string `json:"imageUrl,omitempty" tf:"image_url,omitempty"`

	// Template for Alert message.
	// +kubebuilder:validation:Optional
	Message *string `json:"message,omitempty" tf:"message,omitempty"`

	// Template for Alert title.
	// +kubebuilder:validation:Optional
	Title *string `json:"title,omitempty" tf:"title,omitempty"`
}

func (*TemplatesSlackParameters) DeepCopy

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

func (*TemplatesSlackParameters) DeepCopyInto

func (in *TemplatesSlackParameters) DeepCopyInto(out *TemplatesSlackParameters)

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