mocks

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

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 MockAuthService added in v1.2.0

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

MockAuthService is a mock of AuthService interface.

func NewMockAuthService added in v1.2.0

func NewMockAuthService(ctrl *gomock.Controller) *MockAuthService

NewMockAuthService creates a new mock instance.

func (*MockAuthService) Artifact added in v1.2.0

func (m *MockAuthService) Artifact(arg0 models.User, arg1 int64, arg2 enums.Auth) (bool, error)

Artifact mocks base method.

func (*MockAuthService) EXPECT added in v1.2.0

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

func (*MockAuthService) Namespace added in v1.2.0

func (m *MockAuthService) Namespace(arg0 models.User, arg1 int64, arg2 enums.Auth) (bool, error)

Namespace mocks base method.

func (*MockAuthService) NamespaceRole added in v1.2.0

func (m *MockAuthService) NamespaceRole(arg0 models.User, arg1 int64) (*enums.NamespaceRole, error)

NamespaceRole mocks base method.

func (*MockAuthService) NamespacesRole added in v1.2.0

func (m *MockAuthService) NamespacesRole(arg0 models.User, arg1 []int64) (map[int64]*enums.NamespaceRole, error)

NamespacesRole mocks base method.

func (*MockAuthService) Repository added in v1.2.0

func (m *MockAuthService) Repository(arg0 models.User, arg1 int64, arg2 enums.Auth) (bool, error)

Repository mocks base method.

func (*MockAuthService) Tag added in v1.2.0

func (m *MockAuthService) Tag(arg0 models.User, arg1 int64, arg2 enums.Auth) (bool, error)

Tag mocks base method.

type MockAuthServiceFactory added in v1.2.0

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

MockAuthServiceFactory is a mock of AuthServiceFactory interface.

func NewMockAuthServiceFactory added in v1.2.0

func NewMockAuthServiceFactory(ctrl *gomock.Controller) *MockAuthServiceFactory

NewMockAuthServiceFactory creates a new mock instance.

func (*MockAuthServiceFactory) EXPECT added in v1.2.0

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

func (*MockAuthServiceFactory) New added in v1.2.0

New mocks base method.

type MockAuthServiceFactoryMockRecorder added in v1.2.0

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

MockAuthServiceFactoryMockRecorder is the mock recorder for MockAuthServiceFactory.

func (*MockAuthServiceFactoryMockRecorder) New added in v1.2.0

New indicates an expected call of New.

type MockAuthServiceMockRecorder added in v1.2.0

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

MockAuthServiceMockRecorder is the mock recorder for MockAuthService.

func (*MockAuthServiceMockRecorder) Artifact added in v1.2.0

func (mr *MockAuthServiceMockRecorder) Artifact(arg0, arg1, arg2 any) *gomock.Call

Artifact indicates an expected call of Artifact.

func (*MockAuthServiceMockRecorder) Namespace added in v1.2.0

func (mr *MockAuthServiceMockRecorder) Namespace(arg0, arg1, arg2 any) *gomock.Call

Namespace indicates an expected call of Namespace.

func (*MockAuthServiceMockRecorder) NamespaceRole added in v1.2.0

func (mr *MockAuthServiceMockRecorder) NamespaceRole(arg0, arg1 any) *gomock.Call

NamespaceRole indicates an expected call of NamespaceRole.

func (*MockAuthServiceMockRecorder) NamespacesRole added in v1.2.0

func (mr *MockAuthServiceMockRecorder) NamespacesRole(arg0, arg1 any) *gomock.Call

NamespacesRole indicates an expected call of NamespacesRole.

func (*MockAuthServiceMockRecorder) Repository added in v1.2.0

func (mr *MockAuthServiceMockRecorder) Repository(arg0, arg1, arg2 any) *gomock.Call

Repository indicates an expected call of Repository.

func (*MockAuthServiceMockRecorder) Tag added in v1.2.0

func (mr *MockAuthServiceMockRecorder) Tag(arg0, arg1, arg2 any) *gomock.Call

Tag indicates an expected call of Tag.

Jump to

Keyboard shortcuts

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