package
1.27.0
Repository: https://github.com/triggermesh/triggermesh.git
Documentation: pkg.go.dev

# Functions

MakeFactory creates a testing factory for our controller.Reconciler, and initializes a Reconciler using the given Ctor as part of the process.
NewARN returns a ARN with the given attributes.
NewConfigMap returns a ConfigMap object.
NewConfigWatchRoleBinding returns a config watcher RoleBinding constructor for the given ServiceAccount.
NewListers returns a new instance of Listers initialized with the given objects.
NewMTAdapterRoleBinding returns a (mt-)adapter RoleBinding constructor for the given ServiceAccount.
NewScheme returns a new scheme populated with the types defined in clientSetSchemes.
NewServiceAccount returns a ServiceAccountCtorWithOptions for the given component instance.
NewTestDeploymentReconciler returns a GenericServiceReconciler initialized with test clients.
NewTestServiceReconciler returns a GenericServiceReconciler initialized with test clients.
NoToken ensures the ServiceAccount's secrets list doesn't contain any reference to auto-generated tokens.
Populate populates an component instance with generic attributes.
TestControllerConstructor tests that a controller constructor meets our requirements.
TestControllerConstructorFailures tests that a controller constructor fails when various requirements are not met.
TestReconcileAdapter tests the Reconcile() method of the controller.Reconciler implemented by component Reconcilers, with focus on the generic ReconcileAdapter logic executed by the generic adapter reconciler embedded in every component Reconciler.
ToUnstructured takes a list of k8s resources and converts them to Unstructured objects.

# Structs

Listers returns listers and objects filtered from those listers.

# Type aliases

Ctor constructs a controller.Reconciler.
No description provided by the author
ServiceAccountCtorWithOptions returns a ServiceAccount constructor which accepts options.