Documentation ¶
Index ¶
- Constants
- func GetPluginVersionMessage() string
- func GetRequestName(reqType uint32) string
- func ImplementsConfigurator(in uint32) bool
- func ImplementsExporter(in uint32) bool
- func ImplementsRunner(in uint32) bool
- func PrintVersion(pluginName, copyrightMessage string, pluginVersion int)
- func Read(conn net.Conn) (dataType uint32, requestData []byte, err error)
- func Write(conn net.Conn, in interface{}) (err error)
- type Common
- type ConfigureRequest
- type ExportRequest
- type ExportResponse
- type LogRequest
- type RegisterRequest
- type RegisterResponse
- type StartRequest
- type TerminateRequest
- type ValidateRequest
- type ValidateResponse
Constants ¶
View Source
const ( Exporter = 1 << iota Configurator Runner )
View Source
const ( LogRequestType = iota + 1 RegisterRequestType RegisterResponseType StartRequestType TerminateRequestType ExportRequestType ExportResponseType ConfigureRequestType ValidateRequestType ValidateResponseType PeriodRequestType PeriodResponseType )
View Source
const ( MajorVersion = 1 MinorVersion = 2 )
View Source
const JSONType = uint32(1)
View Source
const NonRequiredID = 0
View Source
const Version = "1.0"
Variables ¶
This section is empty.
Functions ¶
func PrintVersion ¶ added in v1.0.0
Types ¶
type ConfigureRequest ¶
type ConfigureRequest struct { Common GlobalOptions *plugin.GlobalOptions `json:"global_options"` PrivateOptions interface{} `json:"private_options,omitempty"` }
type ExportRequest ¶
type ExportResponse ¶
type LogRequest ¶
type RegisterResponse ¶
Click to show internal directories.
Click to hide internal directories.