Documentation
¶
Index ¶
- func AuthEncode(auth Auth) string
- func Close(engine Engine) error
- func CopyFrom(engine Engine, containerID string, sourcePath string, destPath string, ...) error
- func CopyTo(engine Engine, containerID string, sourcePath string, destPath string, ...) error
- func Exec(engine Engine, containerID string, cmd []string, handles ...ctxpkg.Handle) (string, error)
- func Logs(engine Engine, containerID string) (string, error)
- func LogsTail(engine Engine, containerID string, lines int64) (string, error)
- func Pull(engine Engine, ref string, handles ...ctxpkg.Handle) (string, error)
- func PullAuth(engine Engine, ref string, auth Auth) (string, error)
- func Remove(engine Engine, containerID string) error
- func Run(engine Engine, img string, cmd []string) (string, error)
- func Stop(engine Engine, containerID string) error
- func Wait(engine Engine, containerID string, timeoutSeconds int64) (int64, error)
- func WaitCtx(engine Engine, h ctxpkg.Handle, containerID string) (int64, error)
- type Auth
- type BuildOutput
- type Config
- type ContainerEvent
- type ContainerInfo
- type Engine
- type ImageInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthEncode ¶
Types ¶
type BuildOutput ¶
type ContainerEvent ¶
type ContainerInfo ¶
func ListContainers ¶
func ListContainers(engine Engine) ([]ContainerInfo, error)
Click to show internal directories.
Click to hide internal directories.