func (c *replicaSets) Create(replicaSet *extensions.ReplicaSet) (result *extensions.ReplicaSet, err error) {
	result = &extensions.ReplicaSet{}
	err = c.client.Post().
		Namespace(c.ns).
		Resource("replicasets").
		Body(replicaSet).
		Do().
		Into(result)
	return
}
Create takes the representation of a replicaSet and creates it.  Returns the server's representation of the replicaSet, and an error, if there is any.
package unversioned
import (
	api "k8s.io/kubernetes/pkg/api"
	extensions "k8s.io/kubernetes/pkg/apis/extensions"
	watch "k8s.io/kubernetes/pkg/watch"
)
type ReplicaSetsGetter interface {
	ReplicaSets(namespace string) ReplicaSetInterface
}
type ReplicaSetInterface interface {
	Create(*extensions.ReplicaSet) (*extensions.ReplicaSet, error)
	Update(*extensions.ReplicaSet) (*extensions.ReplicaSet, error)
	UpdateStatus(*extensions.ReplicaSet) (*extensions.ReplicaSet, error)
	Delete(name string, options *api.DeleteOptions) error
	DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
	Get(name string) (*extensions.ReplicaSet, error)
	List(opts api.ListOptions) (*extensions.ReplicaSetList, error)
	Watch(opts api.ListOptions) (watch.Interface, error)
	ReplicaSetExpansion
}
type replicaSets struct {
	client *ExtensionsClient
	ns     string
}
func newReplicaSets(c *ExtensionsClient, namespace string) *replicaSets {
	return &replicaSets{
		client: c,
		ns:     namespace,
	}
}