plugins

package
v0.19.1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TypeBuildTarget is a plugin type for build targets.
	// The returned plugin must implement the BuildHandler interface
	TypeBuildTarget = "build-target"
)

Variables

View Source
var Graph = registry.Graph
View Source
var Register = registry.Register

Functions

This section is empty.

Types

type BuildHandler

type BuildHandler interface {
	HandleBuild(ctx context.Context, client client.Client) (*client.Result, error)
}

type BuildHandlerFunc

type BuildHandlerFunc func(ctx context.Context, client client.Client) (*client.Result, error)

func (BuildHandlerFunc) HandleBuild

func (f BuildHandlerFunc) HandleBuild(ctx context.Context, client client.Client) (*client.Result, error)

type InitContext

type InitContext = plugin.InitContext

type Registration

type Registration = plugin.Registration

type Type

type Type = plugin.Type

Jump to

Keyboard shortcuts

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