func (c *FakePyTorchJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PyTorchJob, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewGetAction(pytorchjobsResource, c.ns, name), &v1alpha1.PyTorchJob{})
	if obj == nil {
		return nil, err
	}
	return obj.(*v1alpha1.PyTorchJob), err
}
Get takes name of the pyTorchJob, and returns the corresponding pyTorchJob object, and an error if there is any.
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 FakePyTorchJobs struct {
	Fake *FakeTrainingV1alpha1
	ns   string
}
var pytorchjobsResource = schema.GroupVersionResource{Group: "training.kubedl.io", Version: "v1alpha1", Resource: "pytorchjobs"}
var pytorchjobsKind = schema.GroupVersionKind{Group: "training.kubedl.io", Version: "v1alpha1", Kind: "PyTorchJob"}