Documentation
¶
Index ¶
- func NewContainer() *container
- func RandomName() string
- type Option
- func WithCleanup(cl bool) Option
- func WithContainerToolBin(r string) Option
- func WithDetachedMode(d bool) Option
- func WithEntrypointArgs(args ...string) Option
- func WithEntrypointBin(b string) Option
- func WithEnv(k string, v string) Option
- func WithIPv4(ip string) Option
- func WithImage(i string) Option
- func WithLog(l logr.Logger) Option
- func WithName(n string) Option
- func WithNetwork(w string) Option
- func WithReproduceCmd(r *string) Option
- func WithStderr(e ...io.Writer) Option
- func WithStdout(o ...io.Writer) Option
- func WithVolumes(m map[string]string) Option
- func WithWorkDir(w string) Option
- func WithcFlag(cl bool) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewContainer ¶
func NewContainer() *container
func RandomName ¶
func RandomName() string
Types ¶
type Option ¶
type Option func(c *container)
func WithCleanup ¶
func WithContainerToolBin ¶
func WithDetachedMode ¶
func WithEntrypointArgs ¶
func WithEntrypointBin ¶
func WithNetwork ¶
func WithReproduceCmd ¶
func WithStderr ¶
func WithStdout ¶
func WithVolumes ¶
func WithWorkDir ¶
Click to show internal directories.
Click to hide internal directories.