mocks

package
v0.0.0-...-35a9412 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2017 License: Apache-2.0 Imports: 5 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 Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func (*Client) CreateFile

func (_m *Client) CreateFile(ctx context.Context, f elasticsearch.File) (*elastic.IndexResponse, error)

CreateFile provides a mock function with given fields: ctx, f

func (*Client) CreatePackage

func (_m *Client) CreatePackage(ctx context.Context, p *goref.Package) error

CreatePackage provides a mock function with given fields: ctx, p

func (*Client) CreateRef

func (_m *Client) CreateRef(ctx context.Context, r *goref.Ref) (*elastic.IndexResponse, error)

CreateRef provides a mock function with given fields: ctx, r

func (*Client) GetPackage

func (_m *Client) GetPackage(ctx context.Context, docID string) (*elastic.GetResult, error)

GetPackage provides a mock function with given fields: ctx, docID

Jump to

Keyboard shortcuts

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