constant

package
v2.2.7-rc5+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppName        = "rancher-logging"
	TesterAppName  = "rancher-logging-tester"
	AppInitVersion = "0.1.1"
)
View Source
const (
	FluentdName                = "fluentd"
	FluentdHelperName          = "fluentd-helper"
	LogAggregatorName          = "log-aggregator"
	FluentdTesterName          = "fluentd-test"
	FluentdTesterContainerName = "dry-run"
)

daemonset, pod, container name

View Source
const (
	LoggingSecretName             = "fluentd"
	LoggingSSLSecretName          = "fluentd-ssl"
	LoggingSecretClusterConfigKey = "cluster.conf"
	LoggingSecretProjectConfigKey = "project.conf"
)

config

View Source
const (
	Elasticsearch   = "elasticsearch"
	Splunk          = "splunk"
	Kafka           = "kafka"
	Syslog          = "syslog"
	FluentForwarder = "fluentforwarder"
	CustomTarget    = "customtarget"
)

target

View Source
const (
	DefaultCertDir = "/fluentd/etc/config/ssl"
	CaFileName     = "ca.pem"
	ClientCertName = "client-cert.pem"
	ClientKeyName  = "client-key.pem"
)

ssl

View Source
const (
	ClusterLevel = "cluster"
	ProjectLevel = "project"
)
View Source
const (
	GoogleKubernetesEngine = "googleKubernetesEngine"
)
View Source
const (
	LoggingNamespace = "cattle-logging"
)

Variables

View Source
var (
	FluentdTesterSelector = map[string]string{"app": "fluentd-tester"}
	FluentdSelector       = map[string]string{"app": "fluentd"}
	LogAggregatorSelector = map[string]string{"app": "log-aggregator"}
)

Functions

func GetNamespacePattern

func GetNamespacePattern(namespace string) string

func RancherLoggingCatalogID

func RancherLoggingCatalogID(version string) string

func RancherLoggingConfigSecretName

func RancherLoggingConfigSecretName() string

func RancherLoggingFullVersion

func RancherLoggingFullVersion() string

func RancherLoggingSSLSecretName

func RancherLoggingSSLSecretName() string

func RancherLoggingTemplateID

func RancherLoggingTemplateID() string

func SecretDataKeyCa

func SecretDataKeyCa(level, name string) string

func SecretDataKeyCert

func SecretDataKeyCert(level, name string) string

func SecretDataKeyCertKey

func SecretDataKeyCertKey(level, name string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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