mocks

package
v0.15.14 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: AGPL-3.0 Imports: 8 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.

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 MockAccessRuleService

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

MockAccessRuleService is a mock of AccessRuleService interface.

func NewMockAccessRuleService

func NewMockAccessRuleService(ctrl *gomock.Controller) *MockAccessRuleService

NewMockAccessRuleService creates a new mock instance.

func (*MockAccessRuleService) EXPECT

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

func (*MockAccessRuleService) RequestArguments

func (m *MockAccessRuleService) RequestArguments(arg0 context.Context, arg1 rule.Target) (map[string]types.RequestArgument, error)

RequestArguments mocks base method.

type MockAccessRuleServiceMockRecorder

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

MockAccessRuleServiceMockRecorder is the mock recorder for MockAccessRuleService.

func (*MockAccessRuleServiceMockRecorder) RequestArguments

func (mr *MockAccessRuleServiceMockRecorder) RequestArguments(arg0, arg1 interface{}) *gomock.Call

RequestArguments indicates an expected call of RequestArguments.

type MockCacheService

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

MockCacheService is a mock of CacheService interface.

func NewMockCacheService

func NewMockCacheService(ctrl *gomock.Controller) *MockCacheService

NewMockCacheService creates a new mock instance.

func (*MockCacheService) EXPECT

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

func (*MockCacheService) LoadCachedProviderArgOptions

func (m *MockCacheService) LoadCachedProviderArgOptions(arg0 context.Context, arg1, arg2 string) (bool, []cache.ProviderOption, []cache.ProviderArgGroupOption, error)

LoadCachedProviderArgOptions mocks base method.

func (*MockCacheService) RefreshCachedProviderArgOptions

func (m *MockCacheService) RefreshCachedProviderArgOptions(arg0 context.Context, arg1, arg2 string) (bool, []cache.ProviderOption, []cache.ProviderArgGroupOption, error)

RefreshCachedProviderArgOptions mocks base method.

type MockCacheServiceMockRecorder

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

MockCacheServiceMockRecorder is the mock recorder for MockCacheService.

func (*MockCacheServiceMockRecorder) LoadCachedProviderArgOptions

func (mr *MockCacheServiceMockRecorder) LoadCachedProviderArgOptions(arg0, arg1, arg2 interface{}) *gomock.Call

LoadCachedProviderArgOptions indicates an expected call of LoadCachedProviderArgOptions.

func (*MockCacheServiceMockRecorder) RefreshCachedProviderArgOptions

func (mr *MockCacheServiceMockRecorder) RefreshCachedProviderArgOptions(arg0, arg1, arg2 interface{}) *gomock.Call

RefreshCachedProviderArgOptions indicates an expected call of RefreshCachedProviderArgOptions.

type MockEventPutter

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

MockEventPutter is a mock of EventPutter interface.

func NewMockEventPutter

func NewMockEventPutter(ctrl *gomock.Controller) *MockEventPutter

NewMockEventPutter creates a new mock instance.

func (*MockEventPutter) EXPECT

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

func (*MockEventPutter) Put

Put mocks base method.

type MockEventPutterMockRecorder

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

MockEventPutterMockRecorder is the mock recorder for MockEventPutter.

func (*MockEventPutterMockRecorder) Put

func (mr *MockEventPutterMockRecorder) Put(arg0, arg1 interface{}) *gomock.Call

Put indicates an expected call of Put.

type MockWorkflow added in v0.15.0

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

MockWorkflow is a mock of Workflow interface.

func NewMockWorkflow added in v0.15.0

func NewMockWorkflow(ctrl *gomock.Controller) *MockWorkflow

NewMockWorkflow creates a new mock instance.

func (*MockWorkflow) EXPECT added in v0.15.0

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

func (*MockWorkflow) Grant added in v0.15.0

func (m *MockWorkflow) Grant(arg0 context.Context, arg1 access.Request, arg2 rule.AccessRule) (*access.Grant, error)

Grant mocks base method.

type MockWorkflowMockRecorder added in v0.15.0

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

MockWorkflowMockRecorder is the mock recorder for MockWorkflow.

func (*MockWorkflowMockRecorder) Grant added in v0.15.0

func (mr *MockWorkflowMockRecorder) Grant(arg0, arg1, arg2 interface{}) *gomock.Call

Grant indicates an expected call of Grant.

Jump to

Keyboard shortcuts

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