Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultHostConfigPath string = "/etc/yunion/host.conf" GuestCtZoneBase uint16 = 1000 FlowManIdleCheckDuration time.Duration = 13 * time.Second TcManIdleCheckDuration time.Duration = 17 * time.Second WatcherRefreshRate time.Duration = 31 * time.Second WatcherRefreshRateOnError time.Duration = 3 * time.Second WatcherRecentPendingTime time.Duration = WatcherRefreshRateOnError * 5 )
View Source
const ( TcManCmdAdd = iota TcManCmdDel )
View Source
const FAILSAFE string = "failSAFE"
View Source
const THEMAN string = "THEman"
TODO make them unique
Variables ¶
View Source
var REGEX_UUID = regexp.MustCompile(`^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$`)
Functions ¶
This section is empty.
Types ¶
type AgentServer ¶
type AgentServer struct {
// contains filtered or unexported fields
}
func Server ¶
func Server() *AgentServer
func (*AgentServer) GetFlowMan ¶
func (s *AgentServer) GetFlowMan(bridge string) *FlowMan
func (*AgentServer) Start ¶
func (s *AgentServer) Start() error
func (*AgentServer) Stop ¶
func (s *AgentServer) Stop()
type FlowManWaitData ¶
type HostLocal ¶
type HostLocal struct {
// contains filtered or unexported fields
}
func NewHostLocal ¶
func NewHostLocal(watcher *serversWatcher) *HostLocal
func (*HostLocal) UpdateSettings ¶
type TcMan ¶
type TcMan struct {
// contains filtered or unexported fields
}
type TcManCmdType ¶
type TcManCmdType int
type TcManSection ¶
type TcManSection struct {
// contains filtered or unexported fields
}
func NewTcManSection ¶
func NewTcManSection() *TcManSection
func (*TcManSection) Update ¶
func (s *TcManSection) Update(t *TcManSection)
Click to show internal directories.
Click to hide internal directories.