func (c *nuclioProjects) Delete(name string, options *v1.DeleteOptions) error {
	return c.client.Delete().
		Namespace(c.ns).
		Resource("nuclioprojects").
		Name(name).
		Body(options).
		Do().
		Error()
}
Delete takes name of the nuclioProject and deletes it. Returns an error if one occurs.
package v1beta1
import (
	"time"
	v1beta1 "github.com/nuclio/nuclio/pkg/platform/kube/apis/nuclio.io/v1beta1"
	scheme "github.com/nuclio/nuclio/pkg/platform/kube/client/clientset/versioned/scheme"
	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
	types "k8s.io/apimachinery/pkg/types"
	watch "k8s.io/apimachinery/pkg/watch"
	rest "k8s.io/client-go/rest"
)
type NuclioProjectsGetter interface {
	NuclioProjects(namespace string) NuclioProjectInterface
}
type NuclioProjectInterface interface {
	Create(*v1beta1.NuclioProject) (*v1beta1.NuclioProject, error)
	Update(*v1beta1.NuclioProject) (*v1beta1.NuclioProject, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*v1beta1.NuclioProject, error)
	List(opts v1.ListOptions) (*v1beta1.NuclioProjectList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.NuclioProject, err error)
	NuclioProjectExpansion
}
type nuclioProjects struct {
	client rest.Interface
	ns     string
}
func newNuclioProjects(c *NuclioV1beta1Client, namespace string) *nuclioProjects {
	return &nuclioProjects{
		client: c.RESTClient(),
		ns:     namespace,
	}
}
func (c *nuclioProjects) Get(name string, options v1.GetOptions) (result *v1beta1.NuclioProject, err error) {
	result = &v1beta1.NuclioProject{}
	err = c.client.Get().
		Namespace(c.ns).
		Resource("nuclioprojects").
		Name(name).
		VersionedParams(&options, scheme.ParameterCodec).
		Do().
		Into(result)
	return
}
func (c *nuclioProjects) List(opts v1.ListOptions) (result *v1beta1.NuclioProjectList, err error) {
	var timeout time.Duration
	if opts.TimeoutSeconds != nil {
		timeout = time.Duration(*opts.TimeoutSeconds) * time.Second
	}
	result = &v1beta1.NuclioProjectList{}
	err = c.client.Get().
		Namespace(c.ns).
		Resource("nuclioprojects").
		VersionedParams(&opts, scheme.ParameterCodec).
		Timeout(timeout).
		Do().
		Into(result)
	return
}
func (c *nuclioProjects) Watch(opts v1.ListOptions) (watch.Interface, error) {
	var timeout time.Duration
	if opts.TimeoutSeconds != nil {
		timeout = time.Duration(*opts.TimeoutSeconds) * time.Second
	}
	opts.Watch = true
	return c.client.Get().
		Namespace(c.ns).
		Resource("nuclioprojects").
		VersionedParams(&opts, scheme.ParameterCodec).
		Timeout(timeout).
		Watch()
}
func (c *nuclioProjects) Create(nuclioProject *v1beta1.NuclioProject) (result *v1beta1.NuclioProject, err error) {
	result = &v1beta1.NuclioProject{}
	err = c.client.Post().
		Namespace(c.ns).
		Resource("nuclioprojects").
		Body(nuclioProject).
		Do().
		Into(result)
	return
}
func (c *nuclioProjects) Update(nuclioProject *v1beta1.NuclioProject) (result *v1beta1.NuclioProject, err error) {
	result = &v1beta1.NuclioProject{}
	err = c.client.Put().
		Namespace(c.ns).
		Resource("nuclioprojects").
		Name(nuclioProject.Name).
		Body(nuclioProject).
		Do().
		Into(result)
	return
}