mocks

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2017 License: Apache-2.0 Imports: 2 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 Gateway

type Gateway struct {
	mock.Mock
}

Gateway is an autogenerated mock type for the Gateway type

func (*Gateway) AddAPI

func (_m *Gateway) AddAPI(api *gateway.API) (*gateway.API, error)

AddAPI provides a mock function with given fields: api

func (*Gateway) DeleteAPI

func (_m *Gateway) DeleteAPI(api *gateway.API) error

DeleteAPI provides a mock function with given fields: api

func (*Gateway) GetAPI

func (_m *Gateway) GetAPI(name string) (*gateway.API, error)

GetAPI provides a mock function with given fields: name

func (*Gateway) Initialize

func (_m *Gateway) Initialize() error

Initialize provides a mock function with given fields:

func (*Gateway) UpdateAPI

func (_m *Gateway) UpdateAPI(name string, api *gateway.API) (*gateway.API, error)

UpdateAPI provides a mock function with given fields: name, api

Jump to

Keyboard shortcuts

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