test

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2014 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTempfile

func CreateTempfile(b []byte, t *testing.T) *os.File

func DeleteTempfile

func DeleteTempfile(f *os.File, t *testing.T)

func DemoConsulClient

func DemoConsulClient(t *testing.T) (*api.Client, *api.QueryOptions)

Types

type FakeDependency

type FakeDependency struct {
	Name string
}

func (*FakeDependency) Display

func (d *FakeDependency) Display() string

func (*FakeDependency) Fetch

func (d *FakeDependency) Fetch(client *api.Client, options *api.QueryOptions) (interface{}, *api.QueryMeta, error)

func (*FakeDependency) HashCode

func (d *FakeDependency) HashCode() string

func (*FakeDependency) Key

func (d *FakeDependency) Key() string

type FakeDependencyFetchError

type FakeDependencyFetchError struct {
	Name string
}

func (*FakeDependencyFetchError) Display

func (d *FakeDependencyFetchError) Display() string

func (*FakeDependencyFetchError) Fetch

func (d *FakeDependencyFetchError) Fetch(client *api.Client, options *api.QueryOptions) (interface{}, *api.QueryMeta, error)

func (*FakeDependencyFetchError) HashCode

func (d *FakeDependencyFetchError) HashCode() string

func (*FakeDependencyFetchError) Key

Jump to

Keyboard shortcuts

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