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

plugins

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2026 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadPlugins

func LoadPlugins()

func SetIterator added in v1.0.0

func SetIterator(it *Iterator)

Types

type Iterator added in v1.0.0

type Iterator struct {
	Version string
	Created time.Time
	// contains filtered or unexported fields
}

func LoadIterator added in v1.0.0

func LoadIterator() *Iterator

func NewIterator added in v1.0.0

func NewIterator(version string) *Iterator

func (*Iterator) Iterate added in v1.0.0

func (it *Iterator) Iterate(ctx context.Context, phase Phase, id string) iter.Seq[plugin.Plugin]

func (*Iterator) LoadPlugins added in v1.0.0

func (it *Iterator) LoadPlugins(plugins []*entities.Plugin) error

func (*Iterator) WithSecretManager added in v1.0.0

func (it *Iterator) WithSecretManager(sm *secret.SecretManager)

type Phase added in v1.0.0

type Phase string
const (
	PhaseInbound  Phase = "inbound"
	PhaseOutbound Phase = "outbound"
)

Jump to

Keyboard shortcuts

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