Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewContainerdClient ¶
func NewContainerdClient(opts Options) (_type.ContainerClient, error)
NewContainerdClient establishes a connection to containerd. The error is returned to the caller rather than panicking.
func Push ¶
func Push(ctx context.Context, client *containerd.Client, rawRef, username, password string, options types.ImagePushOptions) error
Push uploads `rawRef` to its remote registry. It mirrors nerdctl's push implementation but is parameterised by the credentials supplied via gRPC.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client wraps a containerd.Client and remembers which namespace to use.
func (*Client) CommitImageFromSelf ¶
CommitImageFromSelf snapshots the named container.
Click to show internal directories.
Click to hide internal directories.