37 Star 403 Fork 75

GVPrancher/rancher

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
config.go 881 Bytes
一键复制 编辑 原始数据 按行查看 历史
package constant
const (
LoggingNamespace = "cattle-logging"
ClusterLoggingName = "cluster-logging"
ProjectLoggingName = "project-logging"
)
//daemonset
const (
FluentdName = "fluentd"
FluentdHelperName = "fluentd-helper"
LogAggregatorName = "log-aggregator"
)
//config
const (
ClusterFileName = "cluster.conf"
ProjectFileName = "project.conf"
ClusterConfigPath = "/tmp/cluster.conf"
ProjectConfigPath = "/tmp/project.conf"
)
//target
const (
Elasticsearch = "elasticsearch"
Splunk = "splunk"
Kafka = "kafka"
Syslog = "syslog"
FluentForwarder = "fluentforwarder"
)
//app label
const (
LabelK8sApp = "k8s-app"
)
const (
GoogleKubernetesEngine = "googleKubernetesEngine"
)
//ssl
const (
SSLSecretName = "sslconfig"
CaFileName = "ca.pem"
ClientCertName = "client-cert.pem"
ClientKeyName = "client-key.pem"
)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/rancher/rancher.git
git@gitee.com:rancher/rancher.git
rancher
rancher
rancher
v2.1.2-rc5

搜索帮助