Documentation ¶
Index ¶
- type DiscoveryInterface
- type Interface
- type MockDiscovery
- func (d *MockDiscovery) ApiServer() Interface
- func (d *MockDiscovery) AuditCtrl() Interface
- func (d *MockDiscovery) DataCollect() Interface
- func (d *MockDiscovery) EventServer() Interface
- func (d *MockDiscovery) GseProcServ() Interface
- func (d *MockDiscovery) HostCtrl() Interface
- func (d *MockDiscovery) HostServer() Interface
- func (d *MockDiscovery) MigrateServer() Interface
- func (d *MockDiscovery) ObjectCtrl() Interface
- func (d *MockDiscovery) ProcCtrl() Interface
- func (d *MockDiscovery) ProcServer() Interface
- func (d *MockDiscovery) TopoServer() Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiscoveryInterface ¶
type DiscoveryInterface interface { ApiServer() Interface MigrateServer() Interface EventServer() Interface HostServer() Interface ProcServer() Interface TopoServer() Interface DataCollect() Interface AuditCtrl() Interface HostCtrl() Interface ObjectCtrl() Interface ProcCtrl() Interface GseProcServ() Interface }
func NewDiscoveryInterface ¶
func NewDiscoveryInterface(zkAddr string) (DiscoveryInterface, error)
func NewMockDiscoveryInterface ¶
func NewMockDiscoveryInterface() DiscoveryInterface
type MockDiscovery ¶
type MockDiscovery struct{}
func (*MockDiscovery) ApiServer ¶
func (d *MockDiscovery) ApiServer() Interface
func (*MockDiscovery) AuditCtrl ¶
func (d *MockDiscovery) AuditCtrl() Interface
func (*MockDiscovery) DataCollect ¶
func (d *MockDiscovery) DataCollect() Interface
func (*MockDiscovery) EventServer ¶
func (d *MockDiscovery) EventServer() Interface
func (*MockDiscovery) GseProcServ ¶
func (d *MockDiscovery) GseProcServ() Interface
func (*MockDiscovery) HostCtrl ¶
func (d *MockDiscovery) HostCtrl() Interface
func (*MockDiscovery) HostServer ¶
func (d *MockDiscovery) HostServer() Interface
func (*MockDiscovery) MigrateServer ¶
func (d *MockDiscovery) MigrateServer() Interface
func (*MockDiscovery) ObjectCtrl ¶
func (d *MockDiscovery) ObjectCtrl() Interface
func (*MockDiscovery) ProcCtrl ¶
func (d *MockDiscovery) ProcCtrl() Interface
func (*MockDiscovery) ProcServer ¶
func (d *MockDiscovery) ProcServer() Interface
func (*MockDiscovery) TopoServer ¶
func (d *MockDiscovery) TopoServer() Interface
Click to show internal directories.
Click to hide internal directories.