Documentation ¶
Index ¶
Constants ¶
View Source
const ( // FilterDangling // +desc // image that without label // +usage // dangling=true|false FilterDangling = "dangling" // FilterLabel // +usage // label=com.example.version=1.0 FilterLabel = "label" // FilterBefore // +usage // before=IMAGE_ID|IMAGE_NAME FilterBefore = "before" // FilterSince // +usage // before=IMAGE_ID|IMAGE_NAME FilterSince = "since" // FilterReference // reference=IMAGE_NAME:IMAGE_TAG FilterReference = "reference" )
filter args in image +referred from: https://docs.docker.com/reference/cli/docker/image/ls/#filter cli: docker image --filter "foo=bar" --filter "bif=baz"
View Source
const ( FilterID = "id" FilterName = "name" // FilterExited // +usage // exited=created|restarting|running|removing|paused|exited|dead FilterExited = "exited" FilterStatus = "status" FilterAncestor = "ancestor" FilterVolume = "volume" FilterNetwork = "network" // FilterPublish // FilterExpose // +usage // publish=PORT/[PROTO] | STARTPORT-ENDPORT/[PROTO] FilterPublish = "publish" FilterExpose = "expose" // FilterHealth // +usage // health=starting|healthy|unhealthy|none FilterHealth = "health" // FilterIsolation // +usage // isolation=default|process|hyperv FilterIsolation = "isolation" // FilterIsTask // +usage // is-task=true|false FilterIsTask = "is-task" )
filter args in container +referred from: https://docs.docker.com/reference/cli/docker/container/ls/#filter cli: docker ps --filter "foo=bar" --filter "bif=baz"
View Source
const ( // referred from: github.com/docker/docker/client/image_list_test.go/TestImageListConnectionError ReferenceNone = "no-such-image.invalid:no-such-tag.invalid" ReferenceAll = "*" )
filter constant +self define
Variables ¶
This section is empty.
Functions ¶
func GetImageIDFromImageLoadResp ¶
GetImageIDFromImageLoadResp get image ID or full reference from body.body.src.buf JSON +example {"stream":"Loaded image ID: sha256:d2c94e258dcb3c5ac2798d32e1249e42ef01cba4841c2234249495f87264ac5a\n"}
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.