consts

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

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

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

Documentation

Index

Constants

View Source
const (
	// Listening port for the OCM Agent web service
	OCMAgentServicePort = 8081
	// Listening port for the OCM Agent metrics
	OCMAgentMetricsPort = 8383

	// Metrics path for OCM Agent service
	MetricsPath = "/metrics"
	// Ready probe path for OCM Agent web service
	ReadyzPath = "/readyz"
	// Live probe path for OCM Agent web service
	LivezPath = "/livez"
	// Alertmanger webhook receiver path
	WebhookReceiverPath = "/alertmanager-receiver"

	// OCMAgentAccessFleetSecretPathBase is the base path where to find the secret
	OCMAgentAccessFleetSecretPathBase = "/secrets/"
	// OCMAgentAccessFleetSecretClientKey is the secret of client_id key for OA HS
	OCMAgentAccessFleetSecretClientKey = "OA_OCM_CLIENT_ID" //#nosec G101 -- This is a false positive
	// OCMAgentAccessFleetSecretClientSecretKey is the secret of client_secret key for OA HS
	OCMAgentAccessFleetSecretClientSecretKey = "OA_OCM_CLIENT_SECRET" //#nosec G101 -- This is a false positive
	// OCMAgentAccessFleetSecretURLKey is the secret of URL key for OA HS
	OCMAgentAccessFleetSecretURLKey = "OA_OCM_URL" //#nosec G101 -- This is a false positive

	// Service name for the sending service logs
	ServiceLogServiceName = "SREManualAction"

	// The URI parameter that represents the upgrade policy ID in OCM
	UpgradePolicyIdParam = "upgrade_policy_id"

	// The first page of a paginated 'list' request to OCM
	OCMListRequestStartPage = 1

	// The max amount of pages allowed for a single OCM request.
	OCMListRequestMaxPerPage = 100
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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