Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultPolarisName default polaris name DefaultPolarisName = "polaris-server" // DefaultPolarisNamespace default namespace DefaultPolarisNamespace = "Polaris" // DefaultFilePath default file path DefaultFilePath = "polaris-server.yaml" // DefaultHeartbeatInterval default interval second for heartbeat DefaultHeartbeatInterval = 5 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIEntries ¶
APIEntries 对外提供的apiServers
type Bootstrap ¶
type Bootstrap struct { Logger map[string]*log.Options StartInOrder map[string]interface{} `yaml:"startInOrder"` PolarisService PolarisService `yaml:"polaris_service"` }
Bootstrap 启动引导配置
type Config ¶
type Config struct { Bootstrap Bootstrap `yaml:"bootstrap"` APIServers []apiserver.Config `yaml:"apiservers"` Cache cache.Config `yaml:"cache"` Namespace namespace.Config `yaml:"namespace"` Naming service.Config `yaml:"naming"` Config config.Config `yaml:"config"` HealthChecks healthcheck.Config `yaml:"healthcheck"` Store store.Config `yaml:"store"` Auth auth.Config `yaml:"auth"` Plugin plugin.Config `yaml:"plugin"` }
Config 配置
Click to show internal directories.
Click to hide internal directories.