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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationGetter

type ApplicationGetter struct {
	mock.Mock
}

ApplicationGetter is an autogenerated mock type for the ApplicationGetter type

func (*ApplicationGetter) Get

func (_m *ApplicationGetter) Get(name string, options v1.GetOptions) (*v1alpha1.Application, error)

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

type ServiceDefinitionService

type ServiceDefinitionService struct {
	mock.Mock
}

ServiceDefinitionService is an autogenerated mock type for the ServiceDefinitionService type

func (*ServiceDefinitionService) Create

func (_m *ServiceDefinitionService) Create(application string, serviceDefinition *model.ServiceDefinition) (string, apperrors.AppError)

Create provides a mock function with given fields: application, serviceDefinition

func (*ServiceDefinitionService) Delete

func (_m *ServiceDefinitionService) Delete(application string, id string) apperrors.AppError

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

func (*ServiceDefinitionService) GetAPI

func (_m *ServiceDefinitionService) GetAPI(application string, serviceId string) (*model.API, apperrors.AppError)

GetAPI provides a mock function with given fields: application, serviceId

func (*ServiceDefinitionService) GetAll

GetAll provides a mock function with given fields: application

func (*ServiceDefinitionService) GetByID

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

func (*ServiceDefinitionService) Update

Update provides a mock function with given fields: application, serviceDef

Jump to

Keyboard shortcuts

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