Documentation ¶
Index ¶
- type Client
- type Config
- func (c *Config) Build() error
- func (c *Config) GetClientPool() client.Pool
- func (c *Config) GetConvert(name string) reader.Convertor
- func (c *Config) GetLogger() logger.Logger
- func (c *Config) GetManager() manager.Manager
- func (c *Config) GetSources() Sources
- func (c *Config) Optimize(configPath string) error
- func (c *Config) RegistryConvert(name string, convert reader.Convertor)
- type Log
- type Manager
- type Source
- type Sources
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client = configbase.Client
type Config ¶
type Config struct { Client `yaml:"client" json:"client,omitempty,optional"` Manager `yaml:"manager" json:"manager"` Sources `yaml:"sources" json:"sources"` *Log `yaml:"log,omitempty" json:"log,omitempty,optional"` // contains filtered or unexported fields }
func (*Config) GetClientPool ¶
func (*Config) GetConvert ¶ added in v1.0.30
func (*Config) GetManager ¶
func (*Config) GetSources ¶ added in v1.0.5
type Log ¶
type Log = configbase.Log
type Manager ¶
type Manager struct { GraphName string `yaml:"spaceName" json:"spaceName"` configbase.Manager `yaml:",inline" json:",inline"` }
type Source ¶
type Source struct { configbase.Source `yaml:",inline" json:",inline"` Nodes specv3.Nodes `yaml:"tags,omitempty" json:"tags,omitempty,optional"` Edges specv3.Edges `yaml:"edges,omitempty" json:"edges,omitempty,optional"` }
func (*Source) BuildGraph ¶
type Sources ¶
type Sources []Source
func (Sources) OptimizePath ¶
OptimizePath optimizes relative paths base to the configuration file path
func (*Sources) OptimizePathWildCard ¶
OptimizePathWildCard optimizes the wildcards in the paths
Click to show internal directories.
Click to hide internal directories.