tasks

package
v1.3.0-k3s.5-zfs Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2020 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Command = cli.Command{
	Name:    "tasks",
	Usage:   "manage tasks",
	Aliases: []string{"t", "task"},
	Subcommands: []cli.Command{
		attachCommand,
		checkpointCommand,
		deleteCommand,
		execCommand,
		listCommand,
		killCommand,
		pauseCommand,
		psCommand,
		resumeCommand,
		startCommand,
	},
}

Command is the cli command for managing tasks

Functions

func HandleConsoleResize

func HandleConsoleResize(ctx gocontext.Context, task resizer, con console.Console) error

HandleConsoleResize resizes the console

func NewTask

func NewTask(ctx gocontext.Context, client *containerd.Client, container containerd.Container, checkpoint string, con console.Console, nullIO bool, logURI string, ioOpts []cio.Opt, opts ...containerd.NewTaskOpts) (containerd.Task, error)

NewTask creates a new task

Types

This section is empty.

Jump to

Keyboard shortcuts

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