wait

package
v0.0.0-...-c404fd9 Latest Latest
Warning

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

Go to latest
Published: May 25, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Wait

func Wait(condition Condition, options ConditionOptions, timeout time.Duration) error

Types

type Condition

type Condition interface {
	Run(ctx context.Context, channel chan error, options ConditionOptions)
}

type ConditionDockerHealthcheck

type ConditionDockerHealthcheck struct{}

func (ConditionDockerHealthcheck) Run

func (condition ConditionDockerHealthcheck) Run(ctx context.Context, channel chan error, options ConditionOptions)

type ConditionHTTP

type ConditionHTTP struct{}

func (ConditionHTTP) Run

func (condition ConditionHTTP) Run(ctx context.Context, channel chan error, options ConditionOptions)

type ConditionOptions

type ConditionOptions map[string]interface{}

type ConditionTCP

type ConditionTCP struct{}

func (ConditionTCP) Run

func (condition ConditionTCP) Run(ctx context.Context, channel chan error, options ConditionOptions)

Jump to

Keyboard shortcuts

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