Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Layer ¶
type Layer struct { MediaType string `json:"mediaType"` Size int `json:"size"` Digest string `json:"digest"` Urls []string `json:"urls,omitempty"` /*Кейс с urls - очень редкий. TODO: Добавить возможность скачивать с других адресов С возможностью указаний где хранится другой кусок и сколько байтов в этом куске*/ }
type Manifest ¶
type Manifest struct { SchemaVersion int `json:"schemaVersion"` MediaType string `json:"mediaType"` Config ManifestConfig `json:"config"` Layers []Layer `json:"layers"` }
type ManifestConfig ¶
Click to show internal directories.
Click to hide internal directories.