collector

package
v0.0.0-...-7a1337e Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterInfo

type ClusterInfo struct {
	ClusterID             string
	ClusterType           string
	InstallPrometheus     bool
	IsHubMetricsCollector bool
}

type MetricsCollector

type MetricsCollector struct {
	Client             client.Client
	ClusterInfo        ClusterInfo
	HubInfo            *operatorconfig.HubInfo
	Log                logr.Logger
	Namespace          string
	ObsAddon           *oav1beta1.ObservabilityAddon
	ServiceAccountName string
	// contains filtered or unexported fields
}

func (*MetricsCollector) Delete

func (m *MetricsCollector) Delete(ctx context.Context) error

func (*MetricsCollector) Update

func (m *MetricsCollector) Update(ctx context.Context, req ctrl.Request) error

Update updates the metrics collector resources and the addon status when needed.

Jump to

Keyboard shortcuts

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