# Functions
GetImageConfig converts the --change flag values in the format "CMD=/bin/bash USER=example" to a type v1.ImageConfig.
ParseIDMapping takes idmappings and subuid and subgid maps and returns a storage mapping.
ParseRegistryCreds takes a credentials string in the form USERNAME:PASSWORD and returns a DockerAuthConfig.
StringInSlice determines if a string is in a string slice, returns bool.