v1alpha1

package
v0.0.0-...-84c6fec Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package v1alpha1 contains the v1alpha1 group observability resources of the nine provider. +kubebuilder:object:generate=true +groupName=observability.nine.ch +versionName=v1alpha1

Index

Constants

View Source
const (
	Group   = "observability.nine.ch"
	Version = "v1alpha1"
)

Package type metadata.

Variables

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}
)
View Source
var (
	AlertmanagerKind             = reflect.TypeOf(Alertmanager{}).Name()
	AlertmanagerGroupKind        = schema.GroupKind{Group: Group, Kind: AlertmanagerKind}.String()
	AlertmanagerKindAPIVersion   = AlertmanagerKind + "." + SchemeGroupVersion.String()
	AlertmanagerGroupVersionKind = SchemeGroupVersion.WithKind(AlertmanagerKind)
	GrafanaKind                  = reflect.TypeOf(Grafana{}).Name()
	GrafanaGroupKind             = schema.GroupKind{Group: Group, Kind: GrafanaKind}.String()
	GrafanaKindAPIVersion        = GrafanaKind + "." + SchemeGroupVersion.String()
	GrafanaGroupVersionKind      = SchemeGroupVersion.WithKind(GrafanaKind)
	LokiKind                     = reflect.TypeOf(Loki{}).Name()
	LokiGroupKind                = schema.GroupKind{Group: Group, Kind: LokiKind}.String()
	LokiKindAPIVersion           = LokiKind + "." + SchemeGroupVersion.String()
	LokiGroupVersionKind         = SchemeGroupVersion.WithKind(LokiKind)
	PrometheusKind               = reflect.TypeOf(Prometheus{}).Name()
	PrometheusGroupKind          = schema.GroupKind{Group: Group, Kind: PrometheusKind}.String()
	PrometheusKindAPIVersion     = PrometheusKind + "." + SchemeGroupVersion.String()
	PrometheusGroupVersionKind   = SchemeGroupVersion.WithKind(PrometheusKind)
	PromtailKind                 = reflect.TypeOf(Promtail{}).Name()
	PromtailGroupKind            = schema.GroupKind{Group: Group, Kind: PromtailKind}.String()
	PromtailKindAPIVersion       = PromtailKind + "." + SchemeGroupVersion.String()
	PromtailGroupVersionKind     = SchemeGroupVersion.WithKind(PromtailKind)
)

Functions

This section is empty.

Types

type Alertmanager

type Alertmanager struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AlertmanagerSpec   `json:"spec"`
	Status            AlertmanagerStatus `json:"status,omitempty"`
}

Alertmanager deploys a fully managed Alertmanager instance. +kubebuilder:subresource:status +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="CONFIG VALID",type="boolean",JSONPath=".status.atProvider.config.valid" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Namespaced,shortName=am +kubebuilder:object:root=true

func (*Alertmanager) DeepCopy

func (in *Alertmanager) DeepCopy() *Alertmanager

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

func (*Alertmanager) DeepCopyInto

func (in *Alertmanager) DeepCopyInto(out *Alertmanager)

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

func (*Alertmanager) DeepCopyObject

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

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

func (*Alertmanager) GetCondition

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

GetCondition of this Alertmanager.

func (*Alertmanager) GetDeletionPolicy

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

GetDeletionPolicy of this Alertmanager.

func (*Alertmanager) GetManagementPolicies

func (mg *Alertmanager) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Alertmanager.

func (*Alertmanager) GetProviderConfigReference

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

GetProviderConfigReference of this Alertmanager.

func (*Alertmanager) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Alertmanager.

func (*Alertmanager) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Alertmanager.

func (*Alertmanager) SetConditions

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

SetConditions of this Alertmanager.

func (*Alertmanager) SetDeletionPolicy

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

SetDeletionPolicy of this Alertmanager.

func (*Alertmanager) SetManagementPolicies

func (mg *Alertmanager) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Alertmanager.

func (*Alertmanager) SetProviderConfigReference

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

SetProviderConfigReference of this Alertmanager.

func (*Alertmanager) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Alertmanager.

func (*Alertmanager) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Alertmanager.

type AlertmanagerConfigStatus

type AlertmanagerConfigStatus struct {
	// Valid indicates if the desired config is valid.
	Valid bool `json:"valid,omitempty"`
	// Message describes the status of the alertmanager config.
	Message string `json:"message,omitempty"`
}

AlertmanagerConfigStatus contains information about the config status.

func (*AlertmanagerConfigStatus) DeepCopy

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

func (*AlertmanagerConfigStatus) DeepCopyInto

func (in *AlertmanagerConfigStatus) DeepCopyInto(out *AlertmanagerConfigStatus)

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

type AlertmanagerList

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

AlertmanagerList contains a list of Alertmanagers. +kubebuilder:object:root=true

func (*AlertmanagerList) DeepCopy

func (in *AlertmanagerList) DeepCopy() *AlertmanagerList

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

func (*AlertmanagerList) DeepCopyInto

func (in *AlertmanagerList) DeepCopyInto(out *AlertmanagerList)

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

func (*AlertmanagerList) DeepCopyObject

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

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

func (*AlertmanagerList) GetItems

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

GetItems of this AlertmanagerList.

type AlertmanagerObservation

type AlertmanagerObservation struct {
	// URL where alertmanager can be accessed.
	URL string `json:"url,omitempty"`
	// Targets are the target hosts that should be used for targeting
	// Alertmanager from Prometheus.
	// +optional
	Targets                  []string                 `json:"targets,omitempty"`
	Config                   AlertmanagerConfigStatus `json:"config,omitempty"`
	meta.ChildResourceStatus `json:",inline"`
}

AlertmanagerObservation are the observable fields of an Alertmanager.

func (*AlertmanagerObservation) DeepCopy

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

func (*AlertmanagerObservation) DeepCopyInto

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

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

type AlertmanagerParameters

type AlertmanagerParameters struct {
	// Config is a yaml string containing the  alertmanager configuration.
	// Reference:
	// https://www.prometheus.io/docs/alerting/latest/configuration/
	// +optional
	Config string `json:"config,omitempty"`
	// ConfigFromSecret specifies a secret name where the config is stored in.
	// This is mutually exclusive with the "Config" field.
	// Reference:
	// https://www.prometheus.io/docs/alerting/latest/configuration/
	// +optional
	ConfigFromSecret *meta.LocalReferenceSelector `json:"configFromSecret,omitempty"`
}

AlertmanagerParameters are the configurable fields of an Alertmanager.

func (*AlertmanagerParameters) DeepCopy

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

func (*AlertmanagerParameters) DeepCopyInto

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

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

type AlertmanagerSpec

type AlertmanagerSpec struct {
	runtimev1.ResourceSpec `json:",inline"`
	ForProvider            AlertmanagerParameters `json:"forProvider"`
}

AlertmanagerSpec defines the desired state of an Alertmanager.

func (*AlertmanagerSpec) DeepCopy

func (in *AlertmanagerSpec) DeepCopy() *AlertmanagerSpec

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

func (*AlertmanagerSpec) DeepCopyInto

func (in *AlertmanagerSpec) DeepCopyInto(out *AlertmanagerSpec)

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

type AlertmanagerStatus

type AlertmanagerStatus struct {
	runtimev1.ResourceStatus `json:",inline"`
	AtProvider               AlertmanagerObservation `json:"atProvider,omitempty"`
}

AlertmanagerStatus represents the observed state of an Alertmanager.

func (*AlertmanagerStatus) DeepCopy

func (in *AlertmanagerStatus) DeepCopy() *AlertmanagerStatus

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

func (*AlertmanagerStatus) DeepCopyInto

func (in *AlertmanagerStatus) DeepCopyInto(out *AlertmanagerStatus)

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

type DataSourceSelection

type DataSourceSelection struct {
	// SearchNamespaces is a list of namespaces that will be searched
	// for data sources that will be added to the Grafana deployment.
	// If empty, the default is to search in the same namespace that
	// Grafana resides in.
	SearchNamespaces []string `json:"searchNamespaces,omitempty"`
	// FilterLabels is a list of labels that will be filtered for
	// when searching for data sources.
	// +optional
	FilterLabels map[string]string `json:"filterLabels,omitempty"`
}

DataSourceSelection specifies parameters on how to select / search for DataSources.

func (*DataSourceSelection) DeepCopy

func (in *DataSourceSelection) DeepCopy() *DataSourceSelection

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

func (*DataSourceSelection) DeepCopyInto

func (in *DataSourceSelection) DeepCopyInto(out *DataSourceSelection)

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

type Grafana

type Grafana struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              GrafanaSpec   `json:"spec"`
	Status            GrafanaStatus `json:"status,omitempty"`
}

Grafana deploys a fully managed Grafana instance. +kubebuilder:subresource:status +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Namespaced +kubebuilder:object:root=true

func (*Grafana) DeepCopy

func (in *Grafana) DeepCopy() *Grafana

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

func (*Grafana) DeepCopyInto

func (in *Grafana) DeepCopyInto(out *Grafana)

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

func (*Grafana) DeepCopyObject

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

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

func (*Grafana) GetCondition

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

GetCondition of this Grafana.

func (*Grafana) GetDeletionPolicy

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

GetDeletionPolicy of this Grafana.

func (*Grafana) GetManagementPolicies

func (mg *Grafana) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Grafana.

func (*Grafana) GetProviderConfigReference

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

GetProviderConfigReference of this Grafana.

func (*Grafana) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Grafana.

func (*Grafana) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Grafana.

func (*Grafana) SetConditions

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

SetConditions of this Grafana.

func (*Grafana) SetDeletionPolicy

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

SetDeletionPolicy of this Grafana.

func (*Grafana) SetManagementPolicies

func (mg *Grafana) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Grafana.

func (*Grafana) SetProviderConfigReference

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

SetProviderConfigReference of this Grafana.

func (*Grafana) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Grafana.

func (*Grafana) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Grafana.

type GrafanaList

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

GrafanaList contains a list of Grafana +kubebuilder:object:root=true

func (*GrafanaList) DeepCopy

func (in *GrafanaList) DeepCopy() *GrafanaList

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

func (*GrafanaList) DeepCopyInto

func (in *GrafanaList) DeepCopyInto(out *GrafanaList)

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

func (*GrafanaList) DeepCopyObject

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

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

func (*GrafanaList) GetItems

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

GetItems of this GrafanaList.

type GrafanaObservation

type GrafanaObservation struct {
	// URL where Grafana can be accessed.
	URL                      string `json:"url,omitempty"`
	meta.ChildResourceStatus `json:",inline"`
}

GrafanaObservation are the observable fields of a Grafana.

func (*GrafanaObservation) DeepCopy

func (in *GrafanaObservation) DeepCopy() *GrafanaObservation

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

func (*GrafanaObservation) DeepCopyInto

func (in *GrafanaObservation) DeepCopyInto(out *GrafanaObservation)

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

type GrafanaParameters

type GrafanaParameters struct {
	// DataSource defines search parameters for DataSources.
	DataSource DataSourceSelection `json:"dataSource"`
}

GrafanaParameters are the configurable fields of a Grafana.

func (*GrafanaParameters) DeepCopy

func (in *GrafanaParameters) DeepCopy() *GrafanaParameters

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

func (*GrafanaParameters) DeepCopyInto

func (in *GrafanaParameters) DeepCopyInto(out *GrafanaParameters)

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

type GrafanaSpec

type GrafanaSpec struct {
	runtimev1.ResourceSpec `json:",inline"`
	ForProvider            GrafanaParameters `json:"forProvider"`
}

An GrafanaSpec defines the desired state of a Grafana.

func (*GrafanaSpec) DeepCopy

func (in *GrafanaSpec) DeepCopy() *GrafanaSpec

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

func (*GrafanaSpec) DeepCopyInto

func (in *GrafanaSpec) DeepCopyInto(out *GrafanaSpec)

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

type GrafanaStatus

type GrafanaStatus struct {
	runtimev1.ResourceStatus `json:",inline"`
	AtProvider               GrafanaObservation `json:"atProvider"`
}

An GrafanaStatus represents the observed state of a Grafana.

func (*GrafanaStatus) DeepCopy

func (in *GrafanaStatus) DeepCopy() *GrafanaStatus

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

func (*GrafanaStatus) DeepCopyInto

func (in *GrafanaStatus) DeepCopyInto(out *GrafanaStatus)

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

type Loki

type Loki struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              LokiSpec   `json:"spec"`
	Status            LokiStatus `json:"status,omitempty"`
}

Loki deploys a fully managed Loki instance. +kubebuilder:subresource:status +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Namespaced +kubebuilder:object:root=true

func (*Loki) DeepCopy

func (in *Loki) DeepCopy() *Loki

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

func (*Loki) DeepCopyInto

func (in *Loki) DeepCopyInto(out *Loki)

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

func (*Loki) DeepCopyObject

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

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

func (*Loki) GetCondition

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

GetCondition of this Loki.

func (*Loki) GetDeletionPolicy

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

GetDeletionPolicy of this Loki.

func (*Loki) GetManagementPolicies

func (mg *Loki) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Loki.

func (*Loki) GetProviderConfigReference

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

GetProviderConfigReference of this Loki.

func (*Loki) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Loki.

func (*Loki) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Loki.

func (*Loki) SetConditions

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

SetConditions of this Loki.

func (*Loki) SetDeletionPolicy

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

SetDeletionPolicy of this Loki.

func (*Loki) SetManagementPolicies

func (mg *Loki) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Loki.

func (*Loki) SetProviderConfigReference

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

SetProviderConfigReference of this Loki.

func (*Loki) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Loki.

func (*Loki) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Loki.

type LokiList

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

LokiList contains a list of Loki +kubebuilder:object:root=true

func (*LokiList) DeepCopy

func (in *LokiList) DeepCopy() *LokiList

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

func (*LokiList) DeepCopyInto

func (in *LokiList) DeepCopyInto(out *LokiList)

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

func (*LokiList) DeepCopyObject

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

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

func (*LokiList) GetItems

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

GetItems of this LokiList.

type LokiObservation

type LokiObservation struct {
	meta.ChildResourceStatus `json:",inline"`
}

LokiObservation are the observable fields of a Loki.

func (*LokiObservation) DeepCopy

func (in *LokiObservation) DeepCopy() *LokiObservation

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

func (*LokiObservation) DeepCopyInto

func (in *LokiObservation) DeepCopyInto(out *LokiObservation)

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

type LokiParameters

type LokiParameters struct {
	// Retention is the amount of time the logs will be kept on the backend
	// storage of Loki. Defaults to 30 days.
	// +kubebuilder:default:="720h"
	Retention *metav1.Duration `json:"retention,omitempty"`
}

LokiParameters are the configurable fields of a Loki.

func (*LokiParameters) DeepCopy

func (in *LokiParameters) DeepCopy() *LokiParameters

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

func (*LokiParameters) DeepCopyInto

func (in *LokiParameters) DeepCopyInto(out *LokiParameters)

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

type LokiSpec

type LokiSpec struct {
	runtimev1.ResourceSpec `json:",inline"`
	ForProvider            LokiParameters `json:"forProvider"`
}

An LokiSpec defines the desired state of a Loki.

func (*LokiSpec) DeepCopy

func (in *LokiSpec) DeepCopy() *LokiSpec

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

func (*LokiSpec) DeepCopyInto

func (in *LokiSpec) DeepCopyInto(out *LokiSpec)

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

type LokiStatus

type LokiStatus struct {
	runtimev1.ResourceStatus `json:",inline"`
	AtProvider               LokiObservation `json:"atProvider"`
}

An LokiStatus represents the observed state of a Loki.

func (*LokiStatus) DeepCopy

func (in *LokiStatus) DeepCopy() *LokiStatus

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

func (*LokiStatus) DeepCopyInto

func (in *LokiStatus) DeepCopyInto(out *LokiStatus)

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

type Prometheus

type Prometheus struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PrometheusSpec   `json:"spec"`
	Status            PrometheusStatus `json:"status,omitempty"`
}

Prometheus deploys a fully managed Prometheus server. +kubebuilder:subresource:status +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Namespaced,shortName=prom +kubebuilder:object:root=true

func (*Prometheus) DeepCopy

func (in *Prometheus) DeepCopy() *Prometheus

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

func (*Prometheus) DeepCopyInto

func (in *Prometheus) DeepCopyInto(out *Prometheus)

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

func (*Prometheus) DeepCopyObject

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

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

func (*Prometheus) GetCondition

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

GetCondition of this Prometheus.

func (*Prometheus) GetDeletionPolicy

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

GetDeletionPolicy of this Prometheus.

func (*Prometheus) GetManagementPolicies

func (mg *Prometheus) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Prometheus.

func (*Prometheus) GetProviderConfigReference

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

GetProviderConfigReference of this Prometheus.

func (*Prometheus) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Prometheus.

func (*Prometheus) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Prometheus.

func (*Prometheus) SetConditions

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

SetConditions of this Prometheus.

func (*Prometheus) SetDeletionPolicy

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

SetDeletionPolicy of this Prometheus.

func (*Prometheus) SetManagementPolicies

func (mg *Prometheus) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Prometheus.

func (*Prometheus) SetProviderConfigReference

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

SetProviderConfigReference of this Prometheus.

func (*Prometheus) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Prometheus.

func (*Prometheus) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Prometheus.

type PrometheusList

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

PrometheusList contains a list of Prometheus. +kubebuilder:object:root=true

func (*PrometheusList) DeepCopy

func (in *PrometheusList) DeepCopy() *PrometheusList

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

func (*PrometheusList) DeepCopyInto

func (in *PrometheusList) DeepCopyInto(out *PrometheusList)

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

func (*PrometheusList) DeepCopyObject

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

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

func (*PrometheusList) GetItems

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

GetItems of this PrometheusList.

type PrometheusObservation

type PrometheusObservation struct {
	// HelmReleaseStatus is the status of the prometheus helm release
	HelmReleaseStatus    helmreleasev1beta1.ReleaseStatus `json:"helmReleaseStatus,omitempty"`
	meta.ReferenceStatus `json:",inline"`
}

PrometheusObservation are the observable fields of a Prometheus.

func (*PrometheusObservation) DeepCopy

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

func (*PrometheusObservation) DeepCopyInto

func (in *PrometheusObservation) DeepCopyInto(out *PrometheusObservation)

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

type PrometheusParameters

type PrometheusParameters struct {
	// Cluster specifies on which cluster prometheus should be started on.
	Cluster meta.LocalReference `json:"cluster"`
	// DiskSpace to request for storing metrics.
	// +kubebuilder:default:="50Gi"
	// +optional
	DiskSpace *resource.Quantity `json:"diskSpace,omitempty"`
	// Replicas sets the amount of prometheus replicas to start.
	// Using more than 1 replica results in the usage of promxy
	// in front of the prometheus instances.
	// +kubebuilder:default:=1
	// +optional
	Replicas int `json:"replicas,omitempty"`
	// EnableDefaultMetrics specifies if this Prometheus will scrape
	// default metrics.
	// +optional
	// +kubebuilder:default:=true
	EnableDefaultMetrics *bool `json:"enableDefaultMetrics"`
	// ExternalLabels are labels which are attached to every scraped
	// metric.
	// +optional
	ExternalLabels map[string]string `json:"externalLabels,omitempty"`
	// RetentionTime is the amount of time we store metrics.
	// +optional
	// +kubebuilder:default:="720h"
	RetentionTime *metav1.Duration `json:"retentionTime,omitempty"`
	// ScrapeInterval sets the default scrape interval.
	// +optional
	// +kubebuilder:default:="30s"
	ScrapeInterval *metav1.Duration `json:"scrapeInterval,omitempty"`
	// Alertmanagers Prometheus should send alerts to.
	// +optional
	Alertmanagers []meta.Reference `json:"alertmanagers,omitempty"`
}

PrometheusParameters are the configurable fields of a Prometheus.

func (*PrometheusParameters) DeepCopy

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

func (*PrometheusParameters) DeepCopyInto

func (in *PrometheusParameters) DeepCopyInto(out *PrometheusParameters)

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

type PrometheusSpec

type PrometheusSpec struct {
	runtimev1.ResourceSpec `json:",inline"`
	ForProvider            PrometheusParameters `json:"forProvider"`
}

PrometheusSpec defines the desired state of a Prometheus.

func (*PrometheusSpec) DeepCopy

func (in *PrometheusSpec) DeepCopy() *PrometheusSpec

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

func (*PrometheusSpec) DeepCopyInto

func (in *PrometheusSpec) DeepCopyInto(out *PrometheusSpec)

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

type PrometheusStatus

type PrometheusStatus struct {
	runtimev1.ResourceStatus `json:",inline"`
	AtProvider               PrometheusObservation `json:"atProvider"`
}

PrometheusStatus represents the observed state of a Prometheus.

func (*PrometheusStatus) DeepCopy

func (in *PrometheusStatus) DeepCopy() *PrometheusStatus

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

func (*PrometheusStatus) DeepCopyInto

func (in *PrometheusStatus) DeepCopyInto(out *PrometheusStatus)

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

type Promtail

type Promtail struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PromtailSpec   `json:"spec"`
	Status            PromtailStatus `json:"status,omitempty"`
}

Promtail deploys Promtail to a cluster and pushes logs to the configured Loki instance. +kubebuilder:subresource:status +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Namespaced +kubebuilder:object:root=true

func (*Promtail) DeepCopy

func (in *Promtail) DeepCopy() *Promtail

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

func (*Promtail) DeepCopyInto

func (in *Promtail) DeepCopyInto(out *Promtail)

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

func (*Promtail) DeepCopyObject

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

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

func (*Promtail) GetCondition

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

GetCondition of this Promtail.

func (*Promtail) GetDeletionPolicy

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

GetDeletionPolicy of this Promtail.

func (*Promtail) GetManagementPolicies

func (mg *Promtail) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Promtail.

func (*Promtail) GetProviderConfigReference

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

GetProviderConfigReference of this Promtail.

func (*Promtail) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Promtail.

func (*Promtail) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Promtail.

func (*Promtail) SetConditions

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

SetConditions of this Promtail.

func (*Promtail) SetDeletionPolicy

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

SetDeletionPolicy of this Promtail.

func (*Promtail) SetManagementPolicies

func (mg *Promtail) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Promtail.

func (*Promtail) SetProviderConfigReference

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

SetProviderConfigReference of this Promtail.

func (*Promtail) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Promtail.

func (*Promtail) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Promtail.

type PromtailList

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

PromtailList contains a list of Promtails. +kubebuilder:object:root=true

func (*PromtailList) DeepCopy

func (in *PromtailList) DeepCopy() *PromtailList

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

func (*PromtailList) DeepCopyInto

func (in *PromtailList) DeepCopyInto(out *PromtailList)

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

func (*PromtailList) DeepCopyObject

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

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

func (*PromtailList) GetItems

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

GetItems of this PromtailList.

type PromtailObservation

type PromtailObservation struct {
	meta.ChildResourceStatus `json:",inline"`
	meta.ReferenceStatus     `json:",inline"`
}

PromtailObservation are the observable fields of a Promtail.

func (*PromtailObservation) DeepCopy

func (in *PromtailObservation) DeepCopy() *PromtailObservation

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

func (*PromtailObservation) DeepCopyInto

func (in *PromtailObservation) DeepCopyInto(out *PromtailObservation)

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

type PromtailParameters

type PromtailParameters struct {
	// Cluster specifies on which cluster Promtail should be installed to.
	Cluster meta.LocalReference `json:"cluster"`
	// The Loki instance where promtail should push logs to.
	Loki meta.Reference `json:"loki"`
	// ExternalLabels are static labels to add to all logs being sent to Loki.
	// +optional
	ExternalLabels model.LabelSet `json:"externalLabels,omitempty"`
}

PromtailParameters are the configurable fields of a Promtail.

func (*PromtailParameters) DeepCopy

func (in *PromtailParameters) DeepCopy() *PromtailParameters

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

func (*PromtailParameters) DeepCopyInto

func (in *PromtailParameters) DeepCopyInto(out *PromtailParameters)

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

type PromtailSpec

type PromtailSpec struct {
	runtimev1.ResourceSpec `json:",inline"`
	ForProvider            PromtailParameters `json:"forProvider"`
}

An PromtailSpec defines the desired state of a Promtail.

func (*PromtailSpec) DeepCopy

func (in *PromtailSpec) DeepCopy() *PromtailSpec

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

func (*PromtailSpec) DeepCopyInto

func (in *PromtailSpec) DeepCopyInto(out *PromtailSpec)

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

type PromtailStatus

type PromtailStatus struct {
	runtimev1.ResourceStatus `json:",inline"`
	AtProvider               PromtailObservation `json:"atProvider"`
}

An PromtailStatus represents the observed state of a Promtail.

func (*PromtailStatus) DeepCopy

func (in *PromtailStatus) DeepCopy() *PromtailStatus

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

func (*PromtailStatus) DeepCopyInto

func (in *PromtailStatus) DeepCopyInto(out *PromtailStatus)

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