payments

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WalletReconciler

type WalletReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

WalletReconciler reconciles a Wallet object

func (*WalletReconciler) Reconcile

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

Reconcile ensures a Wallet CR has either an externally-supplied OwnerAddress reflected in Status, or a freshly generated secp256k1 keypair stored in a Secret owned by the Wallet. The Secret is auto-GC'd on Wallet deletion via OwnerReference — no finalizer is needed (on-chain addresses cannot be "deleted" anyway; only the local private key is sensitive state).

func (*WalletReconciler) SetupWithManager

func (r *WalletReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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