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

controller

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TrustPolicyReconciler

type TrustPolicyReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	// CRDChangeInformer receives a notification whenever the files on disk change.
	CRDChangeInformer chan<- struct{}
}

TrustPolicyReconciler reconciles TrustPolicy objects into trust policy files in utils.NotationPath.

func (*TrustPolicyReconciler) Reconcile

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

Reconcile keeps the finalizer on live objects and rewrites the trust policy directory from the list of all TrustPolicies.

func (*TrustPolicyReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type TrustStoreReconciler

type TrustStoreReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	// CRDChangeInformer receives a notification whenever the files on disk change.
	CRDChangeInformer chan<- struct{}
}

TrustStoreReconciler reconciles TrustStore objects into notation x509 trust store directories below utils.NotationPath.

func (*TrustStoreReconciler) Reconcile

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

Reconcile keeps the finalizer on live objects and rewrites the trust store directories from the list of all TrustStores.

func (*TrustStoreReconciler) SetupWithManager

func (r *TrustStoreReconciler) 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