logmonitoring

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IngestRuleMatchers

type IngestRuleMatchers struct {
	// +kubebuilder:validation:Optional
	Attribute string `json:"attribute,omitempty"`

	// +kubebuilder:validation:Optional
	Values []string `json:"values,omitempty"`
}

+kubebuilder:object:generate=true

func (*IngestRuleMatchers) DeepCopy

func (in *IngestRuleMatchers) DeepCopy() *IngestRuleMatchers

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

func (*IngestRuleMatchers) DeepCopyInto

func (in *IngestRuleMatchers) DeepCopyInto(out *IngestRuleMatchers)

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

type LogMonitoring

type LogMonitoring struct {
	*Spec
	*TemplateSpec
	// contains filtered or unexported fields
}

func (*LogMonitoring) GetDaemonSetName

func (lm *LogMonitoring) GetDaemonSetName() string

func (*LogMonitoring) IsEnabled

func (lm *LogMonitoring) IsEnabled() bool

func (*LogMonitoring) IsStandalone

func (lm *LogMonitoring) IsStandalone() bool

func (*LogMonitoring) SetHostAgentDependency

func (lm *LogMonitoring) SetHostAgentDependency(isEnabled bool)

func (*LogMonitoring) SetName

func (lm *LogMonitoring) SetName(name string)

func (*LogMonitoring) Template

func (lm *LogMonitoring) Template() TemplateSpec

Template is a nil-safe way to access the underlying TemplateSpec.

type Spec

type Spec struct {
	IngestRuleMatchers []IngestRuleMatchers `json:"ingestRuleMatchers,omitempty"`
}

+kubebuilder:object:generate=true

func (*Spec) DeepCopy

func (in *Spec) DeepCopy() *Spec

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

func (*Spec) DeepCopyInto

func (in *Spec) DeepCopyInto(out *Spec)

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

type TemplateSpec

type TemplateSpec struct {
	// Add custom annotations to the LogMonitoring pods
	// +kubebuilder:validation:Optional
	Annotations map[string]string `json:"annotations,omitempty"`

	// Add custom labels to the LogMonitoring pods
	// +kubebuilder:validation:Optional
	Labels map[string]string `json:"labels,omitempty"`

	// Node selector to control the selection of nodes for the LogMonitoring pods
	// +kubebuilder:validation:Optional
	NodeSelector map[string]string `json:"nodeSelector,omitempty"`

	// Overrides the default image for the LogMonitoring pods
	// +kubebuilder:validation:Optional
	ImageRef image.Ref `json:"imageRef,omitempty"`

	// Sets DNS Policy for the LogMonitoring pods
	// +kubebuilder:validation:Optional
	DNSPolicy corev1.DNSPolicy `json:"dnsPolicy,omitempty"`

	// Assign a priority class to the LogMonitoring pods. By default, no class is set
	// +kubebuilder:validation:Optional
	PriorityClassName string `json:"priorityClassName,omitempty"`

	// The SecComp Profile that will be configured in order to run in secure computing mode for the LogMonitoring pods
	// +kubebuilder:validation:Optional
	SecCompProfile string `json:"secCompProfile,omitempty"`

	// Define resources' requests and limits for all the LogMonitoring pods
	// +kubebuilder:validation:Optional
	Resources corev1.ResourceRequirements `json:"resources,omitempty"`

	// Set tolerations for the LogMonitoring pods
	// +kubebuilder:validation:Optional
	Tolerations []corev1.Toleration `json:"tolerations,omitempty"`

	// Set additional arguments to the LogMonitoring main container
	// +kubebuilder:validation:Optional
	Args []string `json:"args,omitempty"`
}

+kubebuilder:object:generate=true

func (*TemplateSpec) DeepCopy

func (in *TemplateSpec) DeepCopy() *TemplateSpec

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

func (*TemplateSpec) DeepCopyInto

func (in *TemplateSpec) DeepCopyInto(out *TemplateSpec)

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