func (c *composites) Get(name string, options v1.GetOptions) (result *v1alpha2.Composite, err error) {
	result = &v1alpha2.Composite{}
	err = c.client.Get().
		Namespace(c.ns).
		Resource("composites").
		Name(name).
		VersionedParams(&options, scheme.ParameterCodec).
		Do().
		Into(result)
	return
}
Get takes name of the composite, and returns the corresponding composite object, and an error if there is any.
package v1alpha2
import (
	"time"
	v1alpha2 "cellery.io/cellery-controller/pkg/apis/mesh/v1alpha2"
	scheme "cellery.io/cellery-controller/pkg/generated/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 CompositesGetter interface {
	Composites(namespace string) CompositeInterface
}
type CompositeInterface interface {
	Create(*v1alpha2.Composite) (*v1alpha2.Composite, error)
	Update(*v1alpha2.Composite) (*v1alpha2.Composite, error)
	UpdateStatus(*v1alpha2.Composite) (*v1alpha2.Composite, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*v1alpha2.Composite, error)
	List(opts v1.ListOptions) (*v1alpha2.CompositeList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.Composite, err error)
	CompositeExpansion
}
type composites struct {
	client rest.Interface
	ns     string
}
func newComposites(c *MeshV1alpha2Client, namespace string) *composites {
	return &composites{
		client: c.RESTClient(),
		ns:     namespace,
	}
}