func (c *imageStreamImports) Create(imageStreamImport *v1.ImageStreamImport) (result *v1.ImageStreamImport, err error) {
	result = &v1.ImageStreamImport{}
	err = c.client.Post().
		Namespace(c.ns).
		Resource("imagestreamimports").
		Body(imageStreamImport).
		Do().
		Into(result)
	return
}
Create takes the representation of a imageStreamImport and creates it.  Returns the server's representation of the imageStreamImport, and an error, if there is any.
package v1
import (
	v1 "github.com/openshift/api/image/v1"
	rest "k8s.io/client-go/rest"
)
type ImageStreamImportsGetter interface {
	ImageStreamImports(namespace string) ImageStreamImportInterface
}
type ImageStreamImportInterface interface {
	Create(*v1.ImageStreamImport) (*v1.ImageStreamImport, error)
	ImageStreamImportExpansion
}
type imageStreamImports struct {
	client rest.Interface
	ns     string
}
func newImageStreamImports(c *ImageV1Client, namespace string) *imageStreamImports {
	return &imageStreamImports{
		client: c.RESTClient(),
		ns:     namespace,
	}
}