Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container struct { *dockertest.Resource // contains filtered or unexported fields }
func NewContainer ¶
func NewContainer(opts *dockertest.RunOptions, healthCheckFunc HealthCheckFunc) (*Container, error)
type HealthCheckFunc ¶
type HealthCheckFunc func(resource *dockertest.Resource, pool *dockertest.Pool) error
func HttpHealthcheck ¶
func HttpHealthcheck(portIdentifier string, endpoint string, healthyStatusCode int) HealthCheckFunc
func LogHealthcheck ¶
func LogHealthcheck(logLine string) HealthCheckFunc
Click to show internal directories.
Click to hide internal directories.