istiogatewaysecret

package
v0.0.0-...-ecfaa15 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrSecretNotFound = errors.New("root secret not found")

Functions

func SetupReconciler

func SetupReconciler(mgr ctrl.Manager, flagVar *flags.FlagVar, options ctrlruntime.Options) error

Types

type GetterFunc

type GetterFunc func(ctx context.Context, name types.NamespacedName) (*apicorev1.Secret, error)

type Handler

type Handler interface {
	ManageGatewaySecret(ctx context.Context, secret *apicorev1.Secret) error
}

type Reconciler

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

func NewReconciler

func NewReconciler(getSecretFunc GetterFunc, handler Handler) *Reconciler

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Jump to

Keyboard shortcuts

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