Documentation
¶
Overview ¶
Package oci defines general purpose oci push and pull operations backed by oras.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParsePlatform ¶
ParsePlatform accepts an "os/architecture/variant"-formatted string and returns a pointer to an ocispec.Platform.
func PlatformToString ¶
PlatformToString accepts a pointer to an ocispec.Platform and turns it into an "os/architecture/variant"-formatted string.
Types ¶
type PushDir ¶
type PushDir struct {
*Action
Platform platformValue
// Use legacy media types
Legacy bool
// Reproducible removes timestamps.
Reproducible bool
}
PushDir represents the oci pushdir action.
Click to show internal directories.
Click to hide internal directories.