plugin

package
v0.53.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2023 License: BSD-3-Clause Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeAction      = "action"
	TypeIntegration = "integration"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Close(ctx context.Context)
	Run(ctx context.Context, opts map[string]string) *Result
}

func NewClient

func NewClient(ctx context.Context, wk workerruntime.Runtime, pluginType string, pluginName string) (Client, error)

NewClient create a plugin client for the given plugin

type Result

type Result struct {
	Status  string
	Details string
	Outputs map[string]string
}

Jump to

Keyboard shortcuts

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