Versions in this module Expand all Collapse all v1 v1.0.1 Sep 12, 2024 v1.0.0 Jan 28, 2024 Changes in this version + func GenConfs(y Yaml, template Toml, path string) error + func GenNewToml(t Toml, path string) error + type CommonConfig struct + Arch string + MetaHosts []string + Os string + SqlHosts []string + StoreHosts []string + User string + type CommonToml struct + HaPolicy string + MetaJoin []string + type Config struct + CommonConfig *CommonConfig + SSHConfig map[string]SSHConfig + type Configurator interface + BuildConfig func() error + GenClusterConfs func() error + GetConfig func() *Config + func NewGeminiConfigurator(yPath, tPath, gPath string) Configurator + type DataToml struct + CacheTableDataBlock bool + CacheTableMetaBlock bool + ReadCacheLimit int + StoreDataDir string + StoreIngestAddr string + StoreMetaDir string + StoreSelectAddr string + StoreWalDir string + type GeminiConfigurator struct + func (c *GeminiConfigurator) BuildConfig() error + func (c *GeminiConfigurator) GenClusterConfs() error + func (c *GeminiConfigurator) GetConfig() *Config + type GlobalYaml struct + Arch string + DeployDir string + LogDir string + OS string + SSHPort int + User string + type GossipToml struct + BindAddress string + Members []string + MetaBindPort int + StoreBindPort int + type HostFile struct + HasMeta bool + HasSql bool + HasStore bool + Ip string + TsMeta MetaYaml + TsSql SqlYaml + TsStore StoreYaml + type HttpToml struct + AuthEnabled bool + BindAddress string + HttpsCertificate string + HttpsEnabled bool + HttpsPrivateKey string + type LoggingToml struct + Path string + type MetaPorts struct + Gossip int + Ip string + Peer int + type MetaToml struct + BindAddress string + Dir string + HttpBindAddress string + RpcBindAddress string + type MetaYaml struct + ClientPort int + Config MetaYamlConfig + DataDir string + DeployDir string + GossipPort int + Host string + LogDir string + PeerPort int + RaftPort int + SSHPort int + type MetaYamlConfig struct + Compress bool + HaPolicy string + HttpEndpoint string + Password string + Pushers string + StoreDatabase string + StoreEnabled bool + StoreInterval string + StorePath string + Username string + type MonitorToml struct + Compress bool + HttpEndpoint string + Password string + Pushers string + StoreDatabase string + StoreEnabled bool + StoreInterval string + StorePath string + Username string + type RemoteHost struct + Ip string + KeyPath string + LogPath string + Password string + SSHPort int + Typ utils.SSHType + UpDataPath string + User string + type RetentionToml struct + CheckInterval string + type SSHConfig struct + LogPath string + Port int + UpDataPath string + type ServerConfig struct + TsMeta MetaYamlConfig + TsSql SqlYamlConfig + TsStore StoreYamlConfig + type SqlYaml struct + Config SqlYamlConfig + DeployDir string + FlightPort int + Host string + LogDir string + Port int + SSHPort int + type SqlYamlConfig struct + AuthEnabled bool + Compress bool + HaPolicy string + HttpEndpoint string + HttpsCertificate string + HttpsEnabled bool + HttpsPrivateKey string + Password string + Pushers string + StoreDatabase string + StoreEnabled bool + StoreInterval string + StorePath string + Username string + type StoreYaml struct + Config StoreYamlConfig + DataDir string + DeployDir string + GossipPort int + Host string + IngestPort int + LogDir string + MetaDir string + SSHPort int + SelectPort int + type StoreYamlConfig struct + CheckInterval string + Compress bool + HaPolicy string + HttpEndpoint string + Password string + Pushers string + StoreDatabase string + StoreEnabled bool + StoreInterval string + StorePath string + Username string + type Toml struct + Common CommonToml + Data DataToml + Gossip GossipToml + Http HttpToml + Logging LoggingToml + Meta MetaToml + Monitor MonitorToml + Retention RetentionToml + func ConvertToml(hostToml Toml, pwd string) Toml + func ReadFromToml(tomlPath string) (Toml, error) + type UploadInfo struct + FileName string + LocalPath string + RemotePath string + type Yaml struct + Global GlobalYaml + ServerConfig ServerConfig + TsMeta []MetaYaml + TsSql []SqlYaml + TsStore []StoreYaml + func ReadFromYaml(yamlPath string) (Yaml, error)