Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithCleanup ¶
func WithCleanup(svc *Service)
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(name string, image string, opts ...ServiceOption) *Service
type ServiceOption ¶
type ServiceOption func(*Service)
func WithEnv ¶
func WithEnv(v []string) ServiceOption
func WithMounts ¶
func WithMounts(m []specs.Mount) ServiceOption
func WithSetup ¶
func WithSetup(setup func(svc *Service) error) ServiceOption
func WithStopTimeout ¶
func WithStopTimeout(timeout time.Duration) ServiceOption
type Test ¶
type Test struct {
// contains filtered or unexported fields
}
func NewIntegrationTest ¶
func NewIntegrationTest(t *testing.T, opts ...TestOption) *Test
type TestOption ¶
type TestOption func(*Test)
func DependsOn ¶
func DependsOn(svc *Service) TestOption
type WaitOption ¶
type WaitOption struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.