Documentation ¶
Index ¶
- func CreateNetwork(name string) (string, error)
- func GetContainer(containerName string) (*types.Container, error)
- func Run(image string, args ...Arg) error
- func WithCappAdd(capStr string) func(*dockerArgs)
- func WithCredentials(credentials *types.AuthConfig) func(*dockerArgs)
- func WithEntrypoint(entrypoint []string) func(*dockerArgs)
- func WithEnvVar(key, value string) func(*dockerArgs)
- func WithNetwork(networkName string) func(*dockerArgs)
- func WithPublishedPort(publishedPort PublishedPort) func(*dockerArgs)
- type Arg
- type PublishedPort
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateNetwork ¶ added in v0.8.12
func GetContainer ¶ added in v0.8.12
func WithCappAdd ¶
func WithCappAdd(capStr string) func(*dockerArgs)
func WithCredentials ¶ added in v0.8.12
func WithCredentials(credentials *types.AuthConfig) func(*dockerArgs)
func WithEntrypoint ¶ added in v0.8.12
func WithEntrypoint(entrypoint []string) func(*dockerArgs)
func WithEnvVar ¶
func WithEnvVar(key, value string) func(*dockerArgs)
func WithNetwork ¶ added in v0.8.12
func WithNetwork(networkName string) func(*dockerArgs)
func WithPublishedPort ¶
func WithPublishedPort(publishedPort PublishedPort) func(*dockerArgs)
Types ¶
type PublishedPort ¶
Click to show internal directories.
Click to hide internal directories.