Documentation ¶
Overview ¶
Package docker_inst/client.go was generated by codegen, please fix its package dependency, but do not modify its functionality
global config
global var
Index ¶
- func CreateImageTag(_string string, _string2 string) (io.ReadCloser, error)
- func ExportContainer(_string string) (io.ReadCloser, error)
- func ExportImage(_string string) (io.ReadCloser, error)
- func GC(varLenfunc ...util.Func)
- func HostImageStorageGC(varLenhostImageGCFunc ...docker_api.HostImageGCFunc)
- func ImportContainer(_string string) (io.ReadCloser, error)
- func ImportImage(_string string, reader io.Reader) (io.ReadCloser, error)
- func Init()
- func InspectImage(_string string) (types.ImageInspect, error)
- func ListContainerFullIds() ([]string, error)
- func ListContainerIds() ([]string, error)
- func ListContainerNames() ([]string, error)
- func ListContainers() ([]types.Container, error)
- func RegistryAuth(authConfig *registry.AuthConfig) (string, error)
- func WithContext(context context.Context) *docker_api.Client
- func WithPage(page *util.Page) *docker_api.Client
- func WithRegistryAuth(authConfig *registry.AuthConfig) *docker_api.Client
- type ConfigOption
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 ExportContainer ¶ added in v1.1.4
func ExportContainer(_string string) (io.ReadCloser, error)
func ExportImage ¶ added in v1.1.3
func ExportImage(_string string) (io.ReadCloser, error)
func HostImageStorageGC ¶ added in v1.1.4
func HostImageStorageGC(varLenhostImageGCFunc ...docker_api.HostImageGCFunc)
func ImportContainer ¶ added in v1.1.4
func ImportContainer(_string string) (io.ReadCloser, error)
func ImportImage ¶ added in v1.1.3
func InspectImage ¶ added in v1.1.4
func InspectImage(_string string) (types.ImageInspect, error)
func ListContainerFullIds ¶
func ListContainerIds ¶
func ListContainerNames ¶
func ListContainers ¶
func RegistryAuth ¶ added in v1.1.4
func RegistryAuth(authConfig *registry.AuthConfig) (string, error)
func WithContext ¶
func WithContext(context context.Context) *docker_api.Client
func WithRegistryAuth ¶ added in v1.1.4
func WithRegistryAuth(authConfig *registry.AuthConfig) *docker_api.Client
Types ¶
type ConfigOption ¶
func New ¶ added in v1.1.5
func New() *ConfigOption
func (*ConfigOption) Load ¶
func (o *ConfigOption) Load()
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
Click to show internal directories.
Click to hide internal directories.