Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrepareBlobContent ¶
func PrepareBlobContent(path string, mediaType string, dgstStr string, size int64) (desc ocispec.Descriptor, rc io.ReadCloser, prepareErr error)
PrepareBlobContent prepares the content descriptor for blob from the file path or stdin. Use the input digest and size if they are provided. Will return error if the content is from stdin but the content digest and size are missing.
func PrepareManifestContent ¶
PrepareManifestContent prepares the content for manifest from the file path or stdin.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.