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 AuthConverter

type AuthConverter struct {
	mock.Mock
}

AuthConverter is an autogenerated mock type for the AuthConverter type

func (*AuthConverter) ToGraphQL

func (_m *AuthConverter) ToGraphQL(in *model.Auth) *graphql.Auth

ToGraphQL provides a mock function with given fields: in

type RuntimeConverter

type RuntimeConverter struct {
	mock.Mock
}

RuntimeConverter is an autogenerated mock type for the RuntimeConverter type

func (*RuntimeConverter) InputFromGraphQL

func (_m *RuntimeConverter) InputFromGraphQL(in graphql.RuntimeInput) model.RuntimeInput

InputFromGraphQL provides a mock function with given fields: in

func (*RuntimeConverter) MultipleToGraphQL

func (_m *RuntimeConverter) MultipleToGraphQL(in []*model.Runtime) []*graphql.Runtime

MultipleToGraphQL provides a mock function with given fields: in

func (*RuntimeConverter) ToGraphQL

func (_m *RuntimeConverter) ToGraphQL(in *model.Runtime) *graphql.Runtime

ToGraphQL provides a mock function with given fields: in

type RuntimeRepository

type RuntimeRepository struct {
	mock.Mock
}

RuntimeRepository is an autogenerated mock type for the RuntimeRepository type

func (*RuntimeRepository) Create

func (_m *RuntimeRepository) Create(item *model.Runtime) error

Create provides a mock function with given fields: item

func (*RuntimeRepository) Delete

func (_m *RuntimeRepository) Delete(item *model.Runtime) error

Delete provides a mock function with given fields: item

func (*RuntimeRepository) GetByID

func (_m *RuntimeRepository) GetByID(tenant string, id string) (*model.Runtime, error)

GetByID provides a mock function with given fields: tenant, id

func (*RuntimeRepository) List

func (_m *RuntimeRepository) List(tenant string, filter []*labelfilter.LabelFilter, pageSize *int, cursor *string) (*model.RuntimePage, error)

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

func (*RuntimeRepository) Update

func (_m *RuntimeRepository) Update(item *model.Runtime) error

Update provides a mock function with given fields: item

type RuntimeService

type RuntimeService struct {
	mock.Mock
}

RuntimeService is an autogenerated mock type for the RuntimeService type

func (*RuntimeService) AddAnnotation

func (_m *RuntimeService) AddAnnotation(ctx context.Context, runtimeID string, key string, value interface{}) error

AddAnnotation provides a mock function with given fields: ctx, runtimeID, key, value

func (*RuntimeService) AddLabel

func (_m *RuntimeService) AddLabel(ctx context.Context, runtimeID string, key string, values []string) error

AddLabel provides a mock function with given fields: ctx, runtimeID, key, values

func (*RuntimeService) Create

func (_m *RuntimeService) Create(ctx context.Context, in model.RuntimeInput) (string, error)

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

func (*RuntimeService) Delete

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

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

func (*RuntimeService) DeleteAnnotation

func (_m *RuntimeService) DeleteAnnotation(ctx context.Context, runtimeID string, key string) error

DeleteAnnotation provides a mock function with given fields: ctx, runtimeID, key

func (*RuntimeService) DeleteLabel

func (_m *RuntimeService) DeleteLabel(ctx context.Context, runtimeID string, key string, values []string) error

DeleteLabel provides a mock function with given fields: ctx, runtimeID, key, values

func (*RuntimeService) Get

func (_m *RuntimeService) Get(ctx context.Context, id string) (*model.Runtime, error)

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

func (*RuntimeService) List

func (_m *RuntimeService) List(ctx context.Context, filter []*labelfilter.LabelFilter, pageSize *int, cursor *string) (*model.RuntimePage, error)

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

func (*RuntimeService) Update

func (_m *RuntimeService) Update(ctx context.Context, id string, in model.RuntimeInput) error

Update provides a mock function with given fields: ctx, id, 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:

Jump to

Keyboard shortcuts

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