docker_inst

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package docker_inst/client.go was generated by codegen, do not modify it

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateImageTag added in v1.1.3

func CreateImageTag(_string string, _string2 string) (io.ReadCloser, error)

func ExportImage added in v1.1.3

func ExportImage(_string string) (io.ReadCloser, error)

func HostImageGC added in v1.1.3

func HostImageGC(hostImageGCFunc docker_api.HostImageGCFunc)

func ImportImage added in v1.1.3

func ImportImage(_string string, reader io.Reader) (io.ReadCloser, error)

func Init

func Init()

func ListContainerFullIds

func ListContainerFullIds() ([]string, error)

func ListContainerIds

func ListContainerIds() ([]string, error)

func ListContainerNames

func ListContainerNames() ([]string, error)

func ListContainers

func ListContainers() ([]types.Container, error)

func WithContext

func WithContext(context context.Context) *docker_api.Client

func WithPage

func WithPage(page *util.Page) *docker_api.Client

Types

type ConfigOption

type ConfigOption struct {
	sync.Once
	// contains filtered or unexported fields
}

func NewConfig

func NewConfig() *ConfigOption

func (*ConfigOption) Load

func (o *ConfigOption) Load() *ConfigOption

func (*ConfigOption) WithContext

func (o *ConfigOption) WithContext(ctx context.Context) *ConfigOption

func (*ConfigOption) WithHost

func (o *ConfigOption) WithHost(host string) *ConfigOption

func (*ConfigOption) WithVersion

func (o *ConfigOption) WithVersion(version string) *ConfigOption

Jump to

Keyboard shortcuts

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