Documentation ¶
Index ¶
- type CRIProcessor
- func (p *CRIProcessor) Cancel()
- func (p *CRIProcessor) Cleanup(removeScriptFile bool) error
- func (p *CRIProcessor) ExtraLubanParams() string
- func (p *CRIProcessor) PreCheck() (string, error)
- func (p *CRIProcessor) Prepare(commandContent string) error
- func (p *CRIProcessor) SideEffect() error
- func (p *CRIProcessor) SyncRun(stdoutWriter io.Writer, stderrWriter io.Writer, stdinReader io.Reader) (exitCode int, status int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CRIProcessor ¶
type CRIProcessor struct { TaskId string // Fundamental properties of command process ContainerIdentifier string ContainerName string CommandType string CommandContent string Timeout int // contains filtered or unexported fields }
func (*CRIProcessor) Cancel ¶
func (p *CRIProcessor) Cancel()
func (*CRIProcessor) Cleanup ¶
func (p *CRIProcessor) Cleanup(removeScriptFile bool) error
func (*CRIProcessor) ExtraLubanParams ¶
func (p *CRIProcessor) ExtraLubanParams() string
func (*CRIProcessor) PreCheck ¶
func (p *CRIProcessor) PreCheck() (string, error)
func (*CRIProcessor) Prepare ¶
func (p *CRIProcessor) Prepare(commandContent string) error
func (*CRIProcessor) SideEffect ¶
func (p *CRIProcessor) SideEffect() error
Click to show internal directories.
Click to hide internal directories.