mocks

package
v0.0.0-...-f88c608 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2025 License: AGPL-3.0 Imports: 5 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 MockNotifyWatcher

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

MockNotifyWatcher is a mock of NotifyWatcher interface.

func NewMockNotifyWatcher

func NewMockNotifyWatcher(ctrl *gomock.Controller) *MockNotifyWatcher

NewMockNotifyWatcher creates a new mock instance.

func (*MockNotifyWatcher) Changes

func (m *MockNotifyWatcher) Changes() <-chan struct{}

Changes mocks base method.

func (*MockNotifyWatcher) EXPECT

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

func (*MockNotifyWatcher) Kill

func (m *MockNotifyWatcher) Kill()

Kill mocks base method.

func (*MockNotifyWatcher) Wait

func (m *MockNotifyWatcher) Wait() error

Wait mocks base method.

type MockNotifyWatcherChangesCall

type MockNotifyWatcherChangesCall struct {
	*gomock.Call
}

MockNotifyWatcherChangesCall wrap *gomock.Call

func (*MockNotifyWatcherChangesCall) Do

func (c *MockNotifyWatcherChangesCall) Do(f func() <-chan struct{}) *MockNotifyWatcherChangesCall

Do rewrite *gomock.Call.Do

func (*MockNotifyWatcherChangesCall) DoAndReturn

func (c *MockNotifyWatcherChangesCall) DoAndReturn(f func() <-chan struct{}) *MockNotifyWatcherChangesCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockNotifyWatcherChangesCall) Return

func (c *MockNotifyWatcherChangesCall) Return(arg0 <-chan struct{}) *MockNotifyWatcherChangesCall

Return rewrite *gomock.Call.Return

type MockNotifyWatcherKillCall

type MockNotifyWatcherKillCall struct {
	*gomock.Call
}

MockNotifyWatcherKillCall wrap *gomock.Call

func (*MockNotifyWatcherKillCall) Do

Do rewrite *gomock.Call.Do

func (*MockNotifyWatcherKillCall) DoAndReturn

func (c *MockNotifyWatcherKillCall) DoAndReturn(f func()) *MockNotifyWatcherKillCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockNotifyWatcherKillCall) Return

Return rewrite *gomock.Call.Return

type MockNotifyWatcherMockRecorder

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

MockNotifyWatcherMockRecorder is the mock recorder for MockNotifyWatcher.

func (*MockNotifyWatcherMockRecorder) Changes

Changes indicates an expected call of Changes.

func (*MockNotifyWatcherMockRecorder) Kill

Kill indicates an expected call of Kill.

func (*MockNotifyWatcherMockRecorder) Wait

Wait indicates an expected call of Wait.

type MockNotifyWatcherWaitCall

type MockNotifyWatcherWaitCall struct {
	*gomock.Call
}

MockNotifyWatcherWaitCall wrap *gomock.Call

func (*MockNotifyWatcherWaitCall) Do

Do rewrite *gomock.Call.Do

func (*MockNotifyWatcherWaitCall) DoAndReturn

func (c *MockNotifyWatcherWaitCall) DoAndReturn(f func() error) *MockNotifyWatcherWaitCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockNotifyWatcherWaitCall) Return

Return rewrite *gomock.Call.Return

type MockSecretService

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

MockSecretService is a mock of SecretService interface.

func NewMockSecretService

func NewMockSecretService(ctrl *gomock.Controller) *MockSecretService

NewMockSecretService creates a new mock instance.

func (*MockSecretService) DeleteObsoleteUserSecretRevisions

func (m *MockSecretService) DeleteObsoleteUserSecretRevisions(arg0 context.Context) error

DeleteObsoleteUserSecretRevisions mocks base method.

func (*MockSecretService) EXPECT

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

func (*MockSecretService) GetSecret

func (m *MockSecretService) GetSecret(arg0 context.Context, arg1 *secrets.URI) (*secrets.SecretMetadata, error)

GetSecret mocks base method.

func (*MockSecretService) WatchObsoleteUserSecretsToPrune

func (m *MockSecretService) WatchObsoleteUserSecretsToPrune(arg0 context.Context) (watcher.Watcher[struct{}], error)

WatchObsoleteUserSecretsToPrune mocks base method.

type MockSecretServiceDeleteObsoleteUserSecretRevisionsCall

type MockSecretServiceDeleteObsoleteUserSecretRevisionsCall struct {
	*gomock.Call
}

MockSecretServiceDeleteObsoleteUserSecretRevisionsCall wrap *gomock.Call

func (*MockSecretServiceDeleteObsoleteUserSecretRevisionsCall) Do

Do rewrite *gomock.Call.Do

func (*MockSecretServiceDeleteObsoleteUserSecretRevisionsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockSecretServiceDeleteObsoleteUserSecretRevisionsCall) Return

Return rewrite *gomock.Call.Return

type MockSecretServiceGetSecretCall

type MockSecretServiceGetSecretCall struct {
	*gomock.Call
}

MockSecretServiceGetSecretCall wrap *gomock.Call

func (*MockSecretServiceGetSecretCall) Do

Do rewrite *gomock.Call.Do

func (*MockSecretServiceGetSecretCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockSecretServiceGetSecretCall) Return

Return rewrite *gomock.Call.Return

type MockSecretServiceMockRecorder

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

MockSecretServiceMockRecorder is the mock recorder for MockSecretService.

func (*MockSecretServiceMockRecorder) DeleteObsoleteUserSecretRevisions

DeleteObsoleteUserSecretRevisions indicates an expected call of DeleteObsoleteUserSecretRevisions.

func (*MockSecretServiceMockRecorder) GetSecret

GetSecret indicates an expected call of GetSecret.

func (*MockSecretServiceMockRecorder) WatchObsoleteUserSecretsToPrune

WatchObsoleteUserSecretsToPrune indicates an expected call of WatchObsoleteUserSecretsToPrune.

type MockSecretServiceWatchObsoleteUserSecretsToPruneCall

type MockSecretServiceWatchObsoleteUserSecretsToPruneCall struct {
	*gomock.Call
}

MockSecretServiceWatchObsoleteUserSecretsToPruneCall wrap *gomock.Call

func (*MockSecretServiceWatchObsoleteUserSecretsToPruneCall) Do

Do rewrite *gomock.Call.Do

func (*MockSecretServiceWatchObsoleteUserSecretsToPruneCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockSecretServiceWatchObsoleteUserSecretsToPruneCall) Return

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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