Versions in this module Expand all Collapse all v1 v1.32.0 Apr 4, 2025 Changes in this version + const HTTPCookies + const HTTPHeaders + const HTTPStatus + func WithConfig(configCheckFunc ConfigFunc, configObj interface{}) func(*PluginOpt) + func WithContext(contextObj interface{}) func(*PluginOpt) + func WithContextFunc(contextFunc func(string) interface{}) func(*PluginOpt) + func WithExecutorMetadata(metadataFunc func() string) func(*PluginOpt) + func WithResources(resourcesFunc func(interface{}) []string) func(*PluginOpt) + func WithTags(fn tagsFunc) func(*PluginOpt) + type ConfigFunc func(interface{}) error + type ExecFunc func(string, interface{}, interface{}) (interface{}, interface{}, error) + type MetadataSchemaBuilder struct + func NewMetadataSchema() *MetadataSchemaBuilder + func (m *MetadataSchemaBuilder) String() string + func (m *MetadataSchemaBuilder) WithHeaders(headers ...string) *MetadataSchemaBuilder + func (m *MetadataSchemaBuilder) WithStatusCode() *MetadataSchemaBuilder + type PluginExecutor struct + func New(pluginName string, pluginVersion string, execfunc ExecFunc, ...) PluginExecutor + func (r PluginExecutor) Context(stepName string) interface{} + func (r PluginExecutor) Exec(stepName string, baseConfig json.RawMessage, config json.RawMessage, ...) (interface{}, interface{}, map[string]string, error) + func (r PluginExecutor) MetadataSchema() json.RawMessage + func (r PluginExecutor) PluginName() string + func (r PluginExecutor) PluginVersion() string + func (r PluginExecutor) Resources(baseConfig json.RawMessage, config json.RawMessage) []string + func (r PluginExecutor) ValidConfig(baseConfig json.RawMessage, config json.RawMessage) error + type PluginOpt struct