pluginmocks

package
v1.11.2 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2026 License: MIT Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package pluginmocks is a generated GoMock package.

Package pluginmocks is a generated GoMock package.

Package pluginmocks is a generated GoMock package.

Package pluginmocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIInputResolver

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

MockIInputResolver is a mock of IInputResolver interface.

func NewMockIInputResolver

func NewMockIInputResolver(ctrl *gomock.Controller) *MockIInputResolver

NewMockIInputResolver creates a new mock instance.

func (*MockIInputResolver) BindingSatisfied

func (m *MockIInputResolver) BindingSatisfied(ctx context.Context, primary domain.Resource, binding domain.PluginBinding) (bool, error)

BindingSatisfied mocks base method.

func (*MockIInputResolver) EXPECT

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

func (*MockIInputResolver) ListResourcesByIDs

func (m *MockIInputResolver) ListResourcesByIDs(ctx context.Context, fields []string, ids []int64) ([]domain.Resource, error)

ListResourcesByIDs mocks base method.

func (*MockIInputResolver) LoadResource

func (m *MockIInputResolver) LoadResource(ctx context.Context, resourceID int64, fields []string) (domain.Resource, error)

LoadResource mocks base method.

func (*MockIInputResolver) Resolve

Resolve mocks base method.

type MockIInputResolverBindingSatisfiedCall

type MockIInputResolverBindingSatisfiedCall struct {
	*gomock.Call
}

MockIInputResolverBindingSatisfiedCall wrap *gomock.Call

func (*MockIInputResolverBindingSatisfiedCall) Do

Do rewrite *gomock.Call.Do

func (*MockIInputResolverBindingSatisfiedCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIInputResolverBindingSatisfiedCall) Return

Return rewrite *gomock.Call.Return

type MockIInputResolverListResourcesByIDsCall

type MockIInputResolverListResourcesByIDsCall struct {
	*gomock.Call
}

MockIInputResolverListResourcesByIDsCall wrap *gomock.Call

func (*MockIInputResolverListResourcesByIDsCall) Do

Do rewrite *gomock.Call.Do

func (*MockIInputResolverListResourcesByIDsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIInputResolverListResourcesByIDsCall) Return

Return rewrite *gomock.Call.Return

type MockIInputResolverLoadResourceCall

type MockIInputResolverLoadResourceCall struct {
	*gomock.Call
}

MockIInputResolverLoadResourceCall wrap *gomock.Call

func (*MockIInputResolverLoadResourceCall) Do

Do rewrite *gomock.Call.Do

func (*MockIInputResolverLoadResourceCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIInputResolverLoadResourceCall) Return

Return rewrite *gomock.Call.Return

type MockIInputResolverMockRecorder

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

MockIInputResolverMockRecorder is the mock recorder for MockIInputResolver.

func (*MockIInputResolverMockRecorder) BindingSatisfied

func (mr *MockIInputResolverMockRecorder) BindingSatisfied(ctx, primary, binding any) *MockIInputResolverBindingSatisfiedCall

BindingSatisfied indicates an expected call of BindingSatisfied.

func (*MockIInputResolverMockRecorder) ListResourcesByIDs

func (mr *MockIInputResolverMockRecorder) ListResourcesByIDs(ctx, fields, ids any) *MockIInputResolverListResourcesByIDsCall

ListResourcesByIDs indicates an expected call of ListResourcesByIDs.

func (*MockIInputResolverMockRecorder) LoadResource

func (mr *MockIInputResolverMockRecorder) LoadResource(ctx, resourceID, fields any) *MockIInputResolverLoadResourceCall

LoadResource indicates an expected call of LoadResource.

func (*MockIInputResolverMockRecorder) Resolve

func (mr *MockIInputResolverMockRecorder) Resolve(ctx, primary, bg any) *MockIInputResolverResolveCall

Resolve indicates an expected call of Resolve.

type MockIInputResolverResolveCall

type MockIInputResolverResolveCall struct {
	*gomock.Call
}

MockIInputResolverResolveCall wrap *gomock.Call

func (*MockIInputResolverResolveCall) Do

Do rewrite *gomock.Call.Do

func (*MockIInputResolverResolveCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIInputResolverResolveCall) Return

Return rewrite *gomock.Call.Return

type MockISchemaImporter

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

MockISchemaImporter is a mock of ISchemaImporter interface.

func NewMockISchemaImporter

func NewMockISchemaImporter(ctrl *gomock.Controller) *MockISchemaImporter

NewMockISchemaImporter creates a new mock instance.

func (*MockISchemaImporter) EXPECT

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

func (*MockISchemaImporter) ImportSchema

func (m *MockISchemaImporter) ImportSchema(ctx context.Context, schema types.Schema) error

ImportSchema mocks base method.

type MockISchemaImporterImportSchemaCall

type MockISchemaImporterImportSchemaCall struct {
	*gomock.Call
}

MockISchemaImporterImportSchemaCall wrap *gomock.Call

func (*MockISchemaImporterImportSchemaCall) Do

Do rewrite *gomock.Call.Do

func (*MockISchemaImporterImportSchemaCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockISchemaImporterImportSchemaCall) Return

Return rewrite *gomock.Call.Return

type MockISchemaImporterMockRecorder

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

MockISchemaImporterMockRecorder is the mock recorder for MockISchemaImporter.

func (*MockISchemaImporterMockRecorder) ImportSchema

ImportSchema indicates an expected call of ImportSchema.

type MockPluginRepository

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

MockPluginRepository is a mock of PluginRepository interface.

func NewMockPluginRepository

func NewMockPluginRepository(ctrl *gomock.Controller) *MockPluginRepository

NewMockPluginRepository creates a new mock instance.

func (*MockPluginRepository) DeleteBinding

func (m *MockPluginRepository) DeleteBinding(ctx context.Context, uid string) error

DeleteBinding mocks base method.

func (*MockPluginRepository) EXPECT

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

func (*MockPluginRepository) GetBinding

GetBinding mocks base method.

func (*MockPluginRepository) GetPlugin

func (m *MockPluginRepository) GetPlugin(ctx context.Context, uid string) (domain.Plugin, error)

GetPlugin mocks base method.

func (*MockPluginRepository) ListBindingsByPluginID

func (m *MockPluginRepository) ListBindingsByPluginID(ctx context.Context, pluginID string) ([]domain.PluginBinding, error)

ListBindingsByPluginID mocks base method.

func (*MockPluginRepository) ListBindingsByPluginIDs

func (m *MockPluginRepository) ListBindingsByPluginIDs(ctx context.Context, pluginIDs []string) ([]domain.PluginBinding, error)

ListBindingsByPluginIDs mocks base method.

func (*MockPluginRepository) ListEnabledBindingsByModelUID

func (m *MockPluginRepository) ListEnabledBindingsByModelUID(ctx context.Context, modelUID string) ([]domain.PluginBinding, error)

ListEnabledBindingsByModelUID mocks base method.

func (*MockPluginRepository) ListEnabledBindingsByModelUIDs

func (m *MockPluginRepository) ListEnabledBindingsByModelUIDs(ctx context.Context, modelUIDs []string) ([]domain.PluginBinding, error)

ListEnabledBindingsByModelUIDs mocks base method.

func (*MockPluginRepository) ListPlugins

func (m *MockPluginRepository) ListPlugins(ctx context.Context) ([]domain.Plugin, error)

ListPlugins mocks base method.

func (*MockPluginRepository) UpdateBindingEnabled

func (m *MockPluginRepository) UpdateBindingEnabled(ctx context.Context, uid string, enabled bool) error

UpdateBindingEnabled mocks base method.

func (*MockPluginRepository) UpsertBinding

func (m *MockPluginRepository) UpsertBinding(ctx context.Context, b domain.PluginBinding) error

UpsertBinding mocks base method.

func (*MockPluginRepository) UpsertPlugin

func (m *MockPluginRepository) UpsertPlugin(ctx context.Context, p domain.Plugin) error

UpsertPlugin mocks base method.

type MockPluginRepositoryDeleteBindingCall

type MockPluginRepositoryDeleteBindingCall struct {
	*gomock.Call
}

MockPluginRepositoryDeleteBindingCall wrap *gomock.Call

func (*MockPluginRepositoryDeleteBindingCall) Do

Do rewrite *gomock.Call.Do

func (*MockPluginRepositoryDeleteBindingCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPluginRepositoryDeleteBindingCall) Return

Return rewrite *gomock.Call.Return

type MockPluginRepositoryGetBindingCall

type MockPluginRepositoryGetBindingCall struct {
	*gomock.Call
}

MockPluginRepositoryGetBindingCall wrap *gomock.Call

func (*MockPluginRepositoryGetBindingCall) Do

Do rewrite *gomock.Call.Do

func (*MockPluginRepositoryGetBindingCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPluginRepositoryGetBindingCall) Return

Return rewrite *gomock.Call.Return

type MockPluginRepositoryGetPluginCall

type MockPluginRepositoryGetPluginCall struct {
	*gomock.Call
}

MockPluginRepositoryGetPluginCall wrap *gomock.Call

func (*MockPluginRepositoryGetPluginCall) Do

Do rewrite *gomock.Call.Do

func (*MockPluginRepositoryGetPluginCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPluginRepositoryGetPluginCall) Return

Return rewrite *gomock.Call.Return

type MockPluginRepositoryListBindingsByPluginIDCall

type MockPluginRepositoryListBindingsByPluginIDCall struct {
	*gomock.Call
}

MockPluginRepositoryListBindingsByPluginIDCall wrap *gomock.Call

func (*MockPluginRepositoryListBindingsByPluginIDCall) Do

Do rewrite *gomock.Call.Do

func (*MockPluginRepositoryListBindingsByPluginIDCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPluginRepositoryListBindingsByPluginIDCall) Return

Return rewrite *gomock.Call.Return

type MockPluginRepositoryListBindingsByPluginIDsCall

type MockPluginRepositoryListBindingsByPluginIDsCall struct {
	*gomock.Call
}

MockPluginRepositoryListBindingsByPluginIDsCall wrap *gomock.Call

func (*MockPluginRepositoryListBindingsByPluginIDsCall) Do

Do rewrite *gomock.Call.Do

func (*MockPluginRepositoryListBindingsByPluginIDsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPluginRepositoryListBindingsByPluginIDsCall) Return

Return rewrite *gomock.Call.Return

type MockPluginRepositoryListEnabledBindingsByModelUIDCall

type MockPluginRepositoryListEnabledBindingsByModelUIDCall struct {
	*gomock.Call
}

MockPluginRepositoryListEnabledBindingsByModelUIDCall wrap *gomock.Call

func (*MockPluginRepositoryListEnabledBindingsByModelUIDCall) Do

Do rewrite *gomock.Call.Do

func (*MockPluginRepositoryListEnabledBindingsByModelUIDCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPluginRepositoryListEnabledBindingsByModelUIDCall) Return

Return rewrite *gomock.Call.Return

type MockPluginRepositoryListEnabledBindingsByModelUIDsCall

type MockPluginRepositoryListEnabledBindingsByModelUIDsCall struct {
	*gomock.Call
}

MockPluginRepositoryListEnabledBindingsByModelUIDsCall wrap *gomock.Call

func (*MockPluginRepositoryListEnabledBindingsByModelUIDsCall) Do

Do rewrite *gomock.Call.Do

func (*MockPluginRepositoryListEnabledBindingsByModelUIDsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPluginRepositoryListEnabledBindingsByModelUIDsCall) Return

Return rewrite *gomock.Call.Return

type MockPluginRepositoryListPluginsCall

type MockPluginRepositoryListPluginsCall struct {
	*gomock.Call
}

MockPluginRepositoryListPluginsCall wrap *gomock.Call

func (*MockPluginRepositoryListPluginsCall) Do

Do rewrite *gomock.Call.Do

func (*MockPluginRepositoryListPluginsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPluginRepositoryListPluginsCall) Return

Return rewrite *gomock.Call.Return

type MockPluginRepositoryMockRecorder

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

MockPluginRepositoryMockRecorder is the mock recorder for MockPluginRepository.

func (*MockPluginRepositoryMockRecorder) DeleteBinding

DeleteBinding indicates an expected call of DeleteBinding.

func (*MockPluginRepositoryMockRecorder) GetBinding

GetBinding indicates an expected call of GetBinding.

func (*MockPluginRepositoryMockRecorder) GetPlugin

GetPlugin indicates an expected call of GetPlugin.

func (*MockPluginRepositoryMockRecorder) ListBindingsByPluginID

func (mr *MockPluginRepositoryMockRecorder) ListBindingsByPluginID(ctx, pluginID any) *MockPluginRepositoryListBindingsByPluginIDCall

ListBindingsByPluginID indicates an expected call of ListBindingsByPluginID.

func (*MockPluginRepositoryMockRecorder) ListBindingsByPluginIDs

func (mr *MockPluginRepositoryMockRecorder) ListBindingsByPluginIDs(ctx, pluginIDs any) *MockPluginRepositoryListBindingsByPluginIDsCall

ListBindingsByPluginIDs indicates an expected call of ListBindingsByPluginIDs.

func (*MockPluginRepositoryMockRecorder) ListEnabledBindingsByModelUID

func (mr *MockPluginRepositoryMockRecorder) ListEnabledBindingsByModelUID(ctx, modelUID any) *MockPluginRepositoryListEnabledBindingsByModelUIDCall

ListEnabledBindingsByModelUID indicates an expected call of ListEnabledBindingsByModelUID.

func (*MockPluginRepositoryMockRecorder) ListEnabledBindingsByModelUIDs

func (mr *MockPluginRepositoryMockRecorder) ListEnabledBindingsByModelUIDs(ctx, modelUIDs any) *MockPluginRepositoryListEnabledBindingsByModelUIDsCall

ListEnabledBindingsByModelUIDs indicates an expected call of ListEnabledBindingsByModelUIDs.

func (*MockPluginRepositoryMockRecorder) ListPlugins

ListPlugins indicates an expected call of ListPlugins.

func (*MockPluginRepositoryMockRecorder) UpdateBindingEnabled

func (mr *MockPluginRepositoryMockRecorder) UpdateBindingEnabled(ctx, uid, enabled any) *MockPluginRepositoryUpdateBindingEnabledCall

UpdateBindingEnabled indicates an expected call of UpdateBindingEnabled.

func (*MockPluginRepositoryMockRecorder) UpsertBinding

UpsertBinding indicates an expected call of UpsertBinding.

func (*MockPluginRepositoryMockRecorder) UpsertPlugin

UpsertPlugin indicates an expected call of UpsertPlugin.

type MockPluginRepositoryUpdateBindingEnabledCall

type MockPluginRepositoryUpdateBindingEnabledCall struct {
	*gomock.Call
}

MockPluginRepositoryUpdateBindingEnabledCall wrap *gomock.Call

func (*MockPluginRepositoryUpdateBindingEnabledCall) Do

Do rewrite *gomock.Call.Do

func (*MockPluginRepositoryUpdateBindingEnabledCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPluginRepositoryUpdateBindingEnabledCall) Return

Return rewrite *gomock.Call.Return

type MockPluginRepositoryUpsertBindingCall

type MockPluginRepositoryUpsertBindingCall struct {
	*gomock.Call
}

MockPluginRepositoryUpsertBindingCall wrap *gomock.Call

func (*MockPluginRepositoryUpsertBindingCall) Do

Do rewrite *gomock.Call.Do

func (*MockPluginRepositoryUpsertBindingCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPluginRepositoryUpsertBindingCall) Return

Return rewrite *gomock.Call.Return

type MockPluginRepositoryUpsertPluginCall

type MockPluginRepositoryUpsertPluginCall struct {
	*gomock.Call
}

MockPluginRepositoryUpsertPluginCall wrap *gomock.Call

func (*MockPluginRepositoryUpsertPluginCall) Do

Do rewrite *gomock.Call.Do

func (*MockPluginRepositoryUpsertPluginCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPluginRepositoryUpsertPluginCall) Return

Return rewrite *gomock.Call.Return

type MockService

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

MockService is a mock of Service interface.

func NewMockService

func NewMockService(ctrl *gomock.Controller) *MockService

NewMockService creates a new mock instance.

func (*MockService) DeleteBinding

func (m *MockService) DeleteBinding(ctx context.Context, uid string) error

DeleteBinding mocks base method.

func (*MockService) EXPECT

func (m *MockService) EXPECT() *MockServiceMockRecorder

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

func (*MockService) GetActionRuntime

func (m *MockService) GetActionRuntime(ctx context.Context, pluginID, action string) (domain.Plugin, types.ActionSpec, error)

GetActionRuntime mocks base method.

func (*MockService) GetDefaultDefinition

func (m *MockService) GetDefaultDefinition(ctx context.Context, pluginID string) (plugin.Definition, error)

GetDefaultDefinition mocks base method.

func (*MockService) GetPluginDetail

func (m *MockService) GetPluginDetail(ctx context.Context, uid string) (domain.PluginDetail, error)

GetPluginDetail mocks base method.

func (*MockService) ImportDefinition

func (m *MockService) ImportDefinition(ctx context.Context, def plugin.Definition) error

ImportDefinition mocks base method.

func (*MockService) ListEnums

ListEnums mocks base method.

func (*MockService) ListPlugins

func (m *MockService) ListPlugins(ctx context.Context) ([]domain.PluginListItem, error)

ListPlugins mocks base method.

func (*MockService) ListResourceActionsBatch

func (m *MockService) ListResourceActionsBatch(ctx context.Context, resourceIDs []int64) ([]types.ResourceActions, error)

ListResourceActionsBatch mocks base method.

func (*MockService) ResolveAction

func (m *MockService) ResolveAction(ctx context.Context, req types.ResolveRequest) (types.ResolveResult, error)

ResolveAction mocks base method.

func (*MockService) ResolveActionContext

func (m *MockService) ResolveActionContext(ctx context.Context, req types.ResolveRequest) (types.ActionContext, error)

ResolveActionContext mocks base method.

func (*MockService) SaveBindings

func (m *MockService) SaveBindings(ctx context.Context, req domain.SavePluginBindings) error

SaveBindings mocks base method.

func (*MockService) ToggleBindingStatus

func (m *MockService) ToggleBindingStatus(ctx context.Context, uid string) (bool, error)

ToggleBindingStatus mocks base method.

type MockServiceDeleteBindingCall

type MockServiceDeleteBindingCall struct {
	*gomock.Call
}

MockServiceDeleteBindingCall wrap *gomock.Call

func (*MockServiceDeleteBindingCall) Do

Do rewrite *gomock.Call.Do

func (*MockServiceDeleteBindingCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockServiceDeleteBindingCall) Return

Return rewrite *gomock.Call.Return

type MockServiceGetActionRuntimeCall

type MockServiceGetActionRuntimeCall struct {
	*gomock.Call
}

MockServiceGetActionRuntimeCall wrap *gomock.Call

func (*MockServiceGetActionRuntimeCall) Do

Do rewrite *gomock.Call.Do

func (*MockServiceGetActionRuntimeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockServiceGetActionRuntimeCall) Return

Return rewrite *gomock.Call.Return

type MockServiceGetDefaultDefinitionCall

type MockServiceGetDefaultDefinitionCall struct {
	*gomock.Call
}

MockServiceGetDefaultDefinitionCall wrap *gomock.Call

func (*MockServiceGetDefaultDefinitionCall) Do

Do rewrite *gomock.Call.Do

func (*MockServiceGetDefaultDefinitionCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockServiceGetDefaultDefinitionCall) Return

Return rewrite *gomock.Call.Return

type MockServiceGetPluginDetailCall

type MockServiceGetPluginDetailCall struct {
	*gomock.Call
}

MockServiceGetPluginDetailCall wrap *gomock.Call

func (*MockServiceGetPluginDetailCall) Do

Do rewrite *gomock.Call.Do

func (*MockServiceGetPluginDetailCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockServiceGetPluginDetailCall) Return

Return rewrite *gomock.Call.Return

type MockServiceImportDefinitionCall

type MockServiceImportDefinitionCall struct {
	*gomock.Call
}

MockServiceImportDefinitionCall wrap *gomock.Call

func (*MockServiceImportDefinitionCall) Do

Do rewrite *gomock.Call.Do

func (*MockServiceImportDefinitionCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockServiceImportDefinitionCall) Return

Return rewrite *gomock.Call.Return

type MockServiceListEnumsCall

type MockServiceListEnumsCall struct {
	*gomock.Call
}

MockServiceListEnumsCall wrap *gomock.Call

func (*MockServiceListEnumsCall) Do

Do rewrite *gomock.Call.Do

func (*MockServiceListEnumsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockServiceListEnumsCall) Return

Return rewrite *gomock.Call.Return

type MockServiceListPluginsCall

type MockServiceListPluginsCall struct {
	*gomock.Call
}

MockServiceListPluginsCall wrap *gomock.Call

func (*MockServiceListPluginsCall) Do

Do rewrite *gomock.Call.Do

func (*MockServiceListPluginsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockServiceListPluginsCall) Return

Return rewrite *gomock.Call.Return

type MockServiceListResourceActionsBatchCall

type MockServiceListResourceActionsBatchCall struct {
	*gomock.Call
}

MockServiceListResourceActionsBatchCall wrap *gomock.Call

func (*MockServiceListResourceActionsBatchCall) Do

Do rewrite *gomock.Call.Do

func (*MockServiceListResourceActionsBatchCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockServiceListResourceActionsBatchCall) Return

Return rewrite *gomock.Call.Return

type MockServiceMockRecorder

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

MockServiceMockRecorder is the mock recorder for MockService.

func (*MockServiceMockRecorder) DeleteBinding

func (mr *MockServiceMockRecorder) DeleteBinding(ctx, uid any) *MockServiceDeleteBindingCall

DeleteBinding indicates an expected call of DeleteBinding.

func (*MockServiceMockRecorder) GetActionRuntime

func (mr *MockServiceMockRecorder) GetActionRuntime(ctx, pluginID, action any) *MockServiceGetActionRuntimeCall

GetActionRuntime indicates an expected call of GetActionRuntime.

func (*MockServiceMockRecorder) GetDefaultDefinition

func (mr *MockServiceMockRecorder) GetDefaultDefinition(ctx, pluginID any) *MockServiceGetDefaultDefinitionCall

GetDefaultDefinition indicates an expected call of GetDefaultDefinition.

func (*MockServiceMockRecorder) GetPluginDetail

func (mr *MockServiceMockRecorder) GetPluginDetail(ctx, uid any) *MockServiceGetPluginDetailCall

GetPluginDetail indicates an expected call of GetPluginDetail.

func (*MockServiceMockRecorder) ImportDefinition

func (mr *MockServiceMockRecorder) ImportDefinition(ctx, def any) *MockServiceImportDefinitionCall

ImportDefinition indicates an expected call of ImportDefinition.

func (*MockServiceMockRecorder) ListEnums

ListEnums indicates an expected call of ListEnums.

func (*MockServiceMockRecorder) ListPlugins

ListPlugins indicates an expected call of ListPlugins.

func (*MockServiceMockRecorder) ListResourceActionsBatch

func (mr *MockServiceMockRecorder) ListResourceActionsBatch(ctx, resourceIDs any) *MockServiceListResourceActionsBatchCall

ListResourceActionsBatch indicates an expected call of ListResourceActionsBatch.

func (*MockServiceMockRecorder) ResolveAction

func (mr *MockServiceMockRecorder) ResolveAction(ctx, req any) *MockServiceResolveActionCall

ResolveAction indicates an expected call of ResolveAction.

func (*MockServiceMockRecorder) ResolveActionContext

func (mr *MockServiceMockRecorder) ResolveActionContext(ctx, req any) *MockServiceResolveActionContextCall

ResolveActionContext indicates an expected call of ResolveActionContext.

func (*MockServiceMockRecorder) SaveBindings

func (mr *MockServiceMockRecorder) SaveBindings(ctx, req any) *MockServiceSaveBindingsCall

SaveBindings indicates an expected call of SaveBindings.

func (*MockServiceMockRecorder) ToggleBindingStatus

func (mr *MockServiceMockRecorder) ToggleBindingStatus(ctx, uid any) *MockServiceToggleBindingStatusCall

ToggleBindingStatus indicates an expected call of ToggleBindingStatus.

type MockServiceResolveActionCall

type MockServiceResolveActionCall struct {
	*gomock.Call
}

MockServiceResolveActionCall wrap *gomock.Call

func (*MockServiceResolveActionCall) Do

Do rewrite *gomock.Call.Do

func (*MockServiceResolveActionCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockServiceResolveActionCall) Return

Return rewrite *gomock.Call.Return

type MockServiceResolveActionContextCall

type MockServiceResolveActionContextCall struct {
	*gomock.Call
}

MockServiceResolveActionContextCall wrap *gomock.Call

func (*MockServiceResolveActionContextCall) Do

Do rewrite *gomock.Call.Do

func (*MockServiceResolveActionContextCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockServiceResolveActionContextCall) Return

Return rewrite *gomock.Call.Return

type MockServiceSaveBindingsCall

type MockServiceSaveBindingsCall struct {
	*gomock.Call
}

MockServiceSaveBindingsCall wrap *gomock.Call

func (*MockServiceSaveBindingsCall) Do

Do rewrite *gomock.Call.Do

func (*MockServiceSaveBindingsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockServiceSaveBindingsCall) Return

Return rewrite *gomock.Call.Return

type MockServiceToggleBindingStatusCall

type MockServiceToggleBindingStatusCall struct {
	*gomock.Call
}

MockServiceToggleBindingStatusCall wrap *gomock.Call

func (*MockServiceToggleBindingStatusCall) Do

Do rewrite *gomock.Call.Do

func (*MockServiceToggleBindingStatusCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockServiceToggleBindingStatusCall) Return

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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