docker

package
v0.0.0-...-e54a428 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 15, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainerInspect

func ContainerInspect(id string) (container types.ContainerJSON, err error)

ContainerInspect return detail information of a container.

func ContainerList

func ContainerList(args *ContainerListArgs) (containers []types.Container, totalCount int, err error)

ContainerList return containers on the host.

Types

type ContainerListArgs

type ContainerListArgs struct {
	// created|restarting|running|removing|paused|exited|dead
	Filter    string `bind:"filter"`
	Name      string `bind:"name"`
	PageIndex int    `bind:"page"`
	PageSize  int    `bind:"size"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL