mocks

package
v0.14.7 Latest Latest
Warning

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

Go to latest
Published: May 3, 2023 License: AGPL-3.0 Imports: 13 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.

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) ArchiveAccessRule

func (m *MockAccessRuleService) ArchiveAccessRule(arg0 context.Context, arg1 string, arg2 rule.AccessRule) (*rule.AccessRule, error)

ArchiveAccessRule mocks base method.

func (*MockAccessRuleService) CreateAccessRule

func (m *MockAccessRuleService) CreateAccessRule(arg0 context.Context, arg1 string, arg2 types.CreateAccessRuleRequest) (*rule.AccessRule, error)

CreateAccessRule mocks base method.

func (*MockAccessRuleService) EXPECT

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

func (*MockAccessRuleService) GetRule

func (m *MockAccessRuleService) GetRule(arg0 context.Context, arg1 string, arg2 *identity.User, arg3 bool) (*rule.GetAccessRuleResponse, error)

GetRule mocks base method.

func (*MockAccessRuleService) LookupRule

LookupRule mocks base method.

func (*MockAccessRuleService) RequestArguments

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

RequestArguments mocks base method.

func (*MockAccessRuleService) UpdateRule

UpdateRule mocks base method.

type MockAccessRuleServiceMockRecorder

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

MockAccessRuleServiceMockRecorder is the mock recorder for MockAccessRuleService.

func (*MockAccessRuleServiceMockRecorder) ArchiveAccessRule

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

ArchiveAccessRule indicates an expected call of ArchiveAccessRule.

func (*MockAccessRuleServiceMockRecorder) CreateAccessRule

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

CreateAccessRule indicates an expected call of CreateAccessRule.

func (*MockAccessRuleServiceMockRecorder) GetRule

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

GetRule indicates an expected call of GetRule.

func (*MockAccessRuleServiceMockRecorder) LookupRule

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

LookupRule indicates an expected call of LookupRule.

func (*MockAccessRuleServiceMockRecorder) RequestArguments

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

RequestArguments indicates an expected call of RequestArguments.

func (*MockAccessRuleServiceMockRecorder) UpdateRule

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

UpdateRule indicates an expected call of UpdateRule.

type MockAccessService

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

MockAccessService is a mock of AccessService interface.

func NewMockAccessService

func NewMockAccessService(ctrl *gomock.Controller) *MockAccessService

NewMockAccessService creates a new mock instance.

func (*MockAccessService) AddReviewAndGrantAccess

func (m *MockAccessService) AddReviewAndGrantAccess(arg0 context.Context, arg1 accesssvc.AddReviewOpts) (*accesssvc.AddReviewResult, error)

AddReviewAndGrantAccess mocks base method.

func (*MockAccessService) CancelRequest

func (m *MockAccessService) CancelRequest(arg0 context.Context, arg1 accesssvc.CancelRequestOpts) error

CancelRequest mocks base method.

func (*MockAccessService) CreateFavorite

CreateFavorite mocks base method.

func (*MockAccessService) CreateRequests

CreateRequests mocks base method.

func (*MockAccessService) EXPECT

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

func (*MockAccessService) UpdateFavorite

UpdateFavorite mocks base method.

type MockAccessServiceMockRecorder

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

MockAccessServiceMockRecorder is the mock recorder for MockAccessService.

func (*MockAccessServiceMockRecorder) AddReviewAndGrantAccess

func (mr *MockAccessServiceMockRecorder) AddReviewAndGrantAccess(arg0, arg1 interface{}) *gomock.Call

AddReviewAndGrantAccess indicates an expected call of AddReviewAndGrantAccess.

func (*MockAccessServiceMockRecorder) CancelRequest

func (mr *MockAccessServiceMockRecorder) CancelRequest(arg0, arg1 interface{}) *gomock.Call

CancelRequest indicates an expected call of CancelRequest.

func (*MockAccessServiceMockRecorder) CreateFavorite

func (mr *MockAccessServiceMockRecorder) CreateFavorite(arg0, arg1 interface{}) *gomock.Call

CreateFavorite indicates an expected call of CreateFavorite.

func (*MockAccessServiceMockRecorder) CreateRequests

func (mr *MockAccessServiceMockRecorder) CreateRequests(arg0, arg1 interface{}) *gomock.Call

CreateRequests indicates an expected call of CreateRequests.

func (*MockAccessServiceMockRecorder) UpdateFavorite

func (mr *MockAccessServiceMockRecorder) UpdateFavorite(arg0, arg1 interface{}) *gomock.Call

UpdateFavorite indicates an expected call of UpdateFavorite.

type MockCognitoService

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

MockCognitoService is a mock of CognitoService interface.

func NewMockCognitoService

func NewMockCognitoService(ctrl *gomock.Controller) *MockCognitoService

NewMockCognitoService creates a new mock instance.

func (*MockCognitoService) AdminCreateUser added in v0.12.0

func (m *MockCognitoService) AdminCreateUser(arg0 context.Context, arg1 cognitosvc.CreateUserOpts) (*identity.User, error)

AdminCreateUser mocks base method.

func (*MockCognitoService) AdminUpdateUserGroups added in v0.12.0

func (m *MockCognitoService) AdminUpdateUserGroups(arg0 context.Context, arg1 cognitosvc.UpdateUserGroupsOpts) (*identity.User, error)

AdminUpdateUserGroups mocks base method.

func (*MockCognitoService) EXPECT

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

type MockCognitoServiceMockRecorder

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

MockCognitoServiceMockRecorder is the mock recorder for MockCognitoService.

func (*MockCognitoServiceMockRecorder) AdminCreateUser added in v0.12.0

func (mr *MockCognitoServiceMockRecorder) AdminCreateUser(arg0, arg1 interface{}) *gomock.Call

AdminCreateUser indicates an expected call of AdminCreateUser.

func (*MockCognitoServiceMockRecorder) AdminUpdateUserGroups added in v0.12.0

func (mr *MockCognitoServiceMockRecorder) AdminUpdateUserGroups(arg0, arg1 interface{}) *gomock.Call

AdminUpdateUserGroups indicates an expected call of AdminUpdateUserGroups.

type MockInternalIdentityService

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

MockInternalIdentityService is a mock of InternalIdentityService interface.

func NewMockInternalIdentityService

func NewMockInternalIdentityService(ctrl *gomock.Controller) *MockInternalIdentityService

NewMockInternalIdentityService creates a new mock instance.

func (*MockInternalIdentityService) CreateGroup

CreateGroup mocks base method.

func (*MockInternalIdentityService) DeleteGroup

func (m *MockInternalIdentityService) DeleteGroup(arg0 context.Context, arg1 identity.Group) error

DeleteGroup mocks base method.

func (*MockInternalIdentityService) EXPECT

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

func (*MockInternalIdentityService) UpdateGroup

UpdateGroup mocks base method.

func (*MockInternalIdentityService) UpdateUserGroups

func (m *MockInternalIdentityService) UpdateUserGroups(arg0 context.Context, arg1 identity.User, arg2 []string) (*identity.User, error)

UpdateUserGroups mocks base method.

type MockInternalIdentityServiceMockRecorder

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

MockInternalIdentityServiceMockRecorder is the mock recorder for MockInternalIdentityService.

func (*MockInternalIdentityServiceMockRecorder) CreateGroup

func (mr *MockInternalIdentityServiceMockRecorder) CreateGroup(arg0, arg1 interface{}) *gomock.Call

CreateGroup indicates an expected call of CreateGroup.

func (*MockInternalIdentityServiceMockRecorder) DeleteGroup

func (mr *MockInternalIdentityServiceMockRecorder) DeleteGroup(arg0, arg1 interface{}) *gomock.Call

DeleteGroup indicates an expected call of DeleteGroup.

func (*MockInternalIdentityServiceMockRecorder) UpdateGroup

func (mr *MockInternalIdentityServiceMockRecorder) UpdateGroup(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateGroup indicates an expected call of UpdateGroup.

func (*MockInternalIdentityServiceMockRecorder) UpdateUserGroups

func (mr *MockInternalIdentityServiceMockRecorder) UpdateUserGroups(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateUserGroups indicates an expected call of UpdateUserGroups.

type MockProviderSetupService

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

MockProviderSetupService is a mock of ProviderSetupService interface.

func NewMockProviderSetupService

func NewMockProviderSetupService(ctrl *gomock.Controller) *MockProviderSetupService

NewMockProviderSetupService creates a new mock instance.

func (*MockProviderSetupService) CompleteStep

CompleteStep mocks base method.

func (*MockProviderSetupService) Create

Create mocks base method.

func (*MockProviderSetupService) EXPECT

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

type MockProviderSetupServiceMockRecorder

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

MockProviderSetupServiceMockRecorder is the mock recorder for MockProviderSetupService.

func (*MockProviderSetupServiceMockRecorder) CompleteStep

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

CompleteStep indicates an expected call of CompleteStep.

func (*MockProviderSetupServiceMockRecorder) Create

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

Create indicates an expected call of Create.

Jump to

Keyboard shortcuts

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