Documentation
¶
Overview ¶
+kubebuilder:object:generate=true +groupName=monitoring.opni.io
Index ¶
- Variables
- func CollectorConfigCRD() (*crd.CRD, error)
- func PodMonitorCRD() (*crd.CRD, error)
- func PrometheusAgentCRD() (*crd.CRD, error)
- func PrometheusCRD() (*crd.CRD, error)
- func ServiceMonitorCRD() (*crd.CRD, error)
- type CollectorConfig
- type CollectorConfigList
- type CollectorConfigSpec
- type CollectorConfigStatus
- type PrometheusDiscovery
- type Role
- type RoleBinding
- type RoleBindingList
- type RoleList
Constants ¶
This section is empty.
Variables ¶
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 PodMonitorCRD ¶ added in v0.10.0
func PrometheusAgentCRD ¶ added in v0.11.1
func PrometheusCRD ¶ added in v0.10.0
func ServiceMonitorCRD ¶ added in v0.10.0
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
func (in *CollectorConfigStatus) DeepCopy() *CollectorConfigStatus
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Role.
func (*Role) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Role) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleList.
func (*RoleList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RoleList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.