package
1.4.0-beta.2
Repository: https://github.com/crisesw/containerd.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

FromContext returns the lease from the context.
SynchronousDelete is used to indicate that a lease deletion and removal of any unreferenced resources should occur synchronously before returning the result.
WithExpiration sets an expiration on the lease.
WithID sets the ID for the lease.
WithLabels sets labels on a lease.
WithLease sets a given lease on the context.
WithRandomID sets the lease ID to a random unique value.

# Constants

GRPCHeader defines the header name for specifying a containerd lease.

# Structs

DeleteOptions provide options on image delete.
Lease retains resources to prevent cleanup before the resources can be fully referenced.
Resource represents low level resource of image, like content, ingest and snapshotter.

# Interfaces

Manager is used to create, list, and remove leases.

# Type aliases

DeleteOpt allows configuring a delete operation.
Opt is used to set options on a lease.