dockerclient

package
v0.0.0-...-c8ad551 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateClient

func CreateClient() (*client.Client, error)

func ResolveBuild

func ResolveBuild(resp io.ReadCloser) error

func ResolvePull

func ResolvePull(resp io.ReadCloser, image string) error

func ResolvePush

func ResolvePush(resp io.ReadCloser, image string) error

Types

type EventBuild

type EventBuild struct {
	Stream string `json:"stream"`
	Error  string `json:"error"`
}

type EventPull

type EventPull struct {
	Status         string `json:"status"`
	Error          string `json:"error"`
	Progress       string `json:"progress"`
	ProgressDetail struct {
		Current int `json:"current"`
		Total   int `json:"total"`
	} `json:"progressDetail"`
}

type EventPush

type EventPush struct {
	Status         string `json:"status"`
	Error          string `json:"error"`
	Progress       string `json:"progress"`
	ProgressDetail struct {
		Current int `json:"current"`
		Total   int `json:"total"`
	} `json:"progressDetail"`
}

Jump to

Keyboard shortcuts

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