secret

package
v0.24.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// Workers is the number of workers concurrently processing reconciliation requests.
	Workers int
}

Config defines the configuration for the Secret Controller.

func (*Config) InitFromFlags

func (cfg *Config) InitFromFlags(fs *flag.FlagSet)

InitFromFlags initializes the config from the provided CLI flag set.

func (*Config) Validate

func (cfg *Config) Validate() error

Validate validates the config.

type Reconciler

type Reconciler struct {
	client.Client
	Config *Config
	// contains filtered or unexported fields
}

Reconciler reconciles secrets referenced in Etcd objects.

func NewReconciler

func NewReconciler(mgr manager.Manager, config *Config) *Reconciler

NewReconciler creates a new reconciler for Secret.

func (*Reconciler) Reconcile

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

Reconcile reconciles the secret.

func (*Reconciler) RegisterWithManager

func (r *Reconciler) RegisterWithManager(ctx context.Context, mgr ctrl.Manager) error

RegisterWithManager registers the Secret Controller with the given controller manager.

Jump to

Keyboard shortcuts

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