exec

package module
v0.0.0-...-a6b4b05 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2020 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewKillProcessActionCommandSpec

func NewKillProcessActionCommandSpec() spec.ExpActionCommandSpec

func NewMemCommandModelSpec

func NewMemCommandModelSpec() spec.ExpModelCommandSpec

func NewProcessCommandModelSpec

func NewProcessCommandModelSpec() spec.ExpModelCommandSpec

func NewShowActionSpec

func NewShowActionSpec() spec.ExpActionCommandSpec

func NewStopProcessActionCommandSpec

func NewStopProcessActionCommandSpec() spec.ExpActionCommandSpec

func NewTestCommandSpec

func NewTestCommandSpec() spec.ExpModelCommandSpec

Types

type KillProcessActionCommandSpec

type KillProcessActionCommandSpec struct {
	spec.BaseExpActionCommandSpec
}

func (*KillProcessActionCommandSpec) Aliases

func (*KillProcessActionCommandSpec) Aliases() []string

func (*KillProcessActionCommandSpec) LongDesc

func (*KillProcessActionCommandSpec) Name

func (*KillProcessActionCommandSpec) ShortDesc

func (*KillProcessActionCommandSpec) ShortDesc() string

type KillProcessExecutor

type KillProcessExecutor struct {
	// contains filtered or unexported fields
}

func (*KillProcessExecutor) Exec

func (kpe *KillProcessExecutor) Exec(uid string, ctx context.Context, model *spec.ExpModel) *spec.Response

func (*KillProcessExecutor) Name

func (kpe *KillProcessExecutor) Name() string

func (*KillProcessExecutor) SetChannel

func (kpe *KillProcessExecutor) SetChannel(channel spec.Channel)

type MemCommandModelSpec

type MemCommandModelSpec struct {
	spec.BaseExpModelCommandSpec
}

func (*MemCommandModelSpec) Example

func (*MemCommandModelSpec) Example() string

func (*MemCommandModelSpec) LongDesc

func (*MemCommandModelSpec) LongDesc() string

func (*MemCommandModelSpec) Name

func (*MemCommandModelSpec) Name() string

func (*MemCommandModelSpec) ShortDesc

func (*MemCommandModelSpec) ShortDesc() string

type ProcessCommandModelSpec

type ProcessCommandModelSpec struct {
	spec.BaseExpModelCommandSpec
}

func (*ProcessCommandModelSpec) Example

func (*ProcessCommandModelSpec) Example() string

func (*ProcessCommandModelSpec) LongDesc

func (*ProcessCommandModelSpec) LongDesc() string

func (*ProcessCommandModelSpec) Name

func (*ProcessCommandModelSpec) ShortDesc

func (*ProcessCommandModelSpec) ShortDesc() string

type ShowActionExecutor

type ShowActionExecutor struct {
	// contains filtered or unexported fields
}

func (*ShowActionExecutor) Exec

func (fae *ShowActionExecutor) Exec(uid string, ctx context.Context, model *spec.ExpModel) *spec.Response

func (*ShowActionExecutor) Name

func (*ShowActionExecutor) Name() string

func (*ShowActionExecutor) SetChannel

func (fae *ShowActionExecutor) SetChannel(channel spec.Channel)

type ShowActionSpec

type ShowActionSpec struct {
	spec.BaseExpActionCommandSpec
}

func (*ShowActionSpec) Aliases

func (*ShowActionSpec) Aliases() []string

func (*ShowActionSpec) LongDesc

func (*ShowActionSpec) LongDesc() string

func (*ShowActionSpec) Name

func (*ShowActionSpec) Name() string

func (*ShowActionSpec) ShortDesc

func (*ShowActionSpec) ShortDesc() string

type StopProcessActionCommandSpec

type StopProcessActionCommandSpec struct {
	spec.BaseExpActionCommandSpec
}

func (*StopProcessActionCommandSpec) Aliases

func (*StopProcessActionCommandSpec) Aliases() []string

func (*StopProcessActionCommandSpec) LongDesc

func (*StopProcessActionCommandSpec) Name

func (*StopProcessActionCommandSpec) ShortDesc

func (*StopProcessActionCommandSpec) ShortDesc() string

type StopProcessExecutor

type StopProcessExecutor struct {
	// contains filtered or unexported fields
}

func (*StopProcessExecutor) Exec

func (spe *StopProcessExecutor) Exec(uid string, ctx context.Context, model *spec.ExpModel) *spec.Response

func (*StopProcessExecutor) Name

func (spe *StopProcessExecutor) Name() string

func (*StopProcessExecutor) SetChannel

func (spe *StopProcessExecutor) SetChannel(channel spec.Channel)

type TestCommandSpec

type TestCommandSpec struct {
	spec.BaseExpModelCommandSpec
}

func (*TestCommandSpec) Example

func (*TestCommandSpec) Example() string

func (*TestCommandSpec) LongDesc

func (*TestCommandSpec) LongDesc() string

func (*TestCommandSpec) Name

func (*TestCommandSpec) Name() string

func (*TestCommandSpec) ShortDesc

func (*TestCommandSpec) ShortDesc() string

Directories

Path Synopsis
bin
model module

Jump to

Keyboard shortcuts

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