Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeserializedManifest ¶
DeserializedManifest wraps Manifest with a copy of the original JSON. It satisfies the distribution.Manifest interface.
func (*DeserializedManifest) MarshalJSON ¶
func (m *DeserializedManifest) MarshalJSON() ([]byte, error)
MarshalJSON returns the contents of canonical. If canonical is empty, marshals the inner contents.
func (DeserializedManifest) Payload ¶
func (m DeserializedManifest) Payload() (string, []byte, error)
Payload returns the raw content of the manifest. The contents can be used to calculate the content identifier.
func (*DeserializedManifest) References ¶
func (m *DeserializedManifest) References() []distribution.Descriptor
func (*DeserializedManifest) UnmarshalJSON ¶
func (m *DeserializedManifest) UnmarshalJSON(b []byte) error
UnmarshalJSON populates a new Manifest struct from JSON data.
Click to show internal directories.
Click to hide internal directories.