Documentation
¶
Index ¶
- Constants
- Variables
- func GetNamespacePattern(namespace string) string
- func RancherLoggingCatalogID(version string) string
- func RancherLoggingConfigSecretName() string
- func RancherLoggingFullVersion() string
- func RancherLoggingSSLSecretName() string
- func RancherLoggingTemplateID() string
- func SecretDataKeyCa(level, name string) string
- func SecretDataKeyCert(level, name string) string
- func SecretDataKeyCertKey(level, name string) string
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.
Click to show internal directories.
Click to hide internal directories.