discovery

package
v3.1.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiscoveryInterface

type DiscoveryInterface 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 Interface

type Interface interface {
	GetServers() ([]string, error)
}

type MockDiscovery

type MockDiscovery struct{}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL