Package fake has the automatically generated clients.
FakeAuditSinks implements AuditSinkInterface
Create takes the representation of a auditSink and creates it. Returns the server's representation of the auditSink, and an error, if there is any.
Delete takes name of the auditSink and deletes it. Returns an error if one occurs.
func (c *FakeAuditSinks) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (c *FakeAuditSinks) Get(name string, options v1.GetOptions) (result *v1alpha1.AuditSink, err error)
Get takes name of the auditSink, and returns the corresponding auditSink object, and an error if there is any.
List takes label and field selectors, and returns the list of AuditSinks that match those selectors.
Patch applies the patch and returns the patched auditSink.
Update takes the representation of a auditSink and updates it. Returns the server's representation of the auditSink, and an error, if there is any.
Watch returns a watch.Interface that watches the requested auditSinks.
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.