mockclient

package
v5.10.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2019 License: MIT, MIT, MIT, + 1 more Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// InternalErr is used to help test internal errors
	InternalErr = client.APIError{Code: uint32(actions.InternalErr)}

	// InvalidArgument is used to help test invalid argument errors
	InvalidArgument = client.APIError{Code: uint32(actions.InvalidArgument)}

	// NotFound is used to help test not found errors
	NotFound = client.APIError{Code: uint32(actions.NotFound)}

	// AlreadyExistsErr is used to help test errors where resource already exists
	AlreadyExistsErr = client.APIError{Code: uint32(actions.AlreadyExistsErr)}
)

Functions

func NewClientFactory

func NewClientFactory() (*testing.MockClient, testClientFactory)

Types

This section is empty.

Jump to

Keyboard shortcuts

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