Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is the group version used to register CRDs for this // package. SchemeGroupVersion = schema.GroupVersion{Group: "monitoring.grafana.com", Version: "v1alpha2"} // SchemeBuilder is used to add Go types to the GroupVersionKind scheme. SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme is required by client packages. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type PodLogs ¶
type PodLogs struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PodLogsSpec `json:"spec,omitempty"` }
PodLogs defines how to collect logs for a Pod.
func (*PodLogs) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodLogs.
func (*PodLogs) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PodLogs) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PodLogsList ¶
type PodLogsList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is the list of PodLogs. Items []*PodLogs `json:"items"` }
PodLogsList is a list of PodLogs.
func (*PodLogsList) DeepCopy ¶
func (in *PodLogsList) DeepCopy() *PodLogsList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodLogsList.
func (*PodLogsList) DeepCopyInto ¶
func (in *PodLogsList) DeepCopyInto(out *PodLogsList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PodLogsList) DeepCopyObject ¶
func (in *PodLogsList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PodLogsSpec ¶
type PodLogsSpec struct { // Selector to select Pod objects. Required. Selector metav1.LabelSelector `json:"selector"` // Selector to select which namespaces the Pod objects are discovered from. NamespaceSelector metav1.LabelSelector `json:"namespaceSelector,omitempty"` // RelabelConfigs to apply to logs before delivering. RelabelConfigs []*promv1.RelabelConfig `json:"relabelings,omitempty"` }
PodLogsSpec defines how to collect logs for a Pod.
func (*PodLogsSpec) DeepCopy ¶
func (in *PodLogsSpec) DeepCopy() *PodLogsSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodLogsSpec.
func (*PodLogsSpec) DeepCopyInto ¶
func (in *PodLogsSpec) DeepCopyInto(out *PodLogsSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.