conditions

package
v0.0.0-...-9c77b49 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2018 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConditionFunc

type ConditionFunc = func() (bool, error)

ConditionFunc is the signature that all condition funcs must have.

func FileExists

func FileExists(file string) ConditionFunc

FileExists is a service condition that checks for the existence of a file once and only once.

func None

func None() ConditionFunc

None is a service condition that has no conditions.

func WaitForFileToExist

func WaitForFileToExist(file string) ConditionFunc

WaitForFileToExist is a service condition that will wait for the existence of a file.

func WaitForFilesToExist

func WaitForFilesToExist(files ...string) ConditionFunc

WaitForFilesToExist is a service condition that will wait for the existence a set of files.

Jump to

Keyboard shortcuts

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