Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IDGenerator ¶
type IDGenerator struct { }
IDGenerator ...
func (*IDGenerator) NewID ¶
func (idGenerator *IDGenerator) NewID() string
NewID generate new ID in domain id model/struct
type OrchestratorWorkerEntity ¶
type OrchestratorWorkerEntity struct {
// contains filtered or unexported fields
}
func (*OrchestratorWorkerEntity) RouteRuntimeConfig ¶
func (orchestratorWorker *OrchestratorWorkerEntity) RouteRuntimeConfig(runtimeConfig []string, id string) error
type RouteEntity ¶
RouteEntity ...
func (*RouteEntity) AddRoute ¶
func (routeEntity *RouteEntity) AddRoute(hcDestIP string, hcTunDestIP string, id string) error
func (*RouteEntity) GetRouteRuntimeConfig ¶
func (routeEntity *RouteEntity) GetRouteRuntimeConfig(id string) ([]string, error)
func (*RouteEntity) RemoveRoute ¶
func (routeEntity *RouteEntity) RemoveRoute(hcDestIP string, hcTunDestIP string, id string) error
type UUIDGenerator ¶
type UUIDGenerator struct { }
UUIDGenerator ...
func (*UUIDGenerator) NewID ¶
func (uuidGenerator *UUIDGenerator) NewID() string
NewID generate new ID in domain id model/struct
Click to show internal directories.
Click to hide internal directories.