mocks

package
v0.0.0-...-6863e89 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2020 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 Rest

type Rest struct {
	mock.Mock
}

Rest is an autogenerated mock type for the Rest type

func (*Rest) Patch

func (_m *Rest) Patch(url string, authToken string, body io.Reader) (*http.Response, error)

Patch provides a mock function with given fields: url, authToken, body

type TokenFetcher

type TokenFetcher struct {
	mock.Mock
}

TokenFetcher is an autogenerated mock type for the TokenFetcher type

func (*TokenFetcher) Fetch

func (_m *TokenFetcher) Fetch() (string, error)

Fetch provides a mock function with given fields:

Jump to

Keyboard shortcuts

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