alloy

package
v0.10.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	AlloyRemoteWriteURLEnvVarName               = "REMOTE_WRITE_URL"
	AlloyRemoteWriteNameEnvVarName              = "REMOTE_WRITE_NAME"
	AlloyRemoteWriteBasicAuthUsernameEnvVarName = "BASIC_AUTH_USERNAME"
	AlloyRemoteWriteBasicAuthPasswordEnvVarName = "BASIC_AUTH_PASSWORD" // #nosec G101
)
View Source
const (
	ConfigMapName = "monitoring-config"
	SecretName    = "monitoring-secret"
)

Variables

This section is empty.

Functions

func ConfigMap

func ConfigMap(cluster *clusterv1.Cluster) *v1.ConfigMap

func Secret

func Secret(cluster *clusterv1.Cluster) *v1.Secret

Types

type Service

type Service struct {
	client.Client
	organization.OrganizationRepository
	PasswordManager password.Manager
	common.ManagementCluster
	MonitoringConfig monitoring.Config
}

func (*Service) GenerateAlloyMonitoringConfigMapData

func (a *Service) GenerateAlloyMonitoringConfigMapData(ctx context.Context, currentState *v1.ConfigMap, cluster *clusterv1.Cluster) (map[string]string, error)

func (*Service) GenerateAlloyMonitoringSecretData

func (a *Service) GenerateAlloyMonitoringSecretData(ctx context.Context, cluster *clusterv1.Cluster) (map[string][]byte, error)

func (*Service) ReconcileCreate

func (a *Service) ReconcileCreate(ctx context.Context, cluster *clusterv1.Cluster) error

func (*Service) ReconcileDelete

func (a *Service) ReconcileDelete(ctx context.Context, cluster *clusterv1.Cluster) error

Jump to

Keyboard shortcuts

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