Documentation ¶
Index ¶
- func GetBundle(dockerCli command.Cli, imageStore appstore.ImageStore, name string) (*image.AppImage, reference.Reference, error)
- func PullBundle(dockerCli command.Cli, imageStore appstore.ImageStore, tagRef reference.Named) (*image.AppImage, error)
- func ResolveBundle(dockerCli command.Cli, imageStore appstore.ImageStore, name string) (*image.AppImage, string, error)
- func SetupDriver(installation *store.Installation, dockerCli command.Cli, ...) (driver.Driver, *bytes.Buffer, error)
- func WithRelocationMap(installation *store.Installation) func(op *driver.Operation) error
- type BindMount
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 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.
Click to show internal directories.
Click to hide internal directories.