commit

package
v2.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2025 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Commit

func Commit(ctx context.Context, client *containerd.Client, container containerd.Container, opts *Opts, globalOptions types.GlobalCommandOptions) (digest.Digest, error)

func Sync added in v2.0.4

func Sync()

Types

type Changes

type Changes struct {
	CMD, Entrypoint []string
}

type Opts

type Opts struct {
	Author      string
	Message     string
	Ref         string
	Pause       bool
	Changes     Changes
	Compression types.CompressionType
	Format      types.ImageFormat
	types.EstargzOptions
	types.ZstdChunkedOptions
}

Jump to

Keyboard shortcuts

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