mocks

package
v0.1.23 Latest Latest
Warning

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

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

Documentation

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(ctx context.Context, api *gateway.API) (*gateway.API, error)

AddAPI provides a mock function with given fields: ctx, api

func (*Gateway) DeleteAPI

func (_m *Gateway) DeleteAPI(ctx context.Context, api *gateway.API) error

DeleteAPI provides a mock function with given fields: ctx, api

func (*Gateway) GetAPI

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

GetAPI provides a mock function with given fields: ctx, name

func (*Gateway) UpdateAPI

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

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

Jump to

Keyboard shortcuts

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