v1alpha1

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package v1alpha1 contains the v1alpha1 group Sample resources of the cortex provider. +kubebuilder:object:generate=true +groupName=alerts.cortex.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	Group   = "alerts.cortex.crossplane.io"
	Version = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	AlertManagerConfigurationKind             = reflect.TypeOf(AlertManagerConfiguration{}).Name()
	AlertManagerConfigurationGroupKind        = schema.GroupKind{Group: Group, Kind: AlertManagerConfigurationKind}.String()
	AlertManagerConfigurationKindAPIVersion   = AlertManagerConfigurationKind + "." + SchemeGroupVersion.String()
	AlertManagerConfigurationGroupVersionKind = SchemeGroupVersion.WithKind(AlertManagerConfigurationKind)
)

AlertManagerConfiguration type metadata.

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)

Functions

This section is empty.

Types

type AlertManagerConfiguration

type AlertManagerConfiguration struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   AlertManagerConfigurationSpec   `json:"spec"`
	Status AlertManagerConfigurationStatus `json:"status,omitempty"`
}

An AlertManagerConfiguration is an example API type. +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,cortex}

func (*AlertManagerConfiguration) DeepCopy

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

func (*AlertManagerConfiguration) DeepCopyInto

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

func (*AlertManagerConfiguration) DeepCopyObject

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

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

func (*AlertManagerConfiguration) GetCondition

GetCondition of this AlertManagerConfiguration.

func (*AlertManagerConfiguration) GetDeletionPolicy

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

GetDeletionPolicy of this AlertManagerConfiguration.

func (*AlertManagerConfiguration) GetProviderConfigReference

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

GetProviderConfigReference of this AlertManagerConfiguration.

func (*AlertManagerConfiguration) GetProviderReference

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

GetProviderReference of this AlertManagerConfiguration. Deprecated: Use GetProviderConfigReference.

func (*AlertManagerConfiguration) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this AlertManagerConfiguration.

func (*AlertManagerConfiguration) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this AlertManagerConfiguration.

func (*AlertManagerConfiguration) SetConditions

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

SetConditions of this AlertManagerConfiguration.

func (*AlertManagerConfiguration) SetDeletionPolicy

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

SetDeletionPolicy of this AlertManagerConfiguration.

func (*AlertManagerConfiguration) SetProviderConfigReference

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

SetProviderConfigReference of this AlertManagerConfiguration.

func (*AlertManagerConfiguration) SetProviderReference

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

SetProviderReference of this AlertManagerConfiguration. Deprecated: Use SetProviderConfigReference.

func (*AlertManagerConfiguration) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this AlertManagerConfiguration.

func (*AlertManagerConfiguration) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this AlertManagerConfiguration.

type AlertManagerConfigurationList

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

AlertManagerConfigurationList contains a list of AlertManagerConfiguration

func (*AlertManagerConfigurationList) DeepCopy

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

func (*AlertManagerConfigurationList) DeepCopyInto

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

func (*AlertManagerConfigurationList) DeepCopyObject

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

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

func (*AlertManagerConfigurationList) GetItems

GetItems of this AlertManagerConfigurationList.

type AlertManagerConfigurationObservation

type AlertManagerConfigurationObservation struct {
	Status    string `json:"status,omitempty"`
	Data      string `json:"data,omitempty"`
	ErrorType string `json:"errorType,omitempty"`
	Error     string `json:"error,omitempty"`
}

AlertManagerConfigurationObservation are the observable fields of an AlertManagerConfiguration.

func (*AlertManagerConfigurationObservation) DeepCopy

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

func (*AlertManagerConfigurationObservation) DeepCopyInto

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

type AlertManagerConfigurationParameters

type AlertManagerConfigurationParameters struct {
	// Custom notification template definitions
	// +optional
	TemplateFiles map[string]string `json:"template_files,omitempty"`

	// Contains the alert manager configuration. This uses the same structure as
	// an alert manager config file in standalone Prometheus.
	// https://prometheus.io/docs/alerting/latest/configuration/
	AlertmanagerConfig string `json:"alertmanager_config"`
}

AlertManagerConfigurationParameters are the configurable fields of an AlertManagerConfiguration.

func (*AlertManagerConfigurationParameters) DeepCopy

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

func (*AlertManagerConfigurationParameters) DeepCopyInto

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

type AlertManagerConfigurationSpec

type AlertManagerConfigurationSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       AlertManagerConfigurationParameters `json:"forProvider"`
}

A AlertManagerConfigurationSpec defines the desired state of an AlertManagerConfiguration.

func (*AlertManagerConfigurationSpec) DeepCopy

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

func (*AlertManagerConfigurationSpec) DeepCopyInto

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

type AlertManagerConfigurationStatus

type AlertManagerConfigurationStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          AlertManagerConfigurationObservation `json:"atProvider,omitempty"`
}

A AlertManagerConfigurationStatus represents the observed state of an AlertManagerConfiguration.

func (*AlertManagerConfigurationStatus) DeepCopy

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

func (*AlertManagerConfigurationStatus) DeepCopyInto

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