watch

package
v1.0.14 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package watch is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWatcher

func NewWatcher(runner run.Runner, forwarder forward.Forwarder, conf *config.Watcher, project *config.Project) *watcher

NewWatcher initializes a watcher instance monitoring services using both runner and forwarder

Types

type MockWatcher

type MockWatcher struct {
	// contains filtered or unexported fields
}

MockWatcher is a mock of Watcher interface.

func NewMockWatcher

func NewMockWatcher(ctrl *gomock.Controller) *MockWatcher

NewMockWatcher creates a new mock instance.

func (*MockWatcher) EXPECT

func (m *MockWatcher) EXPECT() *MockWatcherMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockWatcher) Stop

func (m *MockWatcher) Stop() error

Stop mocks base method.

func (*MockWatcher) Watch

func (m *MockWatcher) Watch()

Watch mocks base method.

type MockWatcherMockRecorder

type MockWatcherMockRecorder struct {
	// contains filtered or unexported fields
}

MockWatcherMockRecorder is the mock recorder for MockWatcher.

func (*MockWatcherMockRecorder) Stop

func (mr *MockWatcherMockRecorder) Stop() *gomock.Call

Stop indicates an expected call of Stop.

func (*MockWatcherMockRecorder) Watch

func (mr *MockWatcherMockRecorder) Watch() *gomock.Call

Watch indicates an expected call of Watch.

type Watcher

type Watcher interface {
	Watch()
	Stop() error
}

Jump to

Keyboard shortcuts

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