func (c Constraints) Ready(_ context.Context, _ *policyapi.CertificateRequestPolicy) (approver.ReconcilerReadyResponse, error) {
	return approver.ReconcilerReadyResponse{Ready: true}, nil
}
Ready always returns ready, constraints doesn't have any dependencies to
block readiness.
package constraints
import (
	"context"
	"github.com/spf13/pflag"
	"sigs.k8s.io/controller-runtime/pkg/manager"
	policyapi "github.com/cert-manager/approver-policy/pkg/apis/policy/v1alpha1"
	"github.com/cert-manager/approver-policy/pkg/approver"
	"github.com/cert-manager/approver-policy/pkg/registry"
)
func init() {
	registry.Shared.Store(Constraints{})
}
type Constraints struct{}
func (c Constraints) Name() string {
	return "constraints"
}
func (c Constraints) RegisterFlags(_ *pflag.FlagSet) {
	return
}
func (c Constraints) Prepare(_ context.Context, _ manager.Manager) error {
	return nil
}