cnab

package
v0.9.1-beta1 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2020 License: Apache-2.0 Imports: 25 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBundle

func GetBundle(dockerCli command.Cli, imageStore appstore.ImageStore, name string) (*image.AppImage, reference.Reference, error)

GetBundle searches for the bundle locally and tries to pull it if not found

func PullBundle

func PullBundle(dockerCli command.Cli, imageStore appstore.ImageStore, tagRef reference.Named) (*image.AppImage, error)

PullBundle pulls the bundle and stores it into the bundle store

func ResolveBundle

func ResolveBundle(dockerCli command.Cli, imageStore appstore.ImageStore, name string) (*image.AppImage, string, error)

ResolveBundle looks for a CNAB bundle which can be in a Docker App Package format or a bundle stored locally or in the bundle store. It returns a built or found bundle, a reference to the bundle if it is found in the imageStore, and an error.

func SetupDriver

func SetupDriver(installation *store.Installation, dockerCli command.Cli, opts *cliopts.InstallerContextOptions, stdout io.Writer) (driver.Driver, *bytes.Buffer, error)

func WithRelocationMap

func WithRelocationMap(installation *store.Installation) func(op *driver.Operation) error

Types

type BindMount

type BindMount struct {
	// contains filtered or unexported fields
}

BindMount

func RequiredBindMount

func RequiredBindMount(targetContextName string, targetOrchestrator string, s cliContext.Store) (BindMount, error)

RequiredBindMount Returns the path required to bind mount when running the invocation image.

func RequiredClaimBindMount

func RequiredClaimBindMount(c claim.Claim, dockerCli command.Cli) (BindMount, error)

Jump to

Keyboard shortcuts

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