v1beta1

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=monitoring.opni.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "monitoring.opni.io", Version: "v1beta1"}

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

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

func CollectorConfigCRD added in v0.10.0

func CollectorConfigCRD() (*crd.CRD, error)

func PodMonitorCRD added in v0.10.0

func PodMonitorCRD() (*crd.CRD, error)

func PrometheusAgentCRD added in v0.11.1

func PrometheusAgentCRD() (*crd.CRD, error)

func PrometheusCRD added in v0.10.0

func PrometheusCRD() (*crd.CRD, error)

func ServiceMonitorCRD added in v0.10.0

func ServiceMonitorCRD() (*crd.CRD, error)

Types

type CollectorConfig added in v0.9.2

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

	Spec   CollectorConfigSpec   `json:"spec,omitempty"`
	Status CollectorConfigStatus `json:"status,omitempty"`
}

CollectorConfig is the Schema for the monitoring API

func (*CollectorConfig) DeepCopy added in v0.9.2

func (in *CollectorConfig) DeepCopy() *CollectorConfig

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

func (*CollectorConfig) DeepCopyInto added in v0.9.2

func (in *CollectorConfig) DeepCopyInto(out *CollectorConfig)

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

func (*CollectorConfig) DeepCopyObject added in v0.9.2

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

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

type CollectorConfigList added in v0.9.2

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

CollectorConfigList contains a list of CollectorConfig

func (*CollectorConfigList) DeepCopy added in v0.9.2

func (in *CollectorConfigList) DeepCopy() *CollectorConfigList

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

func (*CollectorConfigList) DeepCopyInto added in v0.9.2

func (in *CollectorConfigList) DeepCopyInto(out *CollectorConfigList)

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

func (*CollectorConfigList) DeepCopyObject added in v0.9.2

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

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

type CollectorConfigSpec added in v0.9.2

type CollectorConfigSpec struct {
	PrometheusDiscovery PrometheusDiscovery `json:"prometheusDiscovery,omitempty"`
	RemoteWriteEndpoint string              `json:"remoteWriteEndpoint,omitempty"`
	OtelSpec            otel.OTELSpec       `json:"otelSpec,omitempty"`
}

func (*CollectorConfigSpec) DeepCopy added in v0.9.2

func (in *CollectorConfigSpec) DeepCopy() *CollectorConfigSpec

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

func (*CollectorConfigSpec) DeepCopyInto added in v0.9.2

func (in *CollectorConfigSpec) DeepCopyInto(out *CollectorConfigSpec)

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

type CollectorConfigStatus added in v0.9.2

type CollectorConfigStatus struct {
	Phase      string   `json:"phase,omitempty"`
	Message    string   `json:"message,omitempty"`
	Conditions []string `json:"conditions,omitempty"`
}

func (*CollectorConfigStatus) DeepCopy added in v0.9.2

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

func (*CollectorConfigStatus) DeepCopyInto added in v0.9.2

func (in *CollectorConfigStatus) DeepCopyInto(out *CollectorConfigStatus)

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

type PrometheusDiscovery added in v0.9.2

type PrometheusDiscovery struct {
	NamespaceSelector []string `json:"namespaceSelector,omitempty"`
}

func (*PrometheusDiscovery) DeepCopy added in v0.9.2

func (in *PrometheusDiscovery) DeepCopy() *PrometheusDiscovery

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

func (*PrometheusDiscovery) DeepCopyInto added in v0.9.2

func (in *PrometheusDiscovery) DeepCopyInto(out *PrometheusDiscovery)

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

type Role

type Role struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              *opnicorev1.Role `json:"spec,omitempty"`
}

+kubebuilder:object:root=true

func (*Role) DeepCopy

func (in *Role) DeepCopy() *Role

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

func (*Role) DeepCopyInto

func (in *Role) DeepCopyInto(out *Role)

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

func (*Role) DeepCopyObject

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

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

type RoleBinding

type RoleBinding struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              *opnicorev1.RoleBinding `json:"spec,omitempty"`
}

+kubebuilder:object:root=true

func (*RoleBinding) DeepCopy

func (in *RoleBinding) DeepCopy() *RoleBinding

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

func (*RoleBinding) DeepCopyInto

func (in *RoleBinding) DeepCopyInto(out *RoleBinding)

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

func (*RoleBinding) DeepCopyObject

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

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

type RoleBindingList

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

+kubebuilder:object:root=true

func (*RoleBindingList) DeepCopy

func (in *RoleBindingList) DeepCopy() *RoleBindingList

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

func (*RoleBindingList) DeepCopyInto

func (in *RoleBindingList) DeepCopyInto(out *RoleBindingList)

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

func (*RoleBindingList) DeepCopyObject

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

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

type RoleList

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

+kubebuilder:object:root=true

func (*RoleList) DeepCopy

func (in *RoleList) DeepCopy() *RoleList

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

func (*RoleList) DeepCopyInto

func (in *RoleList) DeepCopyInto(out *RoleList)

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

func (*RoleList) DeepCopyObject

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL