core

package
v0.0.0-...-75b4f67 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerOppai

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

func NewOppai

func NewOppai(ctx context.Context, cli *client.Client) DockerOppai

func (*DockerOppai) ImagesBuild

func (d *DockerOppai) ImagesBuild(opt types.ImageBuildOptions, src, dockerFile string, f func(rd io.Reader) error) error

func (*DockerOppai) ImagesHistory

func (d *DockerOppai) ImagesHistory(image string) ([]image.HistoryResponseItem, error)

func (*DockerOppai) ImagesImport

func (d *DockerOppai) ImagesImport(ref string, src image.ImportSource, opt image.ImportOptions, f func(rd io.Reader) error) error

func (*DockerOppai) ImagesList

func (d *DockerOppai) ImagesList(opt image.ListOptions) ([]image.Summary, error)

func (*DockerOppai) ImagesPull

func (d *DockerOppai) ImagesPull(ref string, opt image.PullOptions, f func(rd io.Reader) error) error

func (*DockerOppai) ImagesPush

func (d *DockerOppai) ImagesPush(image string, opt image.PushOptions, f func(rd io.Reader) error) error

func (*DockerOppai) Login

func (d *DockerOppai) Login(username, password, server string) string

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