Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct {
// contains filtered or unexported fields
}
Agent contains the state of the agent.
type NodeConfig ¶
type NodeConfig struct {
// contains filtered or unexported fields
}
NodeConfig represents a configuration.
func Read ¶
func Read(r io.Reader) (*NodeConfig, error)
Read reads a config from the specified reader.
func (NodeConfig) CacheConfig ¶
func (nc NodeConfig) CacheConfig() cache.Config
func (NodeConfig) NATSServers ¶
func (nc NodeConfig) NATSServers() []string
func (*NodeConfig) SetCacheConfig ¶
func (nc *NodeConfig) SetCacheConfig(cc cache.Config)
func (*NodeConfig) SetNATSServers ¶
func (nc *NodeConfig) SetNATSServers(uris []string)
func (*NodeConfig) SetVolumeConfig ¶
func (nc *NodeConfig) SetVolumeConfig(vc vol.Config)
func (NodeConfig) VolumeConfig ¶
func (nc NodeConfig) VolumeConfig() vol.Config
Click to show internal directories.
Click to hide internal directories.