Documentation
¶
Index ¶
- Constants
- type Compose
- type Opt
- func WithDownOptions(opts ...tc.StackDownOption) Opt
- func WithEnv(env map[string]string) Opt
- func WithFile(file string) Opt
- func WithOsEnv() Opt
- func WithReadyFn(fn func(tc.ComposeStack) error) Opt
- func WithStack(s tc.ComposeStack) Opt
- func WithUpOptions(opts ...tc.StackUpOption) Opt
- func WithWaitForService(service string, strategy wait.Strategy) Opt
Constants ¶
View Source
const ErrCreateStack = strerr.Error("failed to create compose stack")
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Compose ¶
type Compose struct {
// contains filtered or unexported fields
}
type Opt ¶
Opt is option type for OptCompose.
func WithDownOptions ¶
func WithDownOptions(opts ...tc.StackDownOption) Opt
WithDownOptions sets options for compose.Down().
func WithReadyFn ¶
func WithReadyFn(fn func(tc.ComposeStack) error) Opt
WithReadyFn sets ready function.
func WithUpOptions ¶
func WithUpOptions(opts ...tc.StackUpOption) Opt
WithUpOptions sets options for compose.Up().
Click to show internal directories.
Click to hide internal directories.