Documentation ¶
Index ¶
- func LoadArtifact(uri string, mediaType string, cache string) (types.CompatibilityRequest, error)
- func LoadFromCache(uri, cache string) (types.CompatibilityRequest, error)
- func LoadFromRegistry(uri, mediaType string) (types.CompatibilityRequest, error)
- func SaveToCache(request types.CompatibilityRequest, uri, cache string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadArtifact ¶
func LoadArtifact( uri string, mediaType string, cache string, ) (types.CompatibilityRequest, error)
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) (types.CompatibilityRequest, error)
LoadFromCache loads the compatibility request from cache
func LoadFromRegistry ¶
func LoadFromRegistry(uri, mediaType string) (types.CompatibilityRequest, error)
Load the artifact from a registry
func SaveToCache ¶
func SaveToCache(request types.CompatibilityRequest, uri, cache string) error
Save to cache
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.