Documentation ¶
Index ¶
- Constants
- type ZitiDbBuilder
- func (self *ZitiDbBuilder) Build(m *model.Model) error
- func (self *ZitiDbBuilder) CreateEdgeRouterHosts(tx *bbolt.Tx, m *model.Model, erStrategy ZitiEdgeRouterStrategy) error
- func (self *ZitiDbBuilder) DefaultGetSite(er *db.EdgeRouter) (string, bool)
- func (self *ZitiDbBuilder) GetDb() boltz.Db
- func (self *ZitiDbBuilder) GetStores() *db.Stores
- type ZitiDbBuilderStrategy
- type ZitiEdgeRouterStrategy
Constants ¶
View Source
const ( RemoteId = "#remote" LocalId = "#local" ServiceTag = ".service" ClientTag = ".client" ControllerTag = ".ctrl" RouterTag = ".router" EdgeRouterTag = ".edge-router" SdkAppTag = ".sdk-app" LoopListenerTag = ".loop-listener" LoopDialerTag = ".loop-dialer" TerminatorTag = ".terminator" HasControllerComponent = "component.ctrl" HasRouterComponent = "component.router" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ZitiDbBuilder ¶
type ZitiDbBuilder struct { Strategy ZitiDbBuilderStrategy // contains filtered or unexported fields }
func (*ZitiDbBuilder) CreateEdgeRouterHosts ¶
func (self *ZitiDbBuilder) CreateEdgeRouterHosts(tx *bbolt.Tx, m *model.Model, erStrategy ZitiEdgeRouterStrategy) error
func (*ZitiDbBuilder) DefaultGetSite ¶
func (self *ZitiDbBuilder) DefaultGetSite(er *db.EdgeRouter) (string, bool)
func (*ZitiDbBuilder) GetDb ¶
func (self *ZitiDbBuilder) GetDb() boltz.Db
func (*ZitiDbBuilder) GetStores ¶
func (self *ZitiDbBuilder) GetStores() *db.Stores
type ZitiDbBuilderStrategy ¶
type ZitiEdgeRouterStrategy ¶
type ZitiEdgeRouterStrategy interface { GetSite(router *db.EdgeRouter) (string, bool) PostProcess(router *db.EdgeRouter, c *model.Component) }
Click to show internal directories.
Click to hide internal directories.