v1alpha1

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2021 License: Apache-2.0 Imports: 7 Imported by: 8

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the applicationmonitoring v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=applicationmonitoring.integreatly.org

Package v1alpha1 contains API Schema definitions for the applicationmonitoring v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=applicationmonitoring.integreatly.org

Index

Constants

This section is empty.

Variables

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

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

	// SchemaGroupVersionKind ...
	SchemaGroupVersionKindApplicationMonitoring = schema.GroupVersionKind{Group: "applicationmonitoring.integreatly.org", Version: "v1alpha1", Kind: "ApplicationMonitoring"}

	// SchemaGroupVersionKind ...
	SchemaGroupVersionKindBlackboxTarget = schema.GroupVersionKind{Group: "applicationmonitoring.integreatly.org", Version: "v1alpha1", Kind: "BlackboxTarget"}

	// SchemaGroupVersionKind ...
	SchemaGroupVersionKindGrafana = schema.GroupVersionKind{Group: "integreatly.org", Version: "v1alpha1", Kind: "Grafana"}

	// SchemaGroupVersionKind ...
	SchemaGroupVersionKindGrafanaDashboard = schema.GroupVersionKind{Group: "integreatly.org", Version: "v1alpha1", Kind: "GrafanaDashboard"}

	// SchemaGroupVersionKind ...
	SchemaGroupVersionKindGrafanaDataSource = schema.GroupVersionKind{Group: "integreatly.org", Version: "v1alpha1", Kind: "GrafanaDataSource"}
)

Functions

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

Types

type ApplicationMonitoring

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

	Spec   ApplicationMonitoringSpec   `json:"spec,omitempty"`
	Status ApplicationMonitoringStatus `json:"status,omitempty"`
}

ApplicationMonitoring is the Schema for the applicationmonitorings API +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:path=applicationmonitorings,scope=Namespaced

func (*ApplicationMonitoring) DeepCopy

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

func (*ApplicationMonitoring) DeepCopyInto

func (in *ApplicationMonitoring) DeepCopyInto(out *ApplicationMonitoring)

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

func (*ApplicationMonitoring) DeepCopyObject

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

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

type ApplicationMonitoringList

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

ApplicationMonitoringList contains a list of ApplicationMonitoring

func (*ApplicationMonitoringList) DeepCopy

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

func (*ApplicationMonitoringList) DeepCopyInto

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

func (*ApplicationMonitoringList) DeepCopyObject

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

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

type ApplicationMonitoringSpec

type ApplicationMonitoringSpec struct {

	// +kubebuilder:validation:MinLength=1
	LabelSelector                    string           `json:"labelSelector"`
	AdditionalScrapeConfigSecretName string           `json:"additionalScrapeConfigSecretName,omitempty"`
	AdditionalScrapeConfigSecretKey  string           `json:"additionalScrapeConfigSecretKey,omitempty"`
	PriorityClassName                string           `json:"priorityClassName,omitempty"`
	PrometheusRetention              string           `json:"prometheusRetention,omitempty"`
	PrometheusStorageRequest         string           `json:"prometheusStorageRequest,omitempty"`
	PrometheusInstanceNamespaces     string           `json:"prometheusInstanceNamespaces,omitempty"`
	AlertmanagerInstanceNamespaces   string           `json:"alertmanagerInstanceNamespaces,omitempty"`
	SelfSignedCerts                  bool             `json:"selfSignedCerts,omitempty"`
	Affinity                         *corev1.Affinity `json:"affinity,omitempty"`
}

ApplicationMonitoringSpec defines the desired state of ApplicationMonitoring

func (*ApplicationMonitoringSpec) DeepCopy

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

func (*ApplicationMonitoringSpec) DeepCopyInto

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

type ApplicationMonitoringStatus

type ApplicationMonitoringStatus struct {
	Phase              int    `json:"phase"`
	LastBlackboxConfig string `json:"lastblackboxconfig"`
}

ApplicationMonitoringStatus defines the observed state of ApplicationMonitoring

func (*ApplicationMonitoringStatus) DeepCopy

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

func (*ApplicationMonitoringStatus) DeepCopyInto

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

type BlackboxTarget

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

	Spec   BlackboxTargetSpec   `json:"spec,omitempty"`
	Status BlackboxTargetStatus `json:"status,omitempty"`
}

BlackboxTarget is the Schema for the blackboxtargets API +k8s:openapi-gen=true +kubebuilder:resource:path=blackboxtargets,scope=Namespaced

func (*BlackboxTarget) DeepCopy

func (in *BlackboxTarget) DeepCopy() *BlackboxTarget

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

func (*BlackboxTarget) DeepCopyInto

func (in *BlackboxTarget) DeepCopyInto(out *BlackboxTarget)

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

func (*BlackboxTarget) DeepCopyObject

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

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

type BlackboxTargetList

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

BlackboxTargetList contains a list of BlackboxTarget

func (*BlackboxTargetList) DeepCopy

func (in *BlackboxTargetList) DeepCopy() *BlackboxTargetList

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

func (*BlackboxTargetList) DeepCopyInto

func (in *BlackboxTargetList) DeepCopyInto(out *BlackboxTargetList)

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

func (*BlackboxTargetList) DeepCopyObject

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

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

type BlackboxTargetSpec

type BlackboxTargetSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	// Add custom validation using kubebuilder tags: https://book.kubebuilder.io/beyond_basics/generating_crd.html
	BlackboxTargets []BlackboxtargetData `json:"blackboxTargets,omitempty"`
}

BlackboxTargetSpec defines the desired state of BlackboxTarget

func (*BlackboxTargetSpec) DeepCopy

func (in *BlackboxTargetSpec) DeepCopy() *BlackboxTargetSpec

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

func (*BlackboxTargetSpec) DeepCopyInto

func (in *BlackboxTargetSpec) DeepCopyInto(out *BlackboxTargetSpec)

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

type BlackboxTargetStatus

type BlackboxTargetStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	// Add custom validation using kubebuilder tags: https://book.kubebuilder.io/beyond_basics/generating_crd.html
	Phase int `json:"phase"`
}

BlackboxTargetStatus defines the observed state of BlackboxTarget

func (*BlackboxTargetStatus) DeepCopy

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

func (*BlackboxTargetStatus) DeepCopyInto

func (in *BlackboxTargetStatus) DeepCopyInto(out *BlackboxTargetStatus)

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

type BlackboxtargetData

type BlackboxtargetData struct {
	Url     string `json:"url"`
	Service string `json:"service"`
	Module  string `json:"module"`
}

BlackboxtargetStructure contains: A target (url, module and service name) to be probed by the

func (*BlackboxtargetData) DeepCopy

func (in *BlackboxtargetData) DeepCopy() *BlackboxtargetData

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

func (*BlackboxtargetData) DeepCopyInto

func (in *BlackboxtargetData) DeepCopyInto(out *BlackboxtargetData)

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

type GrafanaDataSource

type GrafanaDataSource struct {
	BasicAuthPassword string `json:"basicAuthPassword"`
	BasicAuthUser     string `json:"basicAuthUSer"`
}

func (*GrafanaDataSource) DeepCopy

func (in *GrafanaDataSource) DeepCopy() *GrafanaDataSource

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

func (*GrafanaDataSource) DeepCopyInto

func (in *GrafanaDataSource) DeepCopyInto(out *GrafanaDataSource)

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

type GrafanaDataSourceSecret

type GrafanaDataSourceSecret struct {
	DataSources []GrafanaDataSource `json:"datasources"`
}

func (*GrafanaDataSourceSecret) DeepCopy

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

func (*GrafanaDataSourceSecret) DeepCopyInto

func (in *GrafanaDataSourceSecret) DeepCopyInto(out *GrafanaDataSourceSecret)

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