func newAuditSinks(c *AuditregistrationV1alpha1Client) *auditSinks {
	return &auditSinks{
		client: c.RESTClient(),
	}
}
newAuditSinks returns a AuditSinks
package v1alpha1
import (
	"time"
	v1alpha1 "k8s.io/api/auditregistration/v1alpha1"
	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
	types "k8s.io/apimachinery/pkg/types"
	watch "k8s.io/apimachinery/pkg/watch"
	scheme "k8s.io/client-go/kubernetes/scheme"
	rest "k8s.io/client-go/rest"
)
type AuditSinksGetter interface {
	AuditSinks() AuditSinkInterface
}
type AuditSinkInterface interface {
	Create(*v1alpha1.AuditSink) (*v1alpha1.AuditSink, error)
	Update(*v1alpha1.AuditSink) (*v1alpha1.AuditSink, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*v1alpha1.AuditSink, error)
	List(opts v1.ListOptions) (*v1alpha1.AuditSinkList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.AuditSink, err error)
	AuditSinkExpansion
}
type auditSinks struct {
	client rest.Interface
}