Documentation ¶
Index ¶
- Variables
- func CliBuild_LiveOutput(ctx context.Context, args ...string) error
- func CliBuild_LiveOutputWithCustomIn(ctx context.Context, rc io.ReadCloser, args ...string) error
- func CliCreate(ctx context.Context, args ...string) error
- func CliPull(ctx context.Context, args ...string) error
- func CliPullWithRetries(ctx context.Context, args ...string) error
- func CliPushWithRetries(ctx context.Context, args ...string) error
- func CliRm(ctx context.Context, args ...string) error
- func CliRm_RecordedOutput(ctx context.Context, args ...string) (string, error)
- func CliRmi(ctx context.Context, args ...string) error
- func CliRmi_LiveOutput(ctx context.Context, args ...string) error
- func CliRun(ctx context.Context, args ...string) error
- func CliRun_LiveOutput(ctx context.Context, args ...string) error
- func CliRun_ProvidedOutput(ctx context.Context, stdoutWriter, stderrWriter io.Writer, args ...string) error
- func CliRun_RecordedOutput(ctx context.Context, args ...string) (string, error)
- func CliTag(ctx context.Context, args ...string) error
- func ContainerAttach(ctx context.Context, ref string, options types.ContainerAttachOptions) (types.HijackedResponse, error)
- func ContainerCommit(ctx context.Context, ref string, commitOptions types.ContainerCommitOptions) (string, error)
- func ContainerExist(ctx context.Context, ref string) (bool, error)
- func ContainerInspect(ctx context.Context, ref string) (types.ContainerJSON, error)
- func ContainerRemove(ctx context.Context, ref string, options types.ContainerRemoveOptions) error
- func Containers(ctx context.Context, options types.ContainerListOptions) ([]types.Container, error)
- func CreateImage(ctx context.Context, ref string, labels map[string]string) error
- func GetDefaultPlatform() string
- func GetDockerConfigCredentialsFile(configDir string) string
- func GetRuntimePlatform() string
- func ImageExist(ctx context.Context, ref string) (bool, error)
- func ImageInspect(ctx context.Context, ref string) (*types.ImageInspect, error)
- func Images(ctx context.Context, options types.ImageListOptions) ([]types.ImageSummary, error)
- func Info(ctx context.Context) (types.Info, error)
- func Init(ctx context.Context, opts InitOptions) error
- func IsContext(ctx context.Context) bool
- func IsEnabled() bool
- func Login(ctx context.Context, username, password, repo string) error
- func NewBuildxCommand(dockerCli command.Cli) *cobra.Command
- func NewContext(ctx context.Context) (context.Context, error)
- func ServerVersion(ctx context.Context) (*types.Version, error)
- func SyncContextCliWithLogger(ctx context.Context) error
- func VolumeRm(ctx context.Context, volumeName string, force bool) error
- type BuildOptions
- type InitOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DockerConfigDir string
)
Functions ¶
func CliBuild_LiveOutputWithCustomIn ¶ added in v1.2.2
func CliRm_RecordedOutput ¶
func CliRun_ProvidedOutput ¶ added in v1.2.26
func CliRun_RecordedOutput ¶
func ContainerAttach ¶ added in v1.2.1
func ContainerAttach(ctx context.Context, ref string, options types.ContainerAttachOptions) (types.HijackedResponse, error)
func ContainerCommit ¶
func ContainerInspect ¶
func ContainerRemove ¶
func Containers ¶
func CreateImage ¶
func GetDefaultPlatform ¶ added in v1.2.215
func GetDefaultPlatform() string
func GetDockerConfigCredentialsFile ¶ added in v1.2.175
func GetRuntimePlatform ¶ added in v1.2.215
func GetRuntimePlatform() string
func ImageInspect ¶
func Images ¶
func Images(ctx context.Context, options types.ImageListOptions) ([]types.ImageSummary, error)
func NewBuildxCommand ¶ added in v1.2.220
func SyncContextCliWithLogger ¶ added in v1.1.23
Types ¶
type BuildOptions ¶ added in v1.2.220
type BuildOptions struct {
EnableBuildx bool
}
Click to show internal directories.
Click to hide internal directories.