1 Star 0 Fork 0

ryancartoon/sensu-go

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
config.go 1.49 KB
一键复制 编辑 原始数据 按行查看 历史
Eric Chlebek 提交于 2019-05-18 01:50 +08:00 . Make etcd database size configurable (#2968)
package backend
import (
"github.com/sensu/sensu-go/backend/etcd"
"github.com/sensu/sensu-go/types"
)
const (
// DefaultEtcdName is the default etcd member node name (single-node cluster only)
DefaultEtcdName = "default"
// DefaultEtcdClientURL is the default URL to listen for Etcd clients
DefaultEtcdClientURL = "http://127.0.0.1:2379"
// DefaultEtcdPeerURL is the default URL to listen for Etcd peers (single-node cluster only)
DefaultEtcdPeerURL = "http://127.0.0.1:2380"
)
// Config specifies a Backend configuration.
type Config struct {
// Backend Configuration
StateDir string
CacheDir string
// Agentd Configuration
AgentHost string
AgentPort int
// Apid Configuration
APIListenAddress string
APIURL string
// Dashboardd Configuration
DashboardHost string
DashboardPort int
DashboardTLSCertFile string
DashboardTLSKeyFile string
// Pipelined Configuration
DeregistrationHandler string
// Etcd configuration
EtcdAdvertiseClientURLs []string
EtcdInitialAdvertisePeerURLs []string
EtcdInitialClusterToken string
EtcdInitialClusterState string
EtcdInitialCluster string
EtcdListenClientURLs []string
EtcdListenPeerURLs []string
EtcdName string
NoEmbedEtcd bool
// Etcd TLS configuration
EtcdClientTLSInfo etcd.TLSInfo
EtcdPeerTLSInfo etcd.TLSInfo
EtcdCipherSuites []string
EtcdMaxRequestBytes uint
EtcdQuotaBackendBytes int64
TLS *types.TLSOptions
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ryancartoon/sensu-go.git
git@gitee.com:ryancartoon/sensu-go.git
ryancartoon
sensu-go
sensu-go
v5.10.1

搜索帮助