test

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2015 License: MPL-2.0 Imports: 7 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)

func WaitForFileContents added in v0.6.0

func WaitForFileContents(path string, contents []byte, t *testing.T)

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

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

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

Jump to

Keyboard shortcuts

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