Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSociSnapshotterService ¶
func NewSociSnapshotterService(ctx context.Context, root string, serviceCfg *config.ServiceConfig, opts ...Option) (snapshots.Snapshotter, error)
NewSociSnapshotterService returns soci snapshotter.
Types ¶
type Option ¶
type Option func(*options)
func WithCredsFuncs ¶
func WithCredsFuncs(creds ...resolver.Credential) Option
WithCredsFuncs specifies credsFuncs to be used for connecting to the registries.
func WithCustomRegistryHosts ¶
func WithCustomRegistryHosts(hosts source.RegistryHosts) Option
WithCustomRegistryHosts is registry hosts to use instead.
func WithFilesystemOptions ¶
WithFilesystemOptions allowes to pass filesystem-related configuration.
Click to show internal directories.
Click to hide internal directories.