Documentation ¶
Overview ¶
Package cmd holds implementations of the runsc commands.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Boot ¶
type Boot struct {
// contains filtered or unexported fields
}
Boot implements subcommands.Command for the "boot" command which starts a new sandbox. It should not be called directly.
func (*Boot) Execute ¶
func (b *Boot) Execute(_ context.Context, f *flag.FlagSet, args ...interface{}) subcommands.ExitStatus
Execute implements subcommands.Command.Execute. It starts a sandbox in a waiting state.
type Create ¶
type Create struct {
// contains filtered or unexported fields
}
Create implements subcommands.Command for the "create" command.
func (*Create) Execute ¶
func (c *Create) Execute(_ context.Context, f *flag.FlagSet, args ...interface{}) subcommands.ExitStatus
Execute implements subcommands.Command.Execute.
type Delete ¶
type Delete struct {
// contains filtered or unexported fields
}
Delete implements subcommands.Command for the "delete" command.
func (*Delete) Execute ¶
func (d *Delete) Execute(_ context.Context, f *flag.FlagSet, args ...interface{}) subcommands.ExitStatus
Execute implements subcommands.Command.Execute.
type Events ¶
type Events struct {
// contains filtered or unexported fields
}
Events implements subcommands.Command for the "events" command.
func (*Events) Execute ¶
func (evs *Events) Execute(ctx context.Context, f *flag.FlagSet, args ...interface{}) subcommands.ExitStatus
Execute implements subcommands.Command.Execute.
type Exec ¶
type Exec struct {
// contains filtered or unexported fields
}
Exec implements subcommands.Command for the "exec" command.
func (*Exec) Execute ¶
func (ex *Exec) Execute(_ context.Context, f *flag.FlagSet, args ...interface{}) subcommands.ExitStatus
Execute implements subcommands.Command.Execute. It starts a process in an already created sandbox.
type Gofer ¶
type Gofer struct {
// contains filtered or unexported fields
}
Gofer implements subcommands.Command for the "gofer" command, which starts a filesystem gofer. This command should not be called directly.
func (*Gofer) Execute ¶
func (g *Gofer) Execute(_ context.Context, f *flag.FlagSet, args ...interface{}) subcommands.ExitStatus
Execute implements subcommands.Command.
type Kill ¶
type Kill struct{}
Kill implements subcommands.Command for the "kill" command.
func (*Kill) Execute ¶
func (*Kill) Execute(_ context.Context, f *flag.FlagSet, args ...interface{}) subcommands.ExitStatus
Execute implements subcommands.Command.Execute.
type List ¶
type List struct {
// contains filtered or unexported fields
}
List implements subcommands.Command for the "list" command for the "list" command.
func (*List) Execute ¶
func (l *List) Execute(_ context.Context, f *flag.FlagSet, args ...interface{}) subcommands.ExitStatus
Execute implements subcommands.Command.Execute.
type PS ¶
type PS struct {
// contains filtered or unexported fields
}
PS implements subcommands.Command for the "ps" command.
func (*PS) Execute ¶
func (ps *PS) Execute(ctx context.Context, f *flag.FlagSet, args ...interface{}) subcommands.ExitStatus
Execute implements subcommands.Command.Execute.
type Run ¶
type Run struct { // Run flags are a super-set of those for Create. Create }
Run implements subcommands.Command for the "run" command.
func (*Run) Execute ¶
func (r *Run) Execute(_ context.Context, f *flag.FlagSet, args ...interface{}) subcommands.ExitStatus
Execute implements subcommands.Command.Execute.
type Start ¶
type Start struct{}
Start implements subcommands.Command for the "start" command.
func (*Start) Execute ¶
func (*Start) Execute(_ context.Context, f *flag.FlagSet, args ...interface{}) subcommands.ExitStatus
Execute implements subcommands.Command.Execute.
type State ¶
type State struct{}
State implements subcommands.Command for the "state" command.
func (*State) Execute ¶
func (*State) Execute(_ context.Context, f *flag.FlagSet, args ...interface{}) subcommands.ExitStatus
Execute implements subcommands.Command.Execute.