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
- Variables
- type AlertManagerConfiguration
- func (in *AlertManagerConfiguration) DeepCopy() *AlertManagerConfiguration
- func (in *AlertManagerConfiguration) DeepCopyInto(out *AlertManagerConfiguration)
- func (in *AlertManagerConfiguration) DeepCopyObject() runtime.Object
- func (mg *AlertManagerConfiguration) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *AlertManagerConfiguration) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *AlertManagerConfiguration) GetProviderConfigReference() *xpv1.Reference
- func (mg *AlertManagerConfiguration) GetProviderReference() *xpv1.Reference
- func (mg *AlertManagerConfiguration) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *AlertManagerConfiguration) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *AlertManagerConfiguration) SetConditions(c ...xpv1.Condition)
- func (mg *AlertManagerConfiguration) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *AlertManagerConfiguration) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *AlertManagerConfiguration) SetProviderReference(r *xpv1.Reference)
- func (mg *AlertManagerConfiguration) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *AlertManagerConfiguration) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type AlertManagerConfigurationList
- func (in *AlertManagerConfigurationList) DeepCopy() *AlertManagerConfigurationList
- func (in *AlertManagerConfigurationList) DeepCopyInto(out *AlertManagerConfigurationList)
- func (in *AlertManagerConfigurationList) DeepCopyObject() runtime.Object
- func (l *AlertManagerConfigurationList) GetItems() []resource.Managed
- type AlertManagerConfigurationObservation
- type AlertManagerConfigurationParameters
- type AlertManagerConfigurationSpec
- type AlertManagerConfigurationStatus
Constants ¶
const ( Group = "alerts.cortex.crossplane.io" Version = "v1alpha1" )
Package type metadata.
Variables ¶
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.
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 ¶
func (in *AlertManagerConfiguration) DeepCopy() *AlertManagerConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertManagerConfiguration.
func (*AlertManagerConfiguration) DeepCopyInto ¶
func (in *AlertManagerConfiguration) DeepCopyInto(out *AlertManagerConfiguration)
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 ¶
func (mg *AlertManagerConfiguration) GetCondition(ct xpv1.ConditionType) xpv1.Condition
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 ¶
func (in *AlertManagerConfigurationList) DeepCopy() *AlertManagerConfigurationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertManagerConfigurationList.
func (*AlertManagerConfigurationList) DeepCopyInto ¶
func (in *AlertManagerConfigurationList) DeepCopyInto(out *AlertManagerConfigurationList)
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 ¶
func (l *AlertManagerConfigurationList) GetItems() []resource.Managed
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 ¶
func (in *AlertManagerConfigurationObservation) DeepCopy() *AlertManagerConfigurationObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertManagerConfigurationObservation.
func (*AlertManagerConfigurationObservation) DeepCopyInto ¶
func (in *AlertManagerConfigurationObservation) DeepCopyInto(out *AlertManagerConfigurationObservation)
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 ¶
func (in *AlertManagerConfigurationParameters) DeepCopy() *AlertManagerConfigurationParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertManagerConfigurationParameters.
func (*AlertManagerConfigurationParameters) DeepCopyInto ¶
func (in *AlertManagerConfigurationParameters) DeepCopyInto(out *AlertManagerConfigurationParameters)
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 ¶
func (in *AlertManagerConfigurationSpec) DeepCopy() *AlertManagerConfigurationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertManagerConfigurationSpec.
func (*AlertManagerConfigurationSpec) DeepCopyInto ¶
func (in *AlertManagerConfigurationSpec) DeepCopyInto(out *AlertManagerConfigurationSpec)
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 ¶
func (in *AlertManagerConfigurationStatus) DeepCopy() *AlertManagerConfigurationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertManagerConfigurationStatus.
func (*AlertManagerConfigurationStatus) DeepCopyInto ¶
func (in *AlertManagerConfigurationStatus) DeepCopyInto(out *AlertManagerConfigurationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.