automock

package
v0.0.0-...-ecc6c17 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventAPIConverter

type EventAPIConverter struct {
	mock.Mock
}

EventAPIConverter is an autogenerated mock type for the EventAPIConverter type

func (*EventAPIConverter) InputFromGraphQL

InputFromGraphQL provides a mock function with given fields: in

func (*EventAPIConverter) MultipleInputFromGraphQL

func (_m *EventAPIConverter) MultipleInputFromGraphQL(in []*graphql.EventAPIDefinitionInput) []*model.EventAPIDefinitionInput

MultipleInputFromGraphQL provides a mock function with given fields: in

func (*EventAPIConverter) MultipleToGraphQL

func (_m *EventAPIConverter) MultipleToGraphQL(in []*model.EventAPIDefinition) []*graphql.EventAPIDefinition

MultipleToGraphQL provides a mock function with given fields: in

func (*EventAPIConverter) ToGraphQL

ToGraphQL provides a mock function with given fields: in

type EventAPIRepository

type EventAPIRepository struct {
	mock.Mock
}

EventAPIRepository is an autogenerated mock type for the EventAPIRepository type

func (*EventAPIRepository) Create

Create provides a mock function with given fields: item

func (*EventAPIRepository) CreateMany

func (_m *EventAPIRepository) CreateMany(items []*model.EventAPIDefinition) error

CreateMany provides a mock function with given fields: items

func (*EventAPIRepository) Delete

Delete provides a mock function with given fields: item

func (*EventAPIRepository) DeleteAllByApplicationID

func (_m *EventAPIRepository) DeleteAllByApplicationID(id string) error

DeleteAllByApplicationID provides a mock function with given fields: id

func (*EventAPIRepository) GetByID

GetByID provides a mock function with given fields: id

func (*EventAPIRepository) List

func (_m *EventAPIRepository) List(filter []*labelfilter.LabelFilter, pageSize *int, cursor *string) (*model.EventAPIDefinitionPage, error)

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

func (*EventAPIRepository) ListByApplicationID

func (_m *EventAPIRepository) ListByApplicationID(applicationID string, pageSize *int, cursor *string) (*model.EventAPIDefinitionPage, error)

ListByApplicationID provides a mock function with given fields: applicationID, pageSize, cursor

func (*EventAPIRepository) Update

Update provides a mock function with given fields: item

type EventAPIService

type EventAPIService struct {
	mock.Mock
}

EventAPIService is an autogenerated mock type for the EventAPIService type

func (*EventAPIService) Create

func (_m *EventAPIService) Create(ctx context.Context, applicationID string, in model.EventAPIDefinitionInput) (string, error)

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

func (*EventAPIService) Delete

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

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

func (*EventAPIService) Get

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

func (*EventAPIService) RefetchAPISpec

func (_m *EventAPIService) RefetchAPISpec(ctx context.Context, id string) (*model.EventAPISpec, error)

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

func (*EventAPIService) Update

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

type FetchRequestConverter

type FetchRequestConverter struct {
	mock.Mock
}

FetchRequestConverter is an autogenerated mock type for the FetchRequestConverter type

func (*FetchRequestConverter) InputFromGraphQL

InputFromGraphQL provides a mock function with given fields: in

func (*FetchRequestConverter) ToGraphQL

ToGraphQL provides a mock function with given fields: in

type UIDService

type UIDService struct {
	mock.Mock
}

UIDService is an autogenerated mock type for the UIDService type

func (*UIDService) Generate

func (_m *UIDService) Generate() string

Generate provides a mock function with given fields:

type VersionConverter

type VersionConverter struct {
	mock.Mock
}

VersionConverter is an autogenerated mock type for the VersionConverter type

func (*VersionConverter) InputFromGraphQL

func (_m *VersionConverter) InputFromGraphQL(in *graphql.VersionInput) *model.VersionInput

InputFromGraphQL provides a mock function with given fields: in

func (*VersionConverter) ToGraphQL

func (_m *VersionConverter) ToGraphQL(in *model.Version) *graphql.Version

ToGraphQL provides a mock function with given fields: in

Jump to

Keyboard shortcuts

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