func (c *FakeIngressAuths) Delete(name string, options *v1.DeleteOptions) error {
	_, err := c.Fake.
		Invokes(testing.NewDeleteAction(ingressauthsResource, c.ns, name), &authv1.IngressAuth{})
	return err
}
Delete takes name of the ingressAuth and deletes it. Returns an error if one occurs.
package fake
import (
	authv1 "github.com/slok/bilrost/pkg/apis/auth/v1"
	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
	labels "k8s.io/apimachinery/pkg/labels"
	schema "k8s.io/apimachinery/pkg/runtime/schema"
	types "k8s.io/apimachinery/pkg/types"
	watch "k8s.io/apimachinery/pkg/watch"
	testing "k8s.io/client-go/testing"
)
type FakeIngressAuths struct {
	Fake *FakeAuthV1
	ns   string
}
var ingressauthsResource = schema.GroupVersionResource{Group: "auth.bilrost.slok.dev", Version: "v1", Resource: "ingressauths"}
var ingressauthsKind = schema.GroupVersionKind{Group: "auth.bilrost.slok.dev", Version: "v1", Kind: "IngressAuth"}
func (c *FakeIngressAuths) Get(name string, options v1.GetOptions) (result *authv1.IngressAuth, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewGetAction(ingressauthsResource, c.ns, name), &authv1.IngressAuth{})
	if obj == nil {
		return nil, err
	}
	return obj.(*authv1.IngressAuth), err
}
func (c *FakeIngressAuths) List(opts v1.ListOptions) (result *authv1.IngressAuthList, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewListAction(ingressauthsResource, ingressauthsKind, c.ns, opts), &authv1.IngressAuthList{})
	if obj == nil {
		return nil, err
	}
	label, _, _ := testing.ExtractFromListOptions(opts)
	if label == nil {
		label = labels.Everything()
	}
	list := &authv1.IngressAuthList{ListMeta: obj.(*authv1.IngressAuthList).ListMeta}
	for _, item := range obj.(*authv1.IngressAuthList).Items {
		if label.Matches(labels.Set(item.Labels)) {
			list.Items = append(list.Items, item)
		}
	}
	return list, err
}
func (c *FakeIngressAuths) Watch(opts v1.ListOptions) (watch.Interface, error) {
	return c.Fake.
		InvokesWatch(testing.NewWatchAction(ingressauthsResource, c.ns, opts))
}
func (c *FakeIngressAuths) Create(ingressAuth *authv1.IngressAuth) (result *authv1.IngressAuth, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewCreateAction(ingressauthsResource, c.ns, ingressAuth), &authv1.IngressAuth{})
	if obj == nil {
		return nil, err
	}
	return obj.(*authv1.IngressAuth), err
}
func (c *FakeIngressAuths) Update(ingressAuth *authv1.IngressAuth) (result *authv1.IngressAuth, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewUpdateAction(ingressauthsResource, c.ns, ingressAuth), &authv1.IngressAuth{})
	if obj == nil {
		return nil, err
	}
	return obj.(*authv1.IngressAuth), err
}
func (c *FakeIngressAuths) UpdateStatus(ingressAuth *authv1.IngressAuth) (*authv1.IngressAuth, error) {
	obj, err := c.Fake.
		Invokes(testing.NewUpdateSubresourceAction(ingressauthsResource, "status", c.ns, ingressAuth), &authv1.IngressAuth{})
	if obj == nil {
		return nil, err
	}
	return obj.(*authv1.IngressAuth), err
}