Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Registry ¶
type Registry struct { Store // contains filtered or unexported fields }
Registry enables manipulation of images via containerd modules.
func NewRegistry ¶
func NewRegistry(options ...RegistryOption) (registry *Registry, err error)
NewRegistry returns a new containerd Registry and a function to destroy it after use. The destroy function is safe to call more than once, but is a no-op after the first call.
func (*Registry) Destroy ¶
Destroy cleans up the on-disk boltdb file and other cache files, unless preserve cache is true
type RegistryConfig ¶
type RegistryOption ¶
type RegistryOption func(config *RegistryConfig)
func PreserveCache ¶
func PreserveCache(preserve bool) RegistryOption
func SkipTLS ¶ added in v1.7.0
func SkipTLS(skip bool) RegistryOption
func WithCacheDir ¶
func WithCacheDir(dir string) RegistryOption
func WithLog ¶
func WithLog(log *logrus.Entry) RegistryOption
func WithResolverConfigDir ¶
func WithResolverConfigDir(path string) RegistryOption
func WithRootCAs ¶
func WithRootCAs(pool *x509.CertPool) RegistryOption
Click to show internal directories.
Click to hide internal directories.