Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultBundleTimeout = time.Second * 30
)
Functions ¶
func AddManagerIndices ¶
func AddManagerIndices(indexer client.FieldIndexer) error
AddManagerIndices adds the needed manager indices for faster listing of resources
func Register ¶
func Register(mgr manager.Manager, controllerPolicyManager controller.PolicyManager) error
Register registers the webhooks to the manager
Types ¶
type JsPolicyReconciler ¶
type JsPolicyReconciler struct { client.Client Log loghelper.Logger Scheme *runtime.Scheme Bundler bundle.JavascriptBundler ControllerPolicyManager controller.PolicyManager CaBundle []byte // contains filtered or unexported fields }
JsPolicyReconciler reconciles a JsPolicy object
func (*JsPolicyReconciler) Reconcile ¶
func (r *JsPolicyReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, reterr error)
Reconcile reads that state of the cluster for an Account object and makes changes based on the state read
func (*JsPolicyReconciler) SetupWithManager ¶
func (r *JsPolicyReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager adds the controller to the manager
Click to show internal directories.
Click to hide internal directories.