mocks

package
v0.15.4 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: Apache-2.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 MockActionAuthorizer

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

MockActionAuthorizer is a mock of ActionAuthorizer interface.

func NewMockActionAuthorizer

func NewMockActionAuthorizer(ctrl *gomock.Controller) *MockActionAuthorizer

NewMockActionAuthorizer creates a new mock instance.

func (*MockActionAuthorizer) AuthorizeAction

func (m *MockActionAuthorizer) AuthorizeAction(arg0 *armadacontext.Context, arg1 permission.Permission) error

AuthorizeAction mocks base method.

func (*MockActionAuthorizer) AuthorizeQueueAction

func (m *MockActionAuthorizer) AuthorizeQueueAction(arg0 *armadacontext.Context, arg1 queue.Queue, arg2 permission.Permission, arg3 queue.PermissionVerb) error

AuthorizeQueueAction mocks base method.

func (*MockActionAuthorizer) EXPECT

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

type MockActionAuthorizerMockRecorder

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

MockActionAuthorizerMockRecorder is the mock recorder for MockActionAuthorizer.

func (*MockActionAuthorizerMockRecorder) AuthorizeAction

func (mr *MockActionAuthorizerMockRecorder) AuthorizeAction(arg0, arg1 interface{}) *gomock.Call

AuthorizeAction indicates an expected call of AuthorizeAction.

func (*MockActionAuthorizerMockRecorder) AuthorizeQueueAction

func (mr *MockActionAuthorizerMockRecorder) AuthorizeQueueAction(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

AuthorizeQueueAction indicates an expected call of AuthorizeQueueAction.

type MockDeduplicator

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

MockDeduplicator is a mock of Deduplicator interface.

func NewMockDeduplicator

func NewMockDeduplicator(ctrl *gomock.Controller) *MockDeduplicator

NewMockDeduplicator creates a new mock instance.

func (*MockDeduplicator) EXPECT

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

func (*MockDeduplicator) GetOriginalJobIds

func (m *MockDeduplicator) GetOriginalJobIds(arg0 *armadacontext.Context, arg1 string, arg2 []*api.JobSubmitRequestItem) (map[string]string, error)

GetOriginalJobIds mocks base method.

func (*MockDeduplicator) StoreOriginalJobIds

func (m *MockDeduplicator) StoreOriginalJobIds(arg0 *armadacontext.Context, arg1 string, arg2 map[string]string) error

StoreOriginalJobIds mocks base method.

type MockDeduplicatorMockRecorder

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

MockDeduplicatorMockRecorder is the mock recorder for MockDeduplicator.

func (*MockDeduplicatorMockRecorder) GetOriginalJobIds

func (mr *MockDeduplicatorMockRecorder) GetOriginalJobIds(arg0, arg1, arg2 interface{}) *gomock.Call

GetOriginalJobIds indicates an expected call of GetOriginalJobIds.

func (*MockDeduplicatorMockRecorder) StoreOriginalJobIds

func (mr *MockDeduplicatorMockRecorder) StoreOriginalJobIds(arg0, arg1, arg2 interface{}) *gomock.Call

StoreOriginalJobIds indicates an expected call of StoreOriginalJobIds.

type MockQueueRepository

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

MockQueueRepository is a mock of QueueRepository interface.

func NewMockQueueRepository

func NewMockQueueRepository(ctrl *gomock.Controller) *MockQueueRepository

NewMockQueueRepository creates a new mock instance.

func (*MockQueueRepository) CordonQueue

func (m *MockQueueRepository) CordonQueue(arg0 *armadacontext.Context, arg1 string) error

CordonQueue mocks base method.

func (*MockQueueRepository) CreateQueue

func (m *MockQueueRepository) CreateQueue(arg0 *armadacontext.Context, arg1 queue.Queue) error

CreateQueue mocks base method.

func (*MockQueueRepository) DeleteQueue

func (m *MockQueueRepository) DeleteQueue(arg0 *armadacontext.Context, arg1 string) error

DeleteQueue mocks base method.

func (*MockQueueRepository) EXPECT

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

func (*MockQueueRepository) GetAllQueues

func (m *MockQueueRepository) GetAllQueues(arg0 *armadacontext.Context) ([]queue.Queue, error)

GetAllQueues mocks base method.

func (*MockQueueRepository) GetQueue

func (m *MockQueueRepository) GetQueue(arg0 *armadacontext.Context, arg1 string) (queue.Queue, error)

GetQueue mocks base method.

func (*MockQueueRepository) UncordonQueue

func (m *MockQueueRepository) UncordonQueue(arg0 *armadacontext.Context, arg1 string) error

UncordonQueue mocks base method.

func (*MockQueueRepository) UpdateQueue

func (m *MockQueueRepository) UpdateQueue(arg0 *armadacontext.Context, arg1 queue.Queue) error

UpdateQueue mocks base method.

type MockQueueRepositoryMockRecorder

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

MockQueueRepositoryMockRecorder is the mock recorder for MockQueueRepository.

func (*MockQueueRepositoryMockRecorder) CordonQueue

func (mr *MockQueueRepositoryMockRecorder) CordonQueue(arg0, arg1 interface{}) *gomock.Call

CordonQueue indicates an expected call of CordonQueue.

func (*MockQueueRepositoryMockRecorder) CreateQueue

func (mr *MockQueueRepositoryMockRecorder) CreateQueue(arg0, arg1 interface{}) *gomock.Call

CreateQueue indicates an expected call of CreateQueue.

func (*MockQueueRepositoryMockRecorder) DeleteQueue

func (mr *MockQueueRepositoryMockRecorder) DeleteQueue(arg0, arg1 interface{}) *gomock.Call

DeleteQueue indicates an expected call of DeleteQueue.

func (*MockQueueRepositoryMockRecorder) GetAllQueues

func (mr *MockQueueRepositoryMockRecorder) GetAllQueues(arg0 interface{}) *gomock.Call

GetAllQueues indicates an expected call of GetAllQueues.

func (*MockQueueRepositoryMockRecorder) GetQueue

func (mr *MockQueueRepositoryMockRecorder) GetQueue(arg0, arg1 interface{}) *gomock.Call

GetQueue indicates an expected call of GetQueue.

func (*MockQueueRepositoryMockRecorder) UncordonQueue

func (mr *MockQueueRepositoryMockRecorder) UncordonQueue(arg0, arg1 interface{}) *gomock.Call

UncordonQueue indicates an expected call of UncordonQueue.

func (*MockQueueRepositoryMockRecorder) UpdateQueue

func (mr *MockQueueRepositoryMockRecorder) UpdateQueue(arg0, arg1 interface{}) *gomock.Call

UpdateQueue indicates an expected call of UpdateQueue.

Jump to

Keyboard shortcuts

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