func newPolicyReports(c *Wgpolicyk8sV1alpha2Client, namespace string) *policyReports {
	return &policyReports{
		client: c.RESTClient(),
		ns:     namespace,
	}
}
newPolicyReports returns a PolicyReports
package v1alpha2
import (
	"context"
	"time"
	v1alpha2 "github.com/kyverno/kyverno/pkg/api/policyreport/v1alpha2"
	scheme "github.com/kyverno/kyverno/pkg/client/clientset/versioned/scheme"
	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
	types "k8s.io/apimachinery/pkg/types"
	watch "k8s.io/apimachinery/pkg/watch"
	rest "k8s.io/client-go/rest"
)
type PolicyReportsGetter interface {
	PolicyReports(namespace string) PolicyReportInterface
}
type PolicyReportInterface interface {
	Create(ctx context.Context, policyReport *v1alpha2.PolicyReport, opts v1.CreateOptions) (*v1alpha2.PolicyReport, error)
	Update(ctx context.Context, policyReport *v1alpha2.PolicyReport, opts v1.UpdateOptions) (*v1alpha2.PolicyReport, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha2.PolicyReport, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha2.PolicyReportList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.PolicyReport, err error)
	PolicyReportExpansion
}
type policyReports struct {
	client rest.Interface
	ns     string
}