docker

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadAndExtractDockerImage

func DownloadAndExtractDockerImage(ctx bhojpurtypes.Context, image, dest string, auth *types.AuthConfig, verify bool) (*images.Image, error)

DownloadAndExtractDockerImage extracts a container image natively. It supports privileged/unprivileged mode

func DownloadImage

func DownloadImage(c *cli.Context) error

func ExtractDockerImage

func ExtractDockerImage(ctx bhojpurtypes.Context, local, dest string) (*images.Image, error)

func SquashImage

func SquashImage(c *cli.Context) error

func UnpackImage

func UnpackImage(c *cli.Context) error

Types

type UnpackEventData

type UnpackEventData struct {
	Image string
	Dest  string
}

UnpackEventData is the data structure to pass for the bus events

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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