Documentation ¶
Index ¶
- func CreateTempfile(b []byte, t *testing.T) *os.File
- func DeleteTempfile(f *os.File, t *testing.T)
- func DemoConsulClient(t *testing.T) (*api.Client, *api.QueryOptions)
- func WaitForFileContents(path string, contents []byte, t *testing.T)
- type FakeDependency
- type FakeDependencyFetchError
- type FakeDependencyFetchRetry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DemoConsulClient ¶
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
Click to show internal directories.
Click to hide internal directories.