manifest

package
v0.10.7 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package manifest implements helper functions for the stored manifest.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadBundleRevision

func ReadBundleRevision(ctx context.Context, store storage.Store, txn storage.Transaction) (string, error)

ReadBundleRevision returns the revision in the currently activated bundle. If there is no activated bundle, ths function will return storage NotFound error.

func ReadBundleRoots

func ReadBundleRoots(ctx context.Context, store storage.Store, txn storage.Transaction) ([]string, error)

ReadBundleRoots returns the roots specified in the currently activated bundle. If there is no activated bundle, this function will return storage NotFound error.

func Write

Write the manifest into the storage. This function is called when the bundle is activated.

Types

This section is empty.

Jump to

Keyboard shortcuts

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