mock

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAbsoluteMockPath

func GetAbsoluteMockPath(filename string, version string) string

GetAbsoluteMockPath returns absolute path for given mock file

func ListAllMockURIs

func ListAllMockURIs() []string

ListAllMockURIs returns a list of mock APIs as file:// URIs

func ListAllMocks

func ListAllMocks() []string

ListAllMocks will return a list of all mock versions we have files for

func RegisterURL

func RegisterURL(url string, version string, filename string)

RegisterURL for given url and return 200 status register mock http responder

Types

This section is empty.

Jump to

Keyboard shortcuts

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