fake

package
v0.25.1 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package fake is a generated GoMock package.

Package fake is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockFileWatcher

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

MockFileWatcher is a mock of FileWatcher interface.

func NewMockFileWatcher

func NewMockFileWatcher(ctrl *gomock.Controller) *MockFileWatcher

NewMockFileWatcher creates a new mock instance.

func (*MockFileWatcher) Add

func (m *MockFileWatcher) Add(arg0 string) error

Add mocks base method.

func (*MockFileWatcher) EXPECT

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

func (*MockFileWatcher) Errors

func (m *MockFileWatcher) Errors() chan error

Errors mocks base method.

func (*MockFileWatcher) Events

func (m *MockFileWatcher) Events() chan fsnotify.Event

Events mocks base method.

type MockFileWatcherMockRecorder

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

MockFileWatcherMockRecorder is the mock recorder for MockFileWatcher.

func (*MockFileWatcherMockRecorder) Add

func (mr *MockFileWatcherMockRecorder) Add(arg0 interface{}) *gomock.Call

Add indicates an expected call of Add.

func (*MockFileWatcherMockRecorder) Errors

func (mr *MockFileWatcherMockRecorder) Errors() *gomock.Call

Errors indicates an expected call of Errors.

func (*MockFileWatcherMockRecorder) Events

func (mr *MockFileWatcherMockRecorder) Events() *gomock.Call

Events indicates an expected call of Events.

type MockWatcherConfig

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

MockWatcherConfig is a mock of WatcherConfig interface.

func NewMockWatcherConfig

func NewMockWatcherConfig(ctrl *gomock.Controller) *MockWatcherConfig

NewMockWatcherConfig creates a new mock instance.

func (*MockWatcherConfig) CurrentContext added in v0.18.0

func (m *MockWatcherConfig) CurrentContext() string

CurrentContext mocks base method.

func (*MockWatcherConfig) EXPECT

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

func (*MockWatcherConfig) UseContext

func (m *MockWatcherConfig) UseContext(arg0 context.Context, arg1 string) error

UseContext mocks base method.

func (*MockWatcherConfig) UseFSContext added in v0.18.0

func (m *MockWatcherConfig) UseFSContext(arg0 context.Context) error

UseFSContext mocks base method.

type MockWatcherConfigMockRecorder

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

MockWatcherConfigMockRecorder is the mock recorder for MockWatcherConfig.

func (*MockWatcherConfigMockRecorder) CurrentContext added in v0.18.0

func (mr *MockWatcherConfigMockRecorder) CurrentContext() *gomock.Call

CurrentContext indicates an expected call of CurrentContext.

func (*MockWatcherConfigMockRecorder) UseContext

func (mr *MockWatcherConfigMockRecorder) UseContext(arg0, arg1 interface{}) *gomock.Call

UseContext indicates an expected call of UseContext.

func (*MockWatcherConfigMockRecorder) UseFSContext added in v0.18.0

func (mr *MockWatcherConfigMockRecorder) UseFSContext(arg0 interface{}) *gomock.Call

UseFSContext indicates an expected call of UseFSContext.

Jump to

Keyboard shortcuts

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