Documentation ¶
Index ¶
- Constants
- Variables
- func GetAppRef(ctx context.Context) *compose.AppRef
- func InstallApp(ctx context.Context, app compose.App, provider compose.BlobProvider, ...) error
- func MakeAkliteHappy(ctx context.Context, store compose.AppStore, app compose.App, ...) error
- func NewAppLoader() compose.AppLoader
- func NewAppStore(root string, platform ocispec.Platform) (compose.AppStore, error)
- func ReadAppManifest(ctx context.Context, provider compose.BlobProvider, ref string) (*appCtx, *ocispec.Descriptor, error)
- func WithAppRef(ctx context.Context, ref *compose.AppRef) context.Context
Constants ¶
View Source
const ( AppManifestMediaType = "application/vnd.oci.image.manifest.v1+json" AppManifestMaxSize = 50 * 1024 AppBundleFileMaxSize = 1024 * 1024 * 1024 AppComposeMaxSize = 100 * 1024 AppBundleMaxSize = AppComposeMaxSize + AppBundleFileMaxSize AppLayerMediaType = "application/octet-stream" AppLayersMetaVersion = "v1" AppServiceHashLabelKey = "io.compose-spec.config-hash" AnnotationKeyAppBundleIndexDigest = "org.foundries.app.bundle.index.digest" AnnotationKeyAppBundleIndexSize = "org.foundries.app.bundle.index.size" )
Variables ¶
View Source
var (
ErrAppIndexNotFound = errors.New("app blob index is not found")
)
Functions ¶
func InstallApp ¶
func MakeAkliteHappy ¶
func NewAppLoader ¶
func NewAppStore ¶
func ReadAppManifest ¶
func ReadAppManifest(ctx context.Context, provider compose.BlobProvider, ref string) (*appCtx, *ocispec.Descriptor, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.