mocks

package
v2.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	mock.Mock
}

Service is an autogenerated mock type for the Service type

func NewService

func NewService(t interface {
	mock.TestingT
	Cleanup(func())
}) *Service

NewService creates a new instance of Service. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Service) GlobalRegistryCreate

func (_m *Service) GlobalRegistryCreate(_a0 *model.Registry) error

GlobalRegistryCreate provides a mock function with given fields: _a0

func (*Service) GlobalRegistryDelete

func (_m *Service) GlobalRegistryDelete(_a0 string) error

GlobalRegistryDelete provides a mock function with given fields: _a0

func (*Service) GlobalRegistryFind

func (_m *Service) GlobalRegistryFind(_a0 string) (*model.Registry, error)

GlobalRegistryFind provides a mock function with given fields: _a0

func (*Service) GlobalRegistryList

func (_m *Service) GlobalRegistryList(_a0 *model.ListOptions) ([]*model.Registry, error)

GlobalRegistryList provides a mock function with given fields: _a0

func (*Service) GlobalRegistryUpdate

func (_m *Service) GlobalRegistryUpdate(_a0 *model.Registry) error

GlobalRegistryUpdate provides a mock function with given fields: _a0

func (*Service) OrgRegistryCreate

func (_m *Service) OrgRegistryCreate(_a0 int64, _a1 *model.Registry) error

OrgRegistryCreate provides a mock function with given fields: _a0, _a1

func (*Service) OrgRegistryDelete

func (_m *Service) OrgRegistryDelete(_a0 int64, _a1 string) error

OrgRegistryDelete provides a mock function with given fields: _a0, _a1

func (*Service) OrgRegistryFind

func (_m *Service) OrgRegistryFind(_a0 int64, _a1 string) (*model.Registry, error)

OrgRegistryFind provides a mock function with given fields: _a0, _a1

func (*Service) OrgRegistryList

func (_m *Service) OrgRegistryList(_a0 int64, _a1 *model.ListOptions) ([]*model.Registry, error)

OrgRegistryList provides a mock function with given fields: _a0, _a1

func (*Service) OrgRegistryUpdate

func (_m *Service) OrgRegistryUpdate(_a0 int64, _a1 *model.Registry) error

OrgRegistryUpdate provides a mock function with given fields: _a0, _a1

func (*Service) RegistryCreate

func (_m *Service) RegistryCreate(_a0 *model.Repo, _a1 *model.Registry) error

RegistryCreate provides a mock function with given fields: _a0, _a1

func (*Service) RegistryDelete

func (_m *Service) RegistryDelete(_a0 *model.Repo, _a1 string) error

RegistryDelete provides a mock function with given fields: _a0, _a1

func (*Service) RegistryFind

func (_m *Service) RegistryFind(_a0 *model.Repo, _a1 string) (*model.Registry, error)

RegistryFind provides a mock function with given fields: _a0, _a1

func (*Service) RegistryList

func (_m *Service) RegistryList(_a0 *model.Repo, _a1 *model.ListOptions) ([]*model.Registry, error)

RegistryList provides a mock function with given fields: _a0, _a1

func (*Service) RegistryListPipeline

func (_m *Service) RegistryListPipeline(_a0 *model.Repo, _a1 *model.Pipeline) ([]*model.Registry, error)

RegistryListPipeline provides a mock function with given fields: _a0, _a1

func (*Service) RegistryUpdate

func (_m *Service) RegistryUpdate(_a0 *model.Repo, _a1 *model.Registry) error

RegistryUpdate provides a mock function with given fields: _a0, _a1

Jump to

Keyboard shortcuts

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