Documentation ¶
Index ¶
- func GenerateACI(layerData types.DockerImageData, dockerURL *types.ParsedDockerURL, ...) (string, *schema.ImageManifest, error)
- func GenerateManifest(layerData types.DockerImageData, dockerURL *types.ParsedDockerURL) (*schema.ImageManifest, error)
- func GetAuthInfo(indexServer string) (string, string, error)
- func ParseDockerURL(arg string) *types.ParsedDockerURL
- func SplitReposName(reposName string) (string, string)
- func ValidateACI(aciPath string) error
- func WriteManifest(outputWriter *tar.Writer, manifest schema.ImageManifest) error
- func WriteRootfsDir(tarWriter *tar.Writer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateACI ¶
func GenerateACI(layerData types.DockerImageData, dockerURL *types.ParsedDockerURL, outputDir string, layerFile *os.File, curPwl []string, compress bool) (string, *schema.ImageManifest, error)
func GenerateManifest ¶
func GenerateManifest(layerData types.DockerImageData, dockerURL *types.ParsedDockerURL) (*schema.ImageManifest, error)
func GetAuthInfo ¶
GetDockercfgAuth reads a ~/.dockercfg file and returns the username and password of the given docker index server.
func ParseDockerURL ¶
func ParseDockerURL(arg string) *types.ParsedDockerURL
func SplitReposName ¶
splitReposName breaks a reposName into an index name and remote name
func ValidateACI ¶
func WriteManifest ¶
func WriteManifest(outputWriter *tar.Writer, manifest schema.ImageManifest) error
func WriteRootfsDir ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.