annotations

package
v1.11.6-rc.1 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package annotations contains the list of annotations for Dapr deployments.

Index

Constants

View Source
const (
	KeyEnabled                          = "dapr.io/enabled"
	KeyAppPort                          = "dapr.io/app-port"
	KeyConfig                           = "dapr.io/config"
	KeyAppProtocol                      = "dapr.io/app-protocol"
	KeyAppID                            = "dapr.io/app-id"
	KeyEnableProfiling                  = "dapr.io/enable-profiling"
	KeyLogLevel                         = "dapr.io/log-level"
	KeyAPITokenSecret                   = "dapr.io/api-token-secret" /* #nosec */
	KeyAppTokenSecret                   = "dapr.io/app-token-secret" /* #nosec */
	KeyLogAsJSON                        = "dapr.io/log-as-json"
	KeyAppMaxConcurrency                = "dapr.io/app-max-concurrency"
	KeyEnableMetrics                    = "dapr.io/enable-metrics"
	KeyMetricsPort                      = "dapr.io/metrics-port"
	KeyEnableDebug                      = "dapr.io/enable-debug"
	KeyDebugPort                        = "dapr.io/debug-port"
	KeyEnv                              = "dapr.io/env"
	KeyCPULimit                         = "dapr.io/sidecar-cpu-limit"
	KeyMemoryLimit                      = "dapr.io/sidecar-memory-limit"
	KeyCPURequest                       = "dapr.io/sidecar-cpu-request"
	KeyMemoryRequest                    = "dapr.io/sidecar-memory-request"
	KeySidecarListenAddresses           = "dapr.io/sidecar-listen-addresses"
	KeyLivenessProbeDelaySeconds        = "dapr.io/sidecar-liveness-probe-delay-seconds"
	KeyLivenessProbeTimeoutSeconds      = "dapr.io/sidecar-liveness-probe-timeout-seconds"
	KeyLivenessProbePeriodSeconds       = "dapr.io/sidecar-liveness-probe-period-seconds"
	KeyLivenessProbeThreshold           = "dapr.io/sidecar-liveness-probe-threshold"
	KeyReadinessProbeDelaySeconds       = "dapr.io/sidecar-readiness-probe-delay-seconds"
	KeyReadinessProbeTimeoutSeconds     = "dapr.io/sidecar-readiness-probe-timeout-seconds"
	KeyReadinessProbePeriodSeconds      = "dapr.io/sidecar-readiness-probe-period-seconds"
	KeyReadinessProbeThreshold          = "dapr.io/sidecar-readiness-probe-threshold"
	KeySidecarImage                     = "dapr.io/sidecar-image"
	KeySidecarSeccompProfileType        = "dapr.io/sidecar-seccomp-profile-type"
	KeyAppSSL                           = "dapr.io/app-ssl"
	KeyHTTPMaxRequestBodySize           = "dapr.io/http-max-request-size"
	KeyHTTPReadBufferSize               = "dapr.io/http-read-buffer-size"
	KeyGracefulShutdownSeconds          = "dapr.io/graceful-shutdown-seconds"
	KeyEnableAPILogging                 = "dapr.io/enable-api-logging"
	KeyUnixDomainSocketPath             = "dapr.io/unix-domain-socket-path"
	KeyVolumeMountsReadOnly             = "dapr.io/volume-mounts"
	KeyVolumeMountsReadWrite            = "dapr.io/volume-mounts-rw"
	KeyDisableBuiltinK8sSecretStore     = "dapr.io/disable-builtin-k8s-secret-store" //nolint:gosec
	KeyEnableAppHealthCheck             = "dapr.io/enable-app-health-check"
	KeyAppHealthCheckPath               = "dapr.io/app-health-check-path"
	KeyAppHealthProbeInterval           = "dapr.io/app-health-probe-interval"
	KeyAppHealthProbeTimeout            = "dapr.io/app-health-probe-timeout"
	KeyAppHealthThreshold               = "dapr.io/app-health-threshold"
	KeyPlacementHostAddresses           = "dapr.io/placement-host-address"
	KeyPluggableComponents              = "dapr.io/pluggable-components"
	KeyPluggableComponentsSocketsFolder = "dapr.io/pluggable-components-sockets-folder"
	KeyPluggableComponentContainer      = "dapr.io/component-container"
	KeyPluggableComponentsInjection     = "dapr.io/inject-pluggable-components"
	KeyAppChannel                       = "dapr.io/app-channel-address"
)
View Source
const (
	DefaultLogLevel                          = "info"
	DefaultLogAsJSON                         = false
	DefaultAppSSL                            = false
	DefaultAppProtocol                       = "http"
	DefaultEnableMetric                      = true
	DefaultMetricsPort                       = 9090
	DefaultEnableDebug                       = false
	DefaultDebugPort                         = 40000
	DefaultSidecarListenAddresses            = "[::1],127.0.0.1"
	DefaultHealthzProbeDelaySeconds          = 3
	DefaultHealthzProbeTimeoutSeconds        = 3
	DefaultHealthzProbePeriodSeconds         = 6
	DefaultHealthzProbeThreshold             = 3
	DefaultMtlsEnabled                       = true
	DefaultEnableProfiling                   = false
	DefaultDisableBuiltinK8sSecretStore      = false
	DefaultEnableAppHealthCheck              = false
	DefaultAppCheckPath                      = "/healthz"
	DefaultAppHealthProbeIntervalSeconds     = 5
	DefaultAppHealthProbeTimeoutMilliseconds = 500
	DefaultAppHealthThreshold                = 3
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Map added in v1.11.0

type Map map[string]string

Map contains the annotations for the pod.

func New added in v1.11.0

func New(an map[string]string) Map

func (Map) Exist added in v1.11.0

func (a Map) Exist(key string) bool

func (Map) GetBoolOrDefault added in v1.11.0

func (a Map) GetBoolOrDefault(key string, defaultValue bool) bool

func (Map) GetInt32 added in v1.11.0

func (a Map) GetInt32(key string) (int32, error)

func (Map) GetInt32OrDefault added in v1.11.0

func (a Map) GetInt32OrDefault(key string, defaultValue int32) int32

func (Map) GetString added in v1.11.0

func (a Map) GetString(key string) string

func (Map) GetStringOrDefault added in v1.11.0

func (a Map) GetStringOrDefault(key, defaultValue string) string

Jump to

Keyboard shortcuts

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