secret

package
v1.19.0-rc.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Category

type Category struct {
	// contains filtered or unexported fields
}

func New

func New(opts Options) *Category

func (*Category) Handle

func (c *Category) Handle(ctx context.Context, e loops.EventCategory) error

func (*Category) Loop

func (*Category) ProcessResource

func (c *Category) ProcessResource(ctx context.Context, r meta.Resource) (bool, string)

ProcessResource resolves secret references on a resource. Safe to call from any goroutine; the sub-processor only reads from compstore.

func (*Category) Run

func (c *Category) Run(ctx context.Context) error

type Manager

type Manager interface {
	instance.Manager
	ProcessResource(ctx context.Context, resource meta.Resource) (bool, string)
}

Manager is the slice of the secret sub-processor used by this loop.

type Options

type Options struct {
	Secret    Manager
	CompStore *compstore.ComponentStore
	Reporter  registry.Reporter
	Security  security.Handler
}

Jump to

Keyboard shortcuts

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