Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetectFileType ¶
func IsGzipFile ¶
Types ¶
type DockerTarManifest ¶
type DockerTarManifest struct { Config string RepoTags []string Layers []string Parent digest.Digest `json:",omitempty"` LayerSources map[digest.Digest]types.Descriptor `json:",omitempty"` }
used by import/export to match docker tar expected format
type TarReadData ¶
type TarReadData struct {
// contains filtered or unexported fields
}
func AnalysisTar ¶
func AnalysisTar(tarPath string) (*TarReadData, error)
reference from: https://github.com/regclient/regclient/blob/v0.4.8/image.go
func (*TarReadData) GetDockerManifest ¶
func (trd *TarReadData) GetDockerManifest() schema2.Manifest
func (*TarReadData) GetDockerManifestList ¶
func (trd *TarReadData) GetDockerManifestList() []DockerTarManifest
Click to show internal directories.
Click to hide internal directories.