v1

package
v0.0.0-...-e008457 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2024 License: BSD-3-Clause Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppManifestMediaType = "application/vnd.oci.image.manifest.v1+json"
	AppManifestMaxSize   = 50 * 1024
	AppLayerMediaType    = "application/octet-stream"
	AppLayersMetaVersion = "v1"
)

Variables

This section is empty.

Functions

func GetAppRef

func GetAppRef(ctx context.Context) *compose.AppRef

func InstallApp

func InstallApp(ctx context.Context, app compose.App, provider compose.BlobProvider, blobRoot string, composeRoot string, dockerHost string) error

func MakeAkliteHappy

func MakeAkliteHappy(ctx context.Context, store compose.AppStore, app compose.App, platformMatcher platforms.MatchComparer) error

func NewAppLoader

func NewAppLoader() compose.AppLoader

func NewAppStore

func NewAppStore(root string, platform ocispec.Platform) (compose.AppStore, error)

func ReadAppManifest

func ReadAppManifest(ctx context.Context, provider compose.BlobProvider, ref string) (*appCtx, *ocispec.Descriptor, error)

func WithAppRef

func WithAppRef(ctx context.Context, ref *compose.AppRef) context.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

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