Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommandExamples ¶
func CommandExamples() string
CommandExamples returns image command examples for Cobra.
func CommandLong ¶
func CommandLong() string
CommandLong returns the image command group introduction.
Types ¶
type LoadResult ¶
LoadResult carries image load outcome.
func Load ¶
func Load(ctx context.Context, clientAPI run.EdgeletAPIClient, uiProgress *ui.UI, req LoadRequest) (*LoadResult, error)
Load imports an image archive from a tar or tar.gz file path.
type PruneResult ¶
PruneResult carries image prune outcome.
func Prune ¶
func Prune(client run.EdgeletAPIClient, args []string) (*PruneResult, error)
Prune removes dangling images.
type PullRequest ¶
PullRequest carries image pull options.
type PullResult ¶
PullResult is the image pull command outcome.
func Pull ¶
func Pull(ctx context.Context, api run.EdgeletAPIClient, uiProgress *ui.UI, req PullRequest) (*PullResult, error)
Pull executes async image pull with shared polling progress.
type RemoveResult ¶
RemoveResult carries image remove outcome.
func Remove ¶
func Remove(client run.EdgeletAPIClient, selector string) (*RemoveResult, error)
Remove deletes an image by repository:tag, image ID, or image ID prefix.
Click to show internal directories.
Click to hide internal directories.