mocks

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceDefinitionService

type ServiceDefinitionService struct {
	mock.Mock
}

ServiceDefinitionService is an autogenerated mock type for the ServiceDefinitionService type

func (*ServiceDefinitionService) Create

func (_m *ServiceDefinitionService) Create(remoteEnvironment string, serviceDefinition *metadata.ServiceDefinition) (string, apperrors.AppError)

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

func (*ServiceDefinitionService) Delete

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

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

func (*ServiceDefinitionService) GetAPI

func (_m *ServiceDefinitionService) GetAPI(remoteEnvironment string, serviceId string) (*serviceapi.API, apperrors.AppError)

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

func (*ServiceDefinitionService) GetAll

func (_m *ServiceDefinitionService) GetAll(remoteEnvironment string) ([]metadata.ServiceDefinition, apperrors.AppError)

GetAll provides a mock function with given fields: remoteEnvironment

func (*ServiceDefinitionService) GetByID

func (_m *ServiceDefinitionService) GetByID(remoteEnvironment string, id string) (metadata.ServiceDefinition, apperrors.AppError)

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

func (*ServiceDefinitionService) Update

func (_m *ServiceDefinitionService) Update(remoteEnvironment string, id string, serviceDef *metadata.ServiceDefinition) apperrors.AppError

Update provides a mock function with given fields: remoteEnvironment, id, serviceDef

Jump to

Keyboard shortcuts

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