Documentation
¶
Index ¶
Constants ¶
View Source
const ( RawOutputIndicator = "@raw" SelectIndexIndicator = "@idx:" PageIndexIndicator = "@page:" )
Variables ¶
This section is empty.
Functions ¶
func GetPluginDependencies ¶
func GetPluginDependencies() map[string]api.Dependency
GetPluginDependencies returns exec plugin dependencies.
Types ¶
type Config ¶
type Config struct { Templates []getter.Source `yaml:"templates"` TmpDir plugin.TmpDir `yaml:"tmpDir"` Logger config.Logger }
Config holds exec plugin configuration.
type Render ¶
type Render interface { // RenderMessage receives command output and a template and produce a final message. RenderMessage(cmd, output string, state *state.Container, msgCtx *template.Template) (api.Message, error) }
Render is an interface that knows how to render a given command output.
type Renderer ¶
type Renderer struct {
// contains filtered or unexported fields
}
Renderer provides functionality to render command output in requested format.
Click to show internal directories.
Click to hide internal directories.