Documentation
¶
Index ¶
- func AuthEncode(auth Auth) string
- func BuildImageID(b BuildOutput) string
- func BuildLog(b BuildOutput) string
- func Close(engine Engine) error
- func ContainerID(c ContainerInfo) string
- func ContainerImage(c ContainerInfo) string
- func ContainerNames(c ContainerInfo) []string
- func ContainerState(c ContainerInfo) string
- func ContainerStatus(c ContainerInfo) string
- func CopyFrom(engine Engine, containerID string, sourcePath string, destPath string, ...) error
- func CopyTo(engine Engine, containerID string, sourcePath string, destPath string, ...) error
- func EventAction(event ContainerEvent) string
- func EventActor(event ContainerEvent) string
- func EventID(event ContainerEvent) string
- func EventResource(event ContainerEvent) string
- func EventTime(event ContainerEvent) string
- func Exec(engine Engine, containerID string, cmd []string, handles ...ctxpkg.Handle) (string, error)
- func ImageID(img ImageInfo) string
- func ImageSize(img ImageInfo) int64
- func ImageTags(img ImageInfo) []string
- 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 ¶
func BuildImageID ¶
func BuildImageID(b BuildOutput) string
func BuildLog ¶
func BuildLog(b BuildOutput) string
func ContainerID ¶
func ContainerID(c ContainerInfo) string
func ContainerImage ¶
func ContainerImage(c ContainerInfo) string
func ContainerNames ¶
func ContainerNames(c ContainerInfo) []string
func ContainerState ¶
func ContainerState(c ContainerInfo) string
func ContainerStatus ¶
func ContainerStatus(c ContainerInfo) string
func EventAction ¶
func EventAction(event ContainerEvent) string
func EventActor ¶
func EventActor(event ContainerEvent) string
func EventID ¶
func EventID(event ContainerEvent) string
func EventResource ¶
func EventResource(event ContainerEvent) string
func EventTime ¶
func EventTime(event ContainerEvent) string
Types ¶
type BuildOutput ¶
type BuildOutput struct {
// contains filtered or unexported fields
}
type ContainerEvent ¶
type ContainerEvent struct {
// contains filtered or unexported fields
}
type ContainerInfo ¶
type ContainerInfo struct {
// contains filtered or unexported fields
}
func ListContainers ¶
func ListContainers(engine Engine) ([]ContainerInfo, error)
Click to show internal directories.
Click to hide internal directories.