constants

package
v0.0.0-...-089051e Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2025 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

View Source
const (
	FullGroupName       = "symphony"
	TargetRuntimePrefix = "target-runtime"

	// system annotations, reserved and should not be modified by client.
	AzureCorrelationIdKey        = "management.azure.com/correlationId"
	AzureEdgeLocationKey         = "management.azure.com/customLocation"
	AzureOperationIdKey          = "management.azure.com/operationId"
	AzureNameIdKey               = "management.azure.com/azureName"
	AzureResourceIdKey           = "management.azure.com/resourceId"
	AzureSystemDataKey           = "management.azure.com/systemData"
	AzureTenantIdKey             = "management.azure.com/tenantId" // Not used
	GuidKey                      = "Guid"
	RunningAzureCorrelationIdKey = "management.azure.com/runningCorrelationId"
	SummaryJobIdKey              = "SummaryJobIdKey"
	OperationStartTimeKeyPostfix = FullGroupName + "/started-at" // instance/target

	ProviderName = "management.azure.com/provider-name"
)
View Source
const (
	DefaultScope = "default"
	SATokenPath  = "/var/run/secrets/tokens/symphony-api-token"
	// These constants need to be in a shared package.
	GroupPrefix        = "symphony"
	ManagerMetaKey     = GroupPrefix + "/managed-by"
	InstanceMetaKey    = GroupPrefix + "/instance"
	ResourceSeperator  = "-v-"
	ReferenceSeparator = ":"
	DisplayName        = "displayName"
	RootResource       = "rootResource"
	ParentName         = "parentName"
	StatusMessage      = "statusMessage"
	Solution           = "solution"
	Target             = "target"
	Campaign           = "campaign"
	StagedTarget       = "staged_target"
)
View Source
const (
	SymphonyCertEnvName           = "SYMPHONY_ROOT_CA"
	SATokenPathName               = "SA_TOKEN_PATH"
	ApiCertEnvName                = "API_SERVING_CA"
	UseServiceAccountTokenEnvName = "USE_SERVICE_ACCOUNT_TOKENS"
	SymphonyAPIUrlEnvName         = "SYMPHONY_API_URL"
	API                           = "symphony-api"
	EmitTimeFieldInUserLogs       = "EMIT_TIME_FIELD_IN_USER_LOGS"
)

Environment variables keys

View Source
const (
	Generation string = "generation"
	Status     string = "status"
)

Variables

View Source
var (
	//go:embed eula.txt
	EulaMessage string
)

Eula Message

Functions

func SystemReservedAnnotations

func SystemReservedAnnotations() []string

func SystemReservedLabels

func SystemReservedLabels() []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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