func (c *FakeXDLJobs) UpdateStatus(ctx context.Context, xDLJob *v1alpha1.XDLJob, opts v1.UpdateOptions) (*v1alpha1.XDLJob, error) {
	obj, err := c.Fake.
		Invokes(testing.NewUpdateSubresourceAction(xdljobsResource, "status", c.ns, xDLJob), &v1alpha1.XDLJob{})
	if obj == nil {
		return nil, err
	}
	return obj.(*v1alpha1.XDLJob), 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"
	v1alpha1 "github.com/alibaba/kubedl/apis/training/v1alpha1"
	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 FakeXDLJobs struct {
	Fake *FakeTrainingV1alpha1
	ns   string
}
var xdljobsResource = schema.GroupVersionResource{Group: "training.kubedl.io", Version: "v1alpha1", Resource: "xdljobs"}
var xdljobsKind = schema.GroupVersionKind{Group: "training.kubedl.io", Version: "v1alpha1", Kind: "XDLJob"}
func (c *FakeXDLJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.XDLJob, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewGetAction(xdljobsResource, c.ns, name), &v1alpha1.XDLJob{})
	if obj == nil {
		return nil, err
	}
	return obj.(*v1alpha1.XDLJob), err
}
func (c *FakeXDLJobs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.XDLJobList, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewListAction(xdljobsResource, xdljobsKind, c.ns, opts), &v1alpha1.XDLJobList{})
	if obj == nil {
		return nil, err
	}
	label, _, _ := testing.ExtractFromListOptions(opts)
	if label == nil {
		label = labels.Everything()
	}
	list := &v1alpha1.XDLJobList{ListMeta: obj.(*v1alpha1.XDLJobList).ListMeta}
	for _, item := range obj.(*v1alpha1.XDLJobList).Items {
		if label.Matches(labels.Set(item.Labels)) {
			list.Items = append(list.Items, item)
		}
	}
	return list, err
}
func (c *FakeXDLJobs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) {
	return c.Fake.
		InvokesWatch(testing.NewWatchAction(xdljobsResource, c.ns, opts))
}
func (c *FakeXDLJobs) Create(ctx context.Context, xDLJob *v1alpha1.XDLJob, opts v1.CreateOptions) (result *v1alpha1.XDLJob, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewCreateAction(xdljobsResource, c.ns, xDLJob), &v1alpha1.XDLJob{})
	if obj == nil {
		return nil, err
	}
	return obj.(*v1alpha1.XDLJob), err
}
func (c *FakeXDLJobs) Update(ctx context.Context, xDLJob *v1alpha1.XDLJob, opts v1.UpdateOptions) (result *v1alpha1.XDLJob, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewUpdateAction(xdljobsResource, c.ns, xDLJob), &v1alpha1.XDLJob{})
	if obj == nil {
		return nil, err
	}
	return obj.(*v1alpha1.XDLJob), err
}