func (c *FakeKubeArmorHostPolicies) UpdateStatus(ctx context.Context, kubeArmorHostPolicy *securitykubearmorcomv1.KubeArmorHostPolicy, opts v1.UpdateOptions) (*securitykubearmorcomv1.KubeArmorHostPolicy, error) {
	obj, err := c.Fake.
		Invokes(testing.NewUpdateSubresourceAction(kubearmorhostpoliciesResource, "status", c.ns, kubeArmorHostPolicy), &securitykubearmorcomv1.KubeArmorHostPolicy{})
	if obj == nil {
		return nil, err
	}
	return obj.(*securitykubearmorcomv1.KubeArmorHostPolicy), err
}
UpdateStatus was generated because the type contains a Status member.
Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
package fake
import (
	"context"
	securitykubearmorcomv1 "github.com/kubearmor/KubeArmor/pkg/KubeArmorHostPolicy/api/security.kubearmor.com/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 FakeKubeArmorHostPolicies struct {
	Fake *FakeSecurityV1
	ns   string
}
var kubearmorhostpoliciesResource = schema.GroupVersionResource{Group: "security.kubearmor.com", Version: "v1", Resource: "kubearmorhostpolicies"}
var kubearmorhostpoliciesKind = schema.GroupVersionKind{Group: "security.kubearmor.com", Version: "v1", Kind: "KubeArmorHostPolicy"}
func (c *FakeKubeArmorHostPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *securitykubearmorcomv1.KubeArmorHostPolicy, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewGetAction(kubearmorhostpoliciesResource, c.ns, name), &securitykubearmorcomv1.KubeArmorHostPolicy{})
	if obj == nil {
		return nil, err
	}
	return obj.(*securitykubearmorcomv1.KubeArmorHostPolicy), err
}
func (c *FakeKubeArmorHostPolicies) List(ctx context.Context, opts v1.ListOptions) (result *securitykubearmorcomv1.KubeArmorHostPolicyList, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewListAction(kubearmorhostpoliciesResource, kubearmorhostpoliciesKind, c.ns, opts), &securitykubearmorcomv1.KubeArmorHostPolicyList{})
	if obj == nil {
		return nil, err
	}
	label, _, _ := testing.ExtractFromListOptions(opts)
	if label == nil {
		label = labels.Everything()
	}
	list := &securitykubearmorcomv1.KubeArmorHostPolicyList{ListMeta: obj.(*securitykubearmorcomv1.KubeArmorHostPolicyList).ListMeta}
	for _, item := range obj.(*securitykubearmorcomv1.KubeArmorHostPolicyList).Items {
		if label.Matches(labels.Set(item.Labels)) {
			list.Items = append(list.Items, item)
		}
	}
	return list, err
}
func (c *FakeKubeArmorHostPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) {
	return c.Fake.
		InvokesWatch(testing.NewWatchAction(kubearmorhostpoliciesResource, c.ns, opts))
}
func (c *FakeKubeArmorHostPolicies) Create(ctx context.Context, kubeArmorHostPolicy *securitykubearmorcomv1.KubeArmorHostPolicy, opts v1.CreateOptions) (result *securitykubearmorcomv1.KubeArmorHostPolicy, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewCreateAction(kubearmorhostpoliciesResource, c.ns, kubeArmorHostPolicy), &securitykubearmorcomv1.KubeArmorHostPolicy{})
	if obj == nil {
		return nil, err
	}
	return obj.(*securitykubearmorcomv1.KubeArmorHostPolicy), err
}
func (c *FakeKubeArmorHostPolicies) Update(ctx context.Context, kubeArmorHostPolicy *securitykubearmorcomv1.KubeArmorHostPolicy, opts v1.UpdateOptions) (result *securitykubearmorcomv1.KubeArmorHostPolicy, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewUpdateAction(kubearmorhostpoliciesResource, c.ns, kubeArmorHostPolicy), &securitykubearmorcomv1.KubeArmorHostPolicy{})
	if obj == nil {
		return nil, err
	}
	return obj.(*securitykubearmorcomv1.KubeArmorHostPolicy), err
}