mocks

package
v2.8.2 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 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) GlobalSecretCreate

func (_m *Service) GlobalSecretCreate(_a0 *model.Secret) error

GlobalSecretCreate provides a mock function with given fields: _a0

func (*Service) GlobalSecretDelete

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

GlobalSecretDelete provides a mock function with given fields: _a0

func (*Service) GlobalSecretFind

func (_m *Service) GlobalSecretFind(_a0 string) (*model.Secret, error)

GlobalSecretFind provides a mock function with given fields: _a0

func (*Service) GlobalSecretList

func (_m *Service) GlobalSecretList(_a0 *model.ListOptions) ([]*model.Secret, error)

GlobalSecretList provides a mock function with given fields: _a0

func (*Service) GlobalSecretUpdate

func (_m *Service) GlobalSecretUpdate(_a0 *model.Secret) error

GlobalSecretUpdate provides a mock function with given fields: _a0

func (*Service) OrgSecretCreate

func (_m *Service) OrgSecretCreate(_a0 int64, _a1 *model.Secret) error

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

func (*Service) OrgSecretDelete

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

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

func (*Service) OrgSecretFind

func (_m *Service) OrgSecretFind(_a0 int64, _a1 string) (*model.Secret, error)

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

func (*Service) OrgSecretList

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

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

func (*Service) OrgSecretUpdate

func (_m *Service) OrgSecretUpdate(_a0 int64, _a1 *model.Secret) error

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

func (*Service) SecretCreate

func (_m *Service) SecretCreate(_a0 *model.Repo, _a1 *model.Secret) error

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

func (*Service) SecretDelete

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

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

func (*Service) SecretFind

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

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

func (*Service) SecretList

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

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

func (*Service) SecretListPipeline

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

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

func (*Service) SecretUpdate

func (_m *Service) SecretUpdate(_a0 *model.Repo, _a1 *model.Secret) error

SecretUpdate 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