automock

package
v0.0.0-...-a423d60 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Converter

type Converter struct {
	mock.Mock
}

Converter is an autogenerated mock type for the Converter type

func NewConverter

func NewConverter(t interface {
	mock.TestingT
	Cleanup(func())
}) *Converter

NewConverter creates a new instance of Converter. 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 (*Converter) FromEntity

FromEntity provides a mock function with given fields: in

func (*Converter) ToEntity

ToEntity provides a mock function with given fields: in

type IntegrationSystemConverter

type IntegrationSystemConverter struct {
	mock.Mock
}

IntegrationSystemConverter is an autogenerated mock type for the IntegrationSystemConverter type

func NewIntegrationSystemConverter

func NewIntegrationSystemConverter(t interface {
	mock.TestingT
	Cleanup(func())
}) *IntegrationSystemConverter

NewIntegrationSystemConverter creates a new instance of IntegrationSystemConverter. 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 (*IntegrationSystemConverter) InputFromGraphQL

InputFromGraphQL provides a mock function with given fields: in

func (*IntegrationSystemConverter) MultipleToGraphQL

MultipleToGraphQL provides a mock function with given fields: in

func (*IntegrationSystemConverter) ToGraphQL

ToGraphQL provides a mock function with given fields: in

type IntegrationSystemRepository

type IntegrationSystemRepository struct {
	mock.Mock
}

IntegrationSystemRepository is an autogenerated mock type for the IntegrationSystemRepository type

func NewIntegrationSystemRepository

func NewIntegrationSystemRepository(t interface {
	mock.TestingT
	Cleanup(func())
}) *IntegrationSystemRepository

NewIntegrationSystemRepository creates a new instance of IntegrationSystemRepository. 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 (*IntegrationSystemRepository) Create

Create provides a mock function with given fields: ctx, item

func (*IntegrationSystemRepository) Delete

Delete provides a mock function with given fields: ctx, id

func (*IntegrationSystemRepository) Exists

Exists provides a mock function with given fields: ctx, id

func (*IntegrationSystemRepository) Get

Get provides a mock function with given fields: ctx, id

func (*IntegrationSystemRepository) List

List provides a mock function with given fields: ctx, pageSize, cursor

func (*IntegrationSystemRepository) Update

Update provides a mock function with given fields: ctx, _a1

type IntegrationSystemService

type IntegrationSystemService struct {
	mock.Mock
}

IntegrationSystemService is an autogenerated mock type for the IntegrationSystemService type

func NewIntegrationSystemService

func NewIntegrationSystemService(t interface {
	mock.TestingT
	Cleanup(func())
}) *IntegrationSystemService

NewIntegrationSystemService creates a new instance of IntegrationSystemService. 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 (*IntegrationSystemService) Create

Create provides a mock function with given fields: ctx, in

func (*IntegrationSystemService) Delete

func (_m *IntegrationSystemService) Delete(ctx context.Context, id string) error

Delete provides a mock function with given fields: ctx, id

func (*IntegrationSystemService) Get

Get provides a mock function with given fields: ctx, id

func (*IntegrationSystemService) List

List provides a mock function with given fields: ctx, pageSize, cursor

func (*IntegrationSystemService) Update

Update provides a mock function with given fields: ctx, id, in

type OAuth20Service

type OAuth20Service struct {
	mock.Mock
}

OAuth20Service is an autogenerated mock type for the OAuth20Service type

func NewOAuth20Service

func NewOAuth20Service(t interface {
	mock.TestingT
	Cleanup(func())
}) *OAuth20Service

NewOAuth20Service creates a new instance of OAuth20Service. 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 (*OAuth20Service) DeleteMultipleClientCredentials

func (_m *OAuth20Service) DeleteMultipleClientCredentials(ctx context.Context, auths []model.SystemAuth) error

DeleteMultipleClientCredentials provides a mock function with given fields: ctx, auths

type SystemAuthConverter

type SystemAuthConverter struct {
	mock.Mock
}

SystemAuthConverter is an autogenerated mock type for the SystemAuthConverter type

func NewSystemAuthConverter

func NewSystemAuthConverter(t interface {
	mock.TestingT
	Cleanup(func())
}) *SystemAuthConverter

NewSystemAuthConverter creates a new instance of SystemAuthConverter. 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 (*SystemAuthConverter) ToGraphQL

ToGraphQL provides a mock function with given fields: in

type SystemAuthService

type SystemAuthService struct {
	mock.Mock
}

SystemAuthService is an autogenerated mock type for the SystemAuthService type

func NewSystemAuthService

func NewSystemAuthService(t interface {
	mock.TestingT
	Cleanup(func())
}) *SystemAuthService

NewSystemAuthService creates a new instance of SystemAuthService. 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 (*SystemAuthService) ListForObject

func (_m *SystemAuthService) ListForObject(ctx context.Context, objectType model.SystemAuthReferenceObjectType, objectID string) ([]model.SystemAuth, error)

ListForObject provides a mock function with given fields: ctx, objectType, objectID

type UIDService

type UIDService struct {
	mock.Mock
}

UIDService is an autogenerated mock type for the UIDService type

func NewUIDService

func NewUIDService(t interface {
	mock.TestingT
	Cleanup(func())
}) *UIDService

NewUIDService creates a new instance of UIDService. 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 (*UIDService) Generate

func (_m *UIDService) Generate() string

Generate provides a mock function with given fields:

Jump to

Keyboard shortcuts

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