mocks

package
v0.0.0-...-a52e8f6 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0. DO NOT EDIT.

Code generated by mockery v1.0.0. DO NOT EDIT.

Code generated by mockery v1.0.0. DO NOT EDIT.

Code generated by mockery v1.0.0. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HandlerInterface

type HandlerInterface struct {
	mock.Mock
}

HandlerInterface is an autogenerated mock type for the HandlerInterface type

func (*HandlerInterface) Create

func (_m *HandlerInterface) Create(_a0 *v1alpha2.Handler) (*v1alpha2.Handler, error)

Create provides a mock function with given fields: _a0

func (*HandlerInterface) Delete

func (_m *HandlerInterface) Delete(name string, options *v1.DeleteOptions) error

Delete provides a mock function with given fields: name, options

type InstanceInterface

type InstanceInterface struct {
	mock.Mock
}

InstanceInterface is an autogenerated mock type for the InstanceInterface type

func (*InstanceInterface) Create

Create provides a mock function with given fields: _a0

func (*InstanceInterface) Delete

func (_m *InstanceInterface) Delete(name string, options *v1.DeleteOptions) error

Delete provides a mock function with given fields: name, options

type Repository

type Repository struct {
	mock.Mock
}

Repository is an autogenerated mock type for the Repository type

func (*Repository) CreateHandler

func (_m *Repository) CreateHandler(application string, appUID types.UID, serviceId string, name string) apperrors.AppError

CreateHandler provides a mock function with given fields: application, appUID, serviceId, name

func (*Repository) CreateInstance

func (_m *Repository) CreateInstance(application string, appUID types.UID, serviceId string, name string) apperrors.AppError

CreateInstance provides a mock function with given fields: application, appUID, serviceId, name

func (*Repository) CreateRule

func (_m *Repository) CreateRule(application string, appUID types.UID, serviceId string, name string) apperrors.AppError

CreateRule provides a mock function with given fields: application, appUID, serviceId, name

func (*Repository) DeleteHandler

func (_m *Repository) DeleteHandler(name string) apperrors.AppError

DeleteHandler provides a mock function with given fields: name

func (*Repository) DeleteInstance

func (_m *Repository) DeleteInstance(name string) apperrors.AppError

DeleteInstance provides a mock function with given fields: name

func (*Repository) DeleteRule

func (_m *Repository) DeleteRule(name string) apperrors.AppError

DeleteRule provides a mock function with given fields: name

func (*Repository) UpsertHandler

func (_m *Repository) UpsertHandler(application string, appUID types.UID, serviceId string, name string) apperrors.AppError

UpsertHandler provides a mock function with given fields: application, appUID, serviceId, name

func (*Repository) UpsertInstance

func (_m *Repository) UpsertInstance(application string, appUID types.UID, serviceId string, name string) apperrors.AppError

UpsertInstance provides a mock function with given fields: application, appUID, serviceId, name

func (*Repository) UpsertRule

func (_m *Repository) UpsertRule(application string, appUID types.UID, serviceId string, name string) apperrors.AppError

UpsertRule provides a mock function with given fields: application, appUID, serviceId, name

type RuleInterface

type RuleInterface struct {
	mock.Mock
}

RuleInterface is an autogenerated mock type for the RuleInterface type

func (*RuleInterface) Create

func (_m *RuleInterface) Create(_a0 *v1alpha2.Rule) (*v1alpha2.Rule, error)

Create provides a mock function with given fields: _a0

func (*RuleInterface) Delete

func (_m *RuleInterface) Delete(name string, options *v1.DeleteOptions) error

Delete provides a mock function with given fields: name, options

type Service

type Service struct {
	mock.Mock
}

Service is an autogenerated mock type for the Service type

func (*Service) Create

func (_m *Service) Create(application string, appUID types.UID, serviceId string, resourceName string) apperrors.AppError

Create provides a mock function with given fields: application, appUID, serviceId, resourceName

func (*Service) Delete

func (_m *Service) Delete(resourceName string) apperrors.AppError

Delete provides a mock function with given fields: resourceName

func (*Service) Upsert

func (_m *Service) Upsert(application string, appUID types.UID, serviceId string, resourceName string) apperrors.AppError

Upsert provides a mock function with given fields: application, appUID, serviceId, resourceName

Jump to

Keyboard shortcuts

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