buildkit

package
v0.0.0-...-6bb5bf3 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package buildkitdial provides connhelper for docker-container://<container>

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver interface {
	Stop(ctx context.Context) error
	Resume(ctx context.Context) error
	PruneExcept(ctx context.Context, whitelist []string) error
	PrintDiskUsage(ctx context.Context) ([]byte, error)
	CopyFrom(ctx context.Context, path string) (io.ReadCloser, int64, error)
	CopyTo(ctx context.Context, path string, content io.Reader) error
}

func NewContainerizedDriver

func NewContainerizedDriver(ctx context.Context, docker client.CommonAPIClient, builderName string) (Driver, error)

Jump to

Keyboard shortcuts

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