Documentation ¶
Index ¶
- type SBaseAgent
- func (agent *SBaseAgent) AddImageCacheHandler(prefix string, app *appsrv.Application)
- func (agent *SBaseAgent) DoOnline(session *mcclient.ClientSession) error
- func (agent *SBaseAgent) FindAccessIP(accessAddr string) (net.IP, error)
- func (agent *SBaseAgent) FindListenIP(listenAddr string) (net.IP, error)
- func (agent *SBaseAgent) GetListenIPs() []net.IP
- func (agent *SBaseAgent) GetListenUri() string
- func (agent *SBaseAgent) GetManagerUri() string
- func (agent *SBaseAgent) IAgent() iagent.IAgent
- func (agent *SBaseAgent) Init(iagent iagent.IAgent, ifname string, cachePath string) error
- func (agent *SBaseAgent) Start() error
- func (agent *SBaseAgent) Stop()
- type SZoneInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SBaseAgent ¶
type SBaseAgent struct { object.SObject ListenInterface *net.Interface ListenIPs []net.IP AgentId string AgentName string Zone *SZoneInfo CachePath string CacheManager *storageman.SLocalImageCacheManager // contains filtered or unexported fields }
func (*SBaseAgent) AddImageCacheHandler ¶
func (agent *SBaseAgent) AddImageCacheHandler(prefix string, app *appsrv.Application)
func (*SBaseAgent) DoOnline ¶
func (agent *SBaseAgent) DoOnline(session *mcclient.ClientSession) error
func (*SBaseAgent) FindAccessIP ¶
func (agent *SBaseAgent) FindAccessIP(accessAddr string) (net.IP, error)
func (*SBaseAgent) FindListenIP ¶
func (agent *SBaseAgent) FindListenIP(listenAddr string) (net.IP, error)
func (*SBaseAgent) GetListenIPs ¶
func (agent *SBaseAgent) GetListenIPs() []net.IP
func (*SBaseAgent) GetListenUri ¶
func (agent *SBaseAgent) GetListenUri() string
func (*SBaseAgent) GetManagerUri ¶
func (agent *SBaseAgent) GetManagerUri() string
func (*SBaseAgent) IAgent ¶
func (agent *SBaseAgent) IAgent() iagent.IAgent
func (*SBaseAgent) Start ¶
func (agent *SBaseAgent) Start() error
func (*SBaseAgent) Stop ¶
func (agent *SBaseAgent) Stop()
Click to show internal directories.
Click to hide internal directories.