mocks

package
v0.0.0-...-4308112 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

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 MockLeadershipContext

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

MockLeadershipContext is a mock of LeadershipContext interface.

func NewMockLeadershipContext

func NewMockLeadershipContext(ctrl *gomock.Controller) *MockLeadershipContext

NewMockLeadershipContext creates a new mock instance.

func (*MockLeadershipContext) EXPECT

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

func (*MockLeadershipContext) IsLeader

func (m *MockLeadershipContext) IsLeader() (bool, error)

IsLeader mocks base method.

func (*MockLeadershipContext) LeaderSettings

func (m *MockLeadershipContext) LeaderSettings(arg0 context.Context) (map[string]string, error)

LeaderSettings mocks base method.

func (*MockLeadershipContext) WriteLeaderSettings

func (m *MockLeadershipContext) WriteLeaderSettings(arg0 context.Context, arg1 map[string]string) error

WriteLeaderSettings mocks base method.

type MockLeadershipContextIsLeaderCall

type MockLeadershipContextIsLeaderCall struct {
	*gomock.Call
}

MockLeadershipContextIsLeaderCall wrap *gomock.Call

func (*MockLeadershipContextIsLeaderCall) Do

Do rewrite *gomock.Call.Do

func (*MockLeadershipContextIsLeaderCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLeadershipContextIsLeaderCall) Return

Return rewrite *gomock.Call.Return

type MockLeadershipContextLeaderSettingsCall

type MockLeadershipContextLeaderSettingsCall struct {
	*gomock.Call
}

MockLeadershipContextLeaderSettingsCall wrap *gomock.Call

func (*MockLeadershipContextLeaderSettingsCall) Do

Do rewrite *gomock.Call.Do

func (*MockLeadershipContextLeaderSettingsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLeadershipContextLeaderSettingsCall) Return

Return rewrite *gomock.Call.Return

type MockLeadershipContextMockRecorder

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

MockLeadershipContextMockRecorder is the mock recorder for MockLeadershipContext.

func (*MockLeadershipContextMockRecorder) IsLeader

IsLeader indicates an expected call of IsLeader.

func (*MockLeadershipContextMockRecorder) LeaderSettings

LeaderSettings indicates an expected call of LeaderSettings.

func (*MockLeadershipContextMockRecorder) WriteLeaderSettings

WriteLeaderSettings indicates an expected call of WriteLeaderSettings.

type MockLeadershipContextWriteLeaderSettingsCall

type MockLeadershipContextWriteLeaderSettingsCall struct {
	*gomock.Call
}

MockLeadershipContextWriteLeaderSettingsCall wrap *gomock.Call

func (*MockLeadershipContextWriteLeaderSettingsCall) Do

Do rewrite *gomock.Call.Do

func (*MockLeadershipContextWriteLeaderSettingsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLeadershipContextWriteLeaderSettingsCall) Return

Return rewrite *gomock.Call.Return

type MockOpenedResourceClient

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

MockOpenedResourceClient is a mock of OpenedResourceClient interface.

func NewMockOpenedResourceClient

func NewMockOpenedResourceClient(ctrl *gomock.Controller) *MockOpenedResourceClient

NewMockOpenedResourceClient creates a new mock instance.

func (*MockOpenedResourceClient) EXPECT

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

func (*MockOpenedResourceClient) GetResource

GetResource mocks base method.

type MockOpenedResourceClientGetResourceCall

type MockOpenedResourceClientGetResourceCall struct {
	*gomock.Call
}

MockOpenedResourceClientGetResourceCall wrap *gomock.Call

func (*MockOpenedResourceClientGetResourceCall) Do

Do rewrite *gomock.Call.Do

func (*MockOpenedResourceClientGetResourceCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockOpenedResourceClientGetResourceCall) Return

Return rewrite *gomock.Call.Return

type MockOpenedResourceClientMockRecorder

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

MockOpenedResourceClientMockRecorder is the mock recorder for MockOpenedResourceClient.

func (*MockOpenedResourceClientMockRecorder) GetResource

GetResource indicates an expected call of GetResource.

type MockPayloadAPIClient

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

MockPayloadAPIClient is a mock of PayloadAPIClient interface.

func NewMockPayloadAPIClient

func NewMockPayloadAPIClient(ctrl *gomock.Controller) *MockPayloadAPIClient

NewMockPayloadAPIClient creates a new mock instance.

func (*MockPayloadAPIClient) EXPECT

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

func (*MockPayloadAPIClient) List

func (m *MockPayloadAPIClient) List(arg0 context.Context, arg1 ...string) ([]payloads.Result, error)

List mocks base method.

func (*MockPayloadAPIClient) SetStatus

func (m *MockPayloadAPIClient) SetStatus(arg0 context.Context, arg1 string, arg2 ...string) ([]payloads.Result, error)

SetStatus mocks base method.

func (*MockPayloadAPIClient) Track

Track mocks base method.

func (*MockPayloadAPIClient) Untrack

func (m *MockPayloadAPIClient) Untrack(arg0 context.Context, arg1 ...string) ([]payloads.Result, error)

Untrack mocks base method.

type MockPayloadAPIClientListCall

type MockPayloadAPIClientListCall struct {
	*gomock.Call
}

MockPayloadAPIClientListCall wrap *gomock.Call

func (*MockPayloadAPIClientListCall) Do

Do rewrite *gomock.Call.Do

func (*MockPayloadAPIClientListCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPayloadAPIClientListCall) Return

Return rewrite *gomock.Call.Return

type MockPayloadAPIClientMockRecorder

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

MockPayloadAPIClientMockRecorder is the mock recorder for MockPayloadAPIClient.

func (*MockPayloadAPIClientMockRecorder) List

List indicates an expected call of List.

func (*MockPayloadAPIClientMockRecorder) SetStatus

func (mr *MockPayloadAPIClientMockRecorder) SetStatus(arg0, arg1 any, arg2 ...any) *MockPayloadAPIClientSetStatusCall

SetStatus indicates an expected call of SetStatus.

func (*MockPayloadAPIClientMockRecorder) Track

Track indicates an expected call of Track.

func (*MockPayloadAPIClientMockRecorder) Untrack

Untrack indicates an expected call of Untrack.

type MockPayloadAPIClientSetStatusCall

type MockPayloadAPIClientSetStatusCall struct {
	*gomock.Call
}

MockPayloadAPIClientSetStatusCall wrap *gomock.Call

func (*MockPayloadAPIClientSetStatusCall) Do

Do rewrite *gomock.Call.Do

func (*MockPayloadAPIClientSetStatusCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPayloadAPIClientSetStatusCall) Return

Return rewrite *gomock.Call.Return

type MockPayloadAPIClientTrackCall

type MockPayloadAPIClientTrackCall struct {
	*gomock.Call
}

MockPayloadAPIClientTrackCall wrap *gomock.Call

func (*MockPayloadAPIClientTrackCall) Do

Do rewrite *gomock.Call.Do

func (*MockPayloadAPIClientTrackCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPayloadAPIClientTrackCall) Return

Return rewrite *gomock.Call.Return

type MockPayloadAPIClientUntrackCall

type MockPayloadAPIClientUntrackCall struct {
	*gomock.Call
}

MockPayloadAPIClientUntrackCall wrap *gomock.Call

func (*MockPayloadAPIClientUntrackCall) Do

Do rewrite *gomock.Call.Do

func (*MockPayloadAPIClientUntrackCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPayloadAPIClientUntrackCall) Return

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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