Help us shape the future of Go! Take the 2026 Go Developer Survey

plugin

package
v1.9.5 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth interface {
	GetUser(r *http.Request) (string, error)
}

type Handler

type Handler interface {
	Execute(context.Context, *Runtime, *job.Job, *cluster.Cluster) error
	Cleanup(ctx context.Context, jobID string, c *cluster.Cluster) error
}

type HealthChecker added in v1.5.0

type HealthChecker interface {
	HealthCheck(ctx context.Context, c *cluster.Cluster) error
}

type ResultStreamer added in v1.8.0

type ResultStreamer interface {
	StreamResult(ctx context.Context, w io.Writer, r *Runtime, j *job.Job, c *cluster.Cluster) error
}

type Runtime

type Runtime struct {
	WorkingDirectory string
	ArchiveDirectory string
	ResultDirectory  string
	Version          string
	UserAgent        string
	Stdout           *os.File
	Stderr           *os.File
}

func (*Runtime) Close

func (r *Runtime) Close()

func (*Runtime) Set

func (r *Runtime) Set() (err error)

Jump to

Keyboard shortcuts

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