exec

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigInstance

func ConfigInstance() interface{}

func GetCommunicator

func GetCommunicator(connection *plugin.Connection) (communicator.Communicator, bool, error)

GetCommunicator :: creates a communicator from config

func GetConfig

func GetConfig(connection *plugin.Connection) execConfig

GetConfig :: retrieve and cast connection config from query data

func PathOrContents

func PathOrContents(poc string) (string, error)

PathOrContents :: returns the contents of a file if the parameter is a file path, otherwise returns the parameter itself

func Plugin

func Plugin(ctx context.Context) *plugin.Plugin

Types

This section is empty.

Jump to

Keyboard shortcuts

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