Documentation ¶
Index ¶
Constants ¶
View Source
const ( AddPolicy = iota RemovePolicy )
Variables ¶
This section is empty.
Functions ¶
func IsPolicyServerNotReady ¶
IsPolicyServerNotReady returns true when the given error is of type PolicyServerNotReadyError
Types ¶
type AdmissionReconciler ¶
type AdmissionReconciler struct { Client client.Client DeploymentsNamespace string Log logr.Logger }
func (*AdmissionReconciler) Reconcile ¶
func (r *AdmissionReconciler) Reconcile(ctx context.Context, admissionPolicy *chimerav1alpha1.AdmissionPolicy) error
func (*AdmissionReconciler) ReconcileDeletion ¶
func (r *AdmissionReconciler) ReconcileDeletion(ctx context.Context, admissionPolicy *chimerav1alpha1.AdmissionPolicy) error
type PolicyServerNotReadyError ¶
type PolicyServerNotReadyError struct {
Message string
}
PolicyServerNotReadyError error is raised when the PolicyServer deployment is not yet ready
func (*PolicyServerNotReadyError) Error ¶
func (e *PolicyServerNotReadyError) Error() string
Error returns a human description of the error
func (*PolicyServerNotReadyError) PolicyServerNotReady ¶
func (e *PolicyServerNotReadyError) PolicyServerNotReady() bool
PolicyServerNotReady returns true if the error is a NoVersionFoundError instance
Click to show internal directories.
Click to hide internal directories.