Documentation ¶
Index ¶
- Constants
- func ConfigMap(cluster *clusterv1.Cluster) *v1.ConfigMap
- func Secret(cluster *clusterv1.Cluster) *v1.Secret
- type Service
- func (a *Service) GenerateAlloyMonitoringConfigMapData(ctx context.Context, currentState *v1.ConfigMap, cluster *clusterv1.Cluster) (map[string]string, error)
- func (a *Service) GenerateAlloyMonitoringSecretData(ctx context.Context, cluster *clusterv1.Cluster) (map[string][]byte, error)
- func (a *Service) ReconcileCreate(ctx context.Context, cluster *clusterv1.Cluster) error
- func (a *Service) ReconcileDelete(ctx context.Context, cluster *clusterv1.Cluster) error
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 ¶
Types ¶
type Service ¶
type Service struct { client.Client organization.OrganizationRepository PasswordManager password.Manager common.ManagementCluster MonitoringConfig monitoring.Config }
func (*Service) GenerateAlloyMonitoringConfigMapData ¶
func (*Service) GenerateAlloyMonitoringSecretData ¶
func (*Service) ReconcileCreate ¶
Click to show internal directories.
Click to hide internal directories.