cri

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommandModelSpec

func NewCommandModelSpec() spec.ExpModelCommandSpec

func NewExecutor

func NewExecutor() spec.Executor

Types

type CommandModelSpec

type CommandModelSpec struct {
	spec.BaseExpModelCommandSpec
}

func (*CommandModelSpec) Example

func (*CommandModelSpec) Example() string

func (*CommandModelSpec) LongDesc

func (*CommandModelSpec) LongDesc() string

func (*CommandModelSpec) Name

func (*CommandModelSpec) Name() string

func (*CommandModelSpec) ShortDesc

func (*CommandModelSpec) ShortDesc() string

type Executor

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

func (*Executor) Exec

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

func (*Executor) Name

func (*Executor) Name() string

func (*Executor) SetChannel

func (*Executor) SetChannel(channel spec.Channel)

Jump to

Keyboard shortcuts

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