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 BuildImage(reader io.Reader, _string string) (docker_api.BuildImageRespV1, error)
- func BuildImageFavOption(_string string) types.ImageBuildOptions
- func BuildImageV2(reader io.Reader, _string string) (docker_api.BuildImageRespV1, error)
- func BuildImageV3(context context.Context, reader io.Reader, ...) (docker_api.BuildImageRespV2, error)
- func BuildImageV4(context context.Context, reader io.Reader, ...) (docker_api.BuildImageRespV1, error)
- func BuildImageWithCancel(context context.Context, reader io.Reader, _string string) (docker_api.BuildImageRespV1, *context.CancelFunc, error)
- func CreateImageTag(_string string, _string2 string) (io.ReadCloser, error)
- func CreateImageTagV2(_string string, _string2 string) (docker_api.PushImageOfficialAPIResp, error)
- func CreateImageTagV3(_string string, _string2 string) (docker_client.EventResp, error)
- func ExportImage(_string string) (docker_api.ExportImageResp, error)
- func ExportImageV2(_string string) (docker_api.ExportImageRespV2, error)
- func GC(varLenfunc ...util.Func)
- func GetAPIProvider() api_provider.APIProvider
- func HostImageStorageGC(varLenhostImageGCFunc ...docker_api.HostImageGCFunc)
- func ImagePrune(clearImage docker_api.ClearImage) (image.PruneReport, error)
- func ImportImage(_string string, reader io.Reader) (docker_api.ImportImageResp, error)
- func ImportImageV2(_string string, reader io.Reader) (docker_api.ImportImageResp, error)
- func ImportImageV3(_string string, reader io.Reader) (docker_api.ImportImageRespV3, error)
- func Init()
- func InspectImage(_string string) (types.ImageInspect, error)
- func ListContainerIds() ([]string, error)
- func ListContainerNames() ([]string, error)
- func ListContainers() ([]types.Container, error)
- func RegistryAuth(authConfig *registry.AuthConfig) (string, error)
- func SystemDF(varLendiskUsageObject ...types.DiskUsageObject) (types.DiskUsage, error)
- func SystemEvent(showEvent docker_api.ShowEvent) (<-chan events.Message, <-chan error)
- func SystemInfo() (system.Info, error)
- func SystemPing() (types.Ping, error)
- func SystemVersion() (types.Version, error)
- func WithContext(context context.Context) *docker_api.Client
- func WithPage(page *util.Page) *docker_api.Client
- func WithProject(_string string) *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 BuildImage ¶ added in v1.2.35
func BuildImage(reader io.Reader, _string string) (docker_api.BuildImageRespV1, error)
func BuildImageFavOption ¶ added in v1.2.35
func BuildImageFavOption(_string string) types.ImageBuildOptions
func BuildImageV2 ¶ added in v1.2.40
func BuildImageV2(reader io.Reader, _string string) (docker_api.BuildImageRespV1, error)
func BuildImageV3 ¶ added in v1.2.41
func BuildImageV3(context context.Context, reader io.Reader, imageBuildOptions types.ImageBuildOptions) (docker_api.BuildImageRespV2, error)
func BuildImageV4 ¶ added in v1.2.41
func BuildImageV4(context context.Context, reader io.Reader, imageBuildOptions types.ImageBuildOptions) (docker_api.BuildImageRespV1, error)
func BuildImageWithCancel ¶ added in v1.2.39
func BuildImageWithCancel(context context.Context, reader io.Reader, _string string) (docker_api.BuildImageRespV1, *context.CancelFunc, error)
func CreateImageTag ¶ added in v1.1.3
func CreateImageTag(_string string, _string2 string) (io.ReadCloser, error)
func CreateImageTagV2 ¶ added in v1.2.31
func CreateImageTagV2(_string string, _string2 string) (docker_api.PushImageOfficialAPIResp, error)
func CreateImageTagV3 ¶ added in v1.2.34
func CreateImageTagV3(_string string, _string2 string) (docker_client.EventResp, error)
func ExportImage ¶ added in v1.1.3
func ExportImage(_string string) (docker_api.ExportImageResp, error)
func ExportImageV2 ¶ added in v1.2.34
func ExportImageV2(_string string) (docker_api.ExportImageRespV2, error)
func GetAPIProvider ¶ added in v1.2.41
func GetAPIProvider() api_provider.APIProvider
func HostImageStorageGC ¶ added in v1.1.4
func HostImageStorageGC(varLenhostImageGCFunc ...docker_api.HostImageGCFunc)
func ImagePrune ¶ added in v1.2.41
func ImagePrune(clearImage docker_api.ClearImage) (image.PruneReport, error)
func ImportImage ¶ added in v1.1.3
func ImportImage(_string string, reader io.Reader) (docker_api.ImportImageResp, error)
func ImportImageV2 ¶ added in v1.2.31
func ImportImageV2(_string string, reader io.Reader) (docker_api.ImportImageResp, error)
func ImportImageV3 ¶ added in v1.2.34
func ImportImageV3(_string string, reader io.Reader) (docker_api.ImportImageRespV3, error)
func InspectImage ¶ added in v1.1.4
func InspectImage(_string string) (types.ImageInspect, error)
func ListContainerIds ¶
func ListContainerNames ¶
func ListContainers ¶
func RegistryAuth ¶ added in v1.1.4
func RegistryAuth(authConfig *registry.AuthConfig) (string, error)
func SystemDF ¶ added in v1.2.41
func SystemDF(varLendiskUsageObject ...types.DiskUsageObject) (types.DiskUsage, error)
func SystemEvent ¶ added in v1.2.41
func SystemEvent(showEvent docker_api.ShowEvent) (<-chan events.Message, <-chan error)
func SystemInfo ¶ added in v1.2.41
func SystemPing ¶ added in v1.2.41
func SystemVersion ¶ added in v1.2.41
func WithContext ¶
func WithContext(context context.Context) *docker_api.Client
func WithProject ¶ added in v1.2.35
func WithProject(_string string) *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.