func (c *FakePods) Create(pod *core_v1.Pod) (result *core_v1.Pod, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewCreateAction(podsResource, c.ns, pod), &core_v1.Pod{})
	if obj == nil {
		return nil, err
	}
	return obj.(*core_v1.Pod), err
}
Create takes the representation of a pod and creates it.  Returns the server's representation of the pod, and an error, if there is any.
package fake
import (
	core_v1 "k8s.io/api/core/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 FakePods struct {
	Fake *FakeCoreV1
	ns   string
}
var podsResource = schema.GroupVersionResource{Group: "", Version: "v1", Resource: "pods"}
var podsKind = schema.GroupVersionKind{Group: "", Version: "v1", Kind: "Pod"}
func (c *FakePods) Get(name string, options v1.GetOptions) (result *core_v1.Pod, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewGetAction(podsResource, c.ns, name), &core_v1.Pod{})
	if obj == nil {
		return nil, err
	}
	return obj.(*core_v1.Pod), err
}
func (c *FakePods) List(opts v1.ListOptions) (result *core_v1.PodList, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewListAction(podsResource, podsKind, c.ns, opts), &core_v1.PodList{})
	if obj == nil {
		return nil, err
	}
	label, _, _ := testing.ExtractFromListOptions(opts)
	if label == nil {
		label = labels.Everything()
	}
	list := &core_v1.PodList{}
	for _, item := range obj.(*core_v1.PodList).Items {
		if label.Matches(labels.Set(item.Labels)) {
			list.Items = append(list.Items, item)
		}
	}
	return list, err
}
func (c *FakePods) Watch(opts v1.ListOptions) (watch.Interface, error) {
	return c.Fake.
		InvokesWatch(testing.NewWatchAction(podsResource, c.ns, opts))
}