Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CollectProcessMetrics ¶
Types ¶
type Shell ¶
type Shell struct{}
Shell plugin runs shell commands when Execute method is called.
func (*Shell) Execute ¶
func (s *Shell) Execute(args *dktypes.ExecuteRequest, cb dkplugin.StatusHelper) (*dktypes.ExecuteResponse, error)
Execute method of the plugin
func (*Shell) ExecuteImpl ¶
func (s *Shell) ExecuteImpl(args *dktypes.ExecuteRequest, cb dkplugin.StatusHelper) ([]byte, error)
ExecuteImpl do execute command
Click to show internal directories.
Click to hide internal directories.