docker

package
v0.0.0-...-bc99996 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2023 License: GPL-3.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func New

func New() Client

func (*Client) BuildImage

func (cl *Client) BuildImage(path string, Dockerfile string, name string) error

func (*Client) BuildLocalImage

func (cl *Client) BuildLocalImage(Dockerfile string) string

func (*Client) IsImageAvailable

func (cl *Client) IsImageAvailable(imageName string) bool

func (*Client) PullImage

func (cl *Client) PullImage(imageName string) error

func (*Client) RunImage

func (cl *Client) RunImage(imageName string) string

func (*Client) RunImageWatch

func (cl *Client) RunImageWatch(imageName string) string

func (*Client) RunImageWithCommand

func (cl *Client) RunImageWithCommand(imageName string, command string) string

func (*Client) SetBasePath

func (cl *Client) SetBasePath(path string)

func (*Client) SetFileName

func (cl *Client) SetFileName(fileName string)

func (*Client) SetTexFile

func (cl *Client) SetTexFile(texName string)

type DockerMessage

type DockerMessage struct {
	Message string `json:"stream"`
}

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