test

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 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

type FakeDependencyFetchRetry added in v0.5.0

type FakeDependencyFetchRetry struct {
	Name string
	// contains filtered or unexported fields
}

func (*FakeDependencyFetchRetry) Display added in v0.5.0

func (d *FakeDependencyFetchRetry) Display() string

func (*FakeDependencyFetchRetry) Fetch added in v0.5.0

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

func (*FakeDependencyFetchRetry) HashCode added in v0.5.0

func (d *FakeDependencyFetchRetry) HashCode() string

func (*FakeDependencyFetchRetry) Key added in v0.5.0

Jump to

Keyboard shortcuts

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