core

package
v0.0.0-...-b0de07e Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Asuka

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

func NewAsuka

func NewAsuka(c *client.Client, ctx context.Context) *Asuka

func (*Asuka) ContainerCreate

func (a *Asuka) ContainerCreate(cfg *container.Config, host *container.HostConfig,
	network *network.NetworkingConfig, platform *ocispec.Platform, name string) (*string, error)

func (*Asuka) ImageList

func (a *Asuka) ImageList(opt image.ListOptions) (*[]image.Summary, error)

func (*Asuka) ImagesBuild

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

func (*Asuka) ImagesHistory

func (a *Asuka) ImagesHistory(image string) ([]image.HistoryResponseItem, error)

func (*Asuka) ImagesImport

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

func (*Asuka) ImagesInspect

func (a *Asuka) ImagesInspect(image string) (*types.ImageInspect, []byte, error)

func (*Asuka) ImagesPull

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

func (*Asuka) ImagesPush

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

func (*Asuka) ImagesRemove

func (a *Asuka) ImagesRemove(image string, opt image.RemoveOptions) (*[]image.DeleteResponse, error)

func (*Asuka) ImagesSave

func (a *Asuka) ImagesSave(image []string, f func(rd io.Reader) error) error

func (*Asuka) ImagesSearch

func (a *Asuka) ImagesSearch(keyword string, opt registry.SearchOptions) (*[]registry.SearchResult, error)

func (*Asuka) ImagesTag

func (a *Asuka) ImagesTag(src, dest string) error

func (*Asuka) NetworkConnect

func (a *Asuka) NetworkConnect(network, container string, opt *network.EndpointSettings) error

func (*Asuka) NetworkCreate

func (a *Asuka) NetworkCreate(name string, opt network.CreateOptions) (*string, error)

func (*Asuka) NetworkDisconnect

func (a *Asuka) NetworkDisconnect(network, container string, force bool) error

func (*Asuka) NetworkInspect

func (a *Asuka) NetworkInspect(network string, opt network.InspectOptions) (*network.Inspect, []byte, error)

func (*Asuka) NetworkList

func (a *Asuka) NetworkList(opt network.ListOptions) (*[]network.Summary, error)

func (*Asuka) NetworkRemove

func (a *Asuka) NetworkRemove(network string) error

func (*Asuka) NetworksPrune

func (a *Asuka) NetworksPrune(filter filters.Args) (*[]string, error)

func (*Asuka) Ping

func (a *Asuka) Ping() error

func (*Asuka) SetAuth

func (a *Asuka) SetAuth(username, password, server string) *Asuka

Jump to

Keyboard shortcuts

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