mock

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SetupCalled, StartCalled, StopCalled bool

Functions

This section is empty.

Types

type MockOrch

type MockOrch struct {
	// Channel for sending request to controller
	ReqChan chan<- ipamspec.IPAMRequest
	// Channel for receiving responce from controller
	RespChan <-chan ipamspec.IPAMResponse
}

func (*MockOrch) ExportResourcesData

func (moc *MockOrch) ExportResourcesData(interface{}) interface{}

func (*MockOrch) SetupCommunicationChannels

func (moc *MockOrch) SetupCommunicationChannels(reqChan chan<- ipamspec.IPAMRequest, respChan <-chan ipamspec.IPAMResponse)

func (*MockOrch) Start

func (moc *MockOrch) Start(stopCh <-chan struct{})

func (*MockOrch) Stop

func (moc *MockOrch) Stop()

Jump to

Keyboard shortcuts

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