mocks

package
v0.0.0-...-298751d Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClock

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

MockClock is a mock of Clock interface.

func NewMockClock

func NewMockClock(ctrl *gomock.Controller) *MockClock

NewMockClock creates a new mock instance.

func (*MockClock) After

func (m *MockClock) After(arg0 time.Duration) <-chan time.Time

After mocks base method.

func (*MockClock) AfterFunc

func (m *MockClock) AfterFunc(arg0 time.Duration, arg1 func()) clock.Timer

AfterFunc mocks base method.

func (*MockClock) EXPECT

func (m *MockClock) EXPECT() *MockClockMockRecorder

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

func (*MockClock) NewTimer

func (m *MockClock) NewTimer(arg0 time.Duration) clock.Timer

NewTimer mocks base method.

func (*MockClock) Now

func (m *MockClock) Now() time.Time

Now mocks base method.

type MockClockMockRecorder

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

MockClockMockRecorder is the mock recorder for MockClock.

func (*MockClockMockRecorder) After

func (mr *MockClockMockRecorder) After(arg0 any) *gomock.Call

After indicates an expected call of After.

func (*MockClockMockRecorder) AfterFunc

func (mr *MockClockMockRecorder) AfterFunc(arg0, arg1 any) *gomock.Call

AfterFunc indicates an expected call of AfterFunc.

func (*MockClockMockRecorder) NewTimer

func (mr *MockClockMockRecorder) NewTimer(arg0 any) *gomock.Call

NewTimer indicates an expected call of NewTimer.

func (*MockClockMockRecorder) Now

func (mr *MockClockMockRecorder) Now() *gomock.Call

Now indicates an expected call of Now.

type MockSnapManager

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

MockSnapManager is a mock of SnapManager interface.

func NewMockSnapManager

func NewMockSnapManager(ctrl *gomock.Controller) *MockSnapManager

NewMockSnapManager creates a new mock instance.

func (*MockSnapManager) ChangeChannel

func (m *MockSnapManager) ChangeChannel(arg0, arg1 string) error

ChangeChannel mocks base method.

func (*MockSnapManager) EXPECT

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

func (*MockSnapManager) InstalledChannel

func (m *MockSnapManager) InstalledChannel(arg0 string) string

InstalledChannel mocks base method.

type MockSnapManagerMockRecorder

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

MockSnapManagerMockRecorder is the mock recorder for MockSnapManager.

func (*MockSnapManagerMockRecorder) ChangeChannel

func (mr *MockSnapManagerMockRecorder) ChangeChannel(arg0, arg1 any) *gomock.Call

ChangeChannel indicates an expected call of ChangeChannel.

func (*MockSnapManagerMockRecorder) InstalledChannel

func (mr *MockSnapManagerMockRecorder) InstalledChannel(arg0 any) *gomock.Call

InstalledChannel indicates an expected call of InstalledChannel.

Jump to

Keyboard shortcuts

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