dcos

package
v0.0.0-...-a288e68 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnvFrameworkHost    = "FRAMEWORK_HOST"
	EnvFrameworkName    = "FRAMEWORK_NAME"
	EnvPodName          = "POD_NAME"
	EnvTaskName         = "TASK_NAME"
	EnvMesosSandbox     = "MESOS_SANDBOX"
	EnvSchedulerAPIHost = "SCHEDULER_API_HOSTNAME"
	EnvSecretsEnabled   = "SECRETS_ENABLED"

	EnvMongoDBMemoryMB                 = "MONGODB_MEM"
	EnvMongoDBMongodEndpointName       = "MONGODB_MONGOD_ENDPOINT_NAME"
	EnvMongoDBChangeUserDb             = "MONGODB_CHANGE_USER_DB"
	EnvMongoDBChangeUserUsername       = "MONGODB_CHANGE_USER_USERNAME"
	EnvMongoDBChangeUserNewPassword    = "MONGODB_CHANGE_USER_NEW_PASSWORD"
	EnvMongoDBWiredTigerCacheSizeRatio = "MONGODB_STORAGE_WIREDTIGER_ENGINE_CONFIG_CACHE_SIZE_RATIO"

	EnvWatchdogMetricsListen = "WATCHDOG_METRICS_LISTEN"

	EnvPMMEnabled                    = "PMM_ENABLED"
	EnvPMMEnableQueryAnalytics       = "PMM_ENABLE_QUERY_ANALYTICS"
	EnvPMMServerAddress              = "PMM_SERVER_ADDRESS"
	EnvPMMClientName                 = "PMM_CLIENT_NAME"
	EnvPMMServerSSL                  = "PMM_SERVER_SSL"
	EnvPMMServerInsecureSSL          = "PMM_SERVER_INSECURE_SSL"
	EnvPMMMongoDBClusterName         = "PMM_MONGODB_CLUSTER_NAME"
	EnvPMMLinuxMetricsExporterPort   = "PMM_LINUX_METRICS_EXPORTER_PORT"
	EnvPMMMongoDBMetricsExporterPort = "PMM_MONGODB_METRICS_EXPORTER_PORT"

	EnvMetricsEnabled    = "DCOS_METRICS_ENABLED"
	EnvMetricsInterval   = "DCOS_METRICS_INTERVAL"
	EnvMetricsStatsdHost = "STATSD_UDP_HOST"
	EnvMetricsStatsdPort = "STATSD_UDP_PORT"
)
View Source
const (
	DefaultMongoDBMongodEndpointName = "mongo-port"
)

Variables

This section is empty.

Functions

func FrameworkHost

func FrameworkHost() string

FrameworkHost returns the service/framework host/DNS suffix using the FRAMEWORK_HOST environment variable that is set automatically by DC/OS. Added to resolve https://jira.percona.com/browse/PMDCOS-5

func MesosSandboxPathOrFallback

func MesosSandboxPathOrFallback(path string, fallback string) string

Types

This section is empty.

Directories

Path Synopsis
api
mocks
Code generated by mockery v1.0.0.
Code generated by mockery v1.0.0.

Jump to

Keyboard shortcuts

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