Documentation ¶
Index ¶
- Variables
- func ClaimTargetPlatforms(claimPlatforms []string)
- 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 CliManifest(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, opts CreateImageOptions) 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 NewInfoFromInspect(ref string, inspect *types.ImageInspect) *image.Info
- 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 CreateImageOptions
- type InitOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DockerConfigDir string
)
Functions ¶
func ClaimTargetPlatforms ¶ added in v1.2.223
func ClaimTargetPlatforms(claimPlatforms []string)
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 CreateImage(ctx context.Context, ref string, opts CreateImageOptions) error
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 NewInfoFromInspect ¶ added in v1.2.236
func NewInfoFromInspect(ref string, inspect *types.ImageInspect) *image.Info
func SyncContextCliWithLogger ¶ added in v1.1.23
Types ¶
type BuildOptions ¶ added in v1.2.220
type BuildOptions struct {
EnableBuildx bool
}
type CreateImageOptions ¶ added in v1.2.223
type CreateImageOptions struct {
Labels []string
}
Click to show internal directories.
Click to hide internal directories.