Documentation ¶
Index ¶
Constants ¶
View Source
const ( RecommendedStorePathFlagName = "store-path" RecommendedDockerConfigPathsFlagName = "docker-config-path" )
View Source
const ( RecommendedStorePathFlagUsage = "Path where to store all local images and index information (such as tags)." RecommendedDockerConfigPathsFlagUsage = "Paths to look up for docker configuration. Leave empty for default location." )
Variables ¶
View Source
var ( // DefaultStorePath is the default store path. If your user does not have a home directory, // this is empty and needs to be passed in as a flag. DefaultStorePath string )
Functions ¶
Types ¶
type RemoteRegistryFactory ¶
RemoteRegistryFactory is a factory for a remote.Registry.
func DefaultRemoteRegistryFactory ¶
func DefaultRemoteRegistryFactory(configPaths []string) RemoteRegistryFactory
type RequestResolverFactory ¶
type RequestResolverFactory func() (*docker.RequestResolver, error)
func DefaultRequestResolverFactory ¶
func DefaultRequestResolverFactory(configPaths []string) RequestResolverFactory
type StoreFactory ¶
StoreFactory is a factory for a store.Store.
func DefaultStoreFactory ¶
func DefaultStoreFactory(storePath *string) StoreFactory
DefaultStoreFactory returns a new StoreFactory that dereferences the store path at invocation time.
Click to show internal directories.
Click to hide internal directories.