docker

package
v0.0.0-...-14354aa Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDockerClient

func NewDockerClient() (_type.ContainerClient, error)

Types

type Client

type Client struct {
	Ctx    context.Context
	Client client.CommonAPIClient
}

func (*Client) CommitImageFromSelf

func (c *Client) CommitImageFromSelf(containerID string, image string) error

func (*Client) PushImageFromSelf

func (c *Client) PushImageFromSelf(imageName, username, password string) error

type ErrorDetail

type ErrorDetail struct {
	Message string `json:"message"`
}

type ErrorLine

type ErrorLine struct {
	Error       string      `json:"error"`
	ErrorDetail ErrorDetail `json:"errorDetail"`
}

Jump to

Keyboard shortcuts

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