oras

package
v0.0.0-...-f6a3884 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadArtifact

func LoadArtifact(
	uri string,
	mediaType string,
	cache string,
) (*compat.CompatibiitySpec, 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) (*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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL