Documentation ¶
Index ¶
- func LoadArtifact(uri string, mediaType string, cache string) (*compat.CompatibiitySpec, error)
- func LoadFromCache(uri, cache string) (*compat.CompatibiitySpec, error)
- func LoadFromRegistry(uri, mediaType string) (*compat.CompatibiitySpec, error)
- func SaveToCache(request *compat.CompatibiitySpec, uri, cache string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadArtifact ¶
Oras will provide an interface to retrieve an artifact, specifically a compatibillity spec artifact media type LoadArtifact retrieves the artifact from the url string and returns based on the media type
func LoadFromCache ¶
func LoadFromCache(uri, cache string) (*compat.CompatibiitySpec, error)
LoadFromCache loads the compatibility request from cache
func LoadFromRegistry ¶
func LoadFromRegistry(uri, mediaType string) (*compat.CompatibiitySpec, error)
Load the artifact from a registry
func SaveToCache ¶
func SaveToCache(request *compat.CompatibiitySpec, uri, cache string) error
Save to cache
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.