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 IPRuleEntity ¶
IPRuleEntity ...
func NewIPRuleEntity ¶
func NewIPRuleEntity(logging *logrus.Logger) *IPRuleEntity
NewIPRuleEntity ...
func (*IPRuleEntity) AddIPRule ¶
func (ipRuleEntity *IPRuleEntity) AddIPRule(hcTunDestIP string, id string) error
func (*IPRuleEntity) GetIPRuleRuntimeConfig ¶
func (ipRuleEntity *IPRuleEntity) GetIPRuleRuntimeConfig(id string) (map[int]struct{}, error)
func (*IPRuleEntity) RemoveIPRule ¶
func (ipRuleEntity *IPRuleEntity) RemoveIPRule(hcTunDestIP string, id string) error
type OrchestratorWorkerEntity ¶
type OrchestratorWorkerEntity struct {
// contains filtered or unexported fields
}
func (*OrchestratorWorkerEntity) RouteRuntimeConfig ¶
func (orchestratorWorker *OrchestratorWorkerEntity) RouteRuntimeConfig(runtimeConfig map[int]struct{}, 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.