Documentation ¶
Index ¶
- type Config
- func (c *Config) GetObj(key string) interface{}
- func (c *Config) Register(reg *Register) error
- func (c *Config) SetRemote(namespaceId string, nodes []*RemoteNode) error
- func (c *Config) UnitsAdd(us ...*Unit)
- func (c *Config) UnitsEqual(a, b *Unit) bool
- func (c *Config) UnitsExist(unit *Unit, equal func(a, b *Unit) bool) bool
- func (c *Config) UnitsGet(key string) *Unit
- func (c *Config) UnitsRange(fn func(u *Unit) bool)
- type Layout
- type Register
- type RegisterCenter
- type RemoteNode
- type Unit
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
func (*Config) SetRemote ¶
func (c *Config) SetRemote(namespaceId string, nodes []*RemoteNode) error
func (*Config) UnitsEqual ¶
func (*Config) UnitsExist ¶
func (*Config) UnitsRange ¶
type RegisterCenter ¶
type RemoteNode ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.