Documentation ¶
Index ¶
- func GetDefaultStoreOptions() (storage.StoreOptions, error)
- func GetImageConfig(changes []string) (v1.ImageConfig, error)
- func GetRootlessRuntimeDir() (string, error)
- func GetRootlessStorageOpts() (storage.StoreOptions, error)
- func ParseIDMapping(UIDMapSlice, GIDMapSlice []string, subUIDMap, subGIDMap string) (*storage.IDMappingOptions, error)
- func ParseRegistryCreds(creds string) (*types.DockerAuthConfig, error)
- func StringInSlice(s string, sl []string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDefaultStoreOptions ¶ added in v0.11.1
func GetDefaultStoreOptions() (storage.StoreOptions, error)
GetDefaultStoreOptions returns the storage ops for containers
func GetImageConfig ¶ added in v0.4.4
func GetImageConfig(changes []string) (v1.ImageConfig, error)
GetImageConfig converts the --change flag values in the format "CMD=/bin/bash USER=example" to a type v1.ImageConfig
func GetRootlessRuntimeDir ¶ added in v0.11.1
GetRootlessRuntimeDir returns the runtime directory when running as non root
func GetRootlessStorageOpts ¶ added in v0.11.1
func GetRootlessStorageOpts() (storage.StoreOptions, error)
GetRootlessStorageOpts returns the storage ops for containers running as non root
func ParseIDMapping ¶ added in v0.5.2
func ParseIDMapping(UIDMapSlice, GIDMapSlice []string, subUIDMap, subGIDMap string) (*storage.IDMappingOptions, error)
ParseIDMapping takes idmappings and subuid and subgid maps and returns a storage mapping
func ParseRegistryCreds ¶
func ParseRegistryCreds(creds string) (*types.DockerAuthConfig, error)
ParseRegistryCreds takes a credentials string in the form USERNAME:PASSWORD and returns a DockerAuthConfig
func StringInSlice ¶ added in v0.3.3
StringInSlice determines if a string is in a string slice, returns bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.