// Get takes name of the routeResource, and returns the corresponding routeResource object, and an error if there is any.
323733
func (c *FakeRoutes) Get(name string, options v1.GetOptions) (result *route.Route, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewGetAction(routesResource, c.ns, name), &route.Route{})

	if obj == nil {
		return nil, err
	}
	return obj.(*route.Route), err
}
721295
func (m RoutingMechanismMap) Get(s string) (Mechanism, bool) {
	mechanism, ok := m[s]
	return mechanism, ok
}
26040
func (rp *ResourcePool) Get(ctx context.Context) (resource Resource, err error) {
	span, ctx := trace.NewSpan(ctx, "ResourcePool.Get")
	span.Annotate("capacity", rp.capacity.Get())
	span.Annotate("in_use", rp.inUse.Get())
	span.Annotate("available", rp.available.Get())
	span.Annotate("active", rp.active.Get())
	defer span.Finish()
	return rp.get(ctx, true)
}
886889
func (m *RouteMux) Get(pattern string, handler http.HandlerFunc) {
	m.AddRoute(GET, pattern, handler)
}
1064739
func (g *routeGroup) Get(path string, h ...Handler) {
	g.handle(GET, path, h)
}
1110975
func (w *Weavebox) Get(route string, h Handler) {
	w.add("GET", route, h)
}
561281
func (r *Router) Get(path string, handler HandlerFunc) {
	r.Add(GET, path, handler)
}
374107
func (r *Router) Get(path string, h http.HandlerFunc) {
	r.rtr.GET(r.prefix+path, r.handle(path, h))
}
939858
func (g *Group) GET(path string, h HandlerFunc, m ...MiddlewareFunc) *Route {
	return g.Add(http.MethodGet, path, h, m...)
}
376037
func (c *FakeControllerRevisions) Get(name string, options v1.GetOptions) (result *v1beta1.ControllerRevision, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewGetAction(controllerrevisionsResource, c.ns, name), &v1beta1.ControllerRevision{})

	if obj == nil {
		return nil, err
	}
	return obj.(*v1beta1.ControllerRevision), err
}
425942
func (r *HiveResource) Get(ctx smolder.APIContext, request *restful.Request, response *restful.Response, params map[string][]string) {
	//	ctxapi := ctx.(*context.APIContext)
	hives := bees.GetFactories()
	if len(hives) == 0 { // err != nil {
		r.NotFound(request, response)
		return
	}

	resp := HiveResponse{}
	resp.Init(ctx)

	for _, hive := range hives {
		resp.AddHive(hive)
	}

	resp.Send(response)
}
1162283
func (r *resourceRecordSets) Get(name string) ([]dnsprovider.ResourceRecordSet, error) {
	records, err := r.List()
	if err != nil {
		return nil, err
	}

	var recordSets []dnsprovider.ResourceRecordSet
	for _, record := range records {
		if record.Name() == name {
			recordSets = append(recordSets, record)
		}
	}

	return recordSets, nil
}
10013
func (s *customResourceDefinitionLister) Get(name string) (*apiextensions.CustomResourceDefinition, error) {
	obj, exists, err := s.indexer.GetByKey(name)
	if err != nil {
		return nil, err
	}
	if !exists {
		return nil, errors.NewNotFound(apiextensions.Resource("customresourcedefinition"), name)
	}
	return obj.(*apiextensions.CustomResourceDefinition), nil
}
907682
func (rt *Router) Get(path string, handler http.Handler) {
	rt.Handle(http.MethodGet, path, handler)
}
776727
func (r *resourceRecordSets) Get(name string) ([]dnsprovider.ResourceRecordSet, error) {
	snapshot := r.zone.dnsView.Snapshot()

	records := snapshot.RecordsForZoneAndName(r.zone.zoneInfo, name)
	if records == nil {
		return nil, nil
	}

	var rrs []dnsprovider.ResourceRecordSet
	for _, rr := range records {
		rrs = append(rrs, &resourceRecordSet{data: rr})
	}
	return rrs, nil
}
126184
func (r *Router) Get(path, title string, fn Handle) {
	r.addRoute("GET", path, title, fn)
}
672794
func (f *Request) Get(url string) *Request {
	f.Url(url).Method("GET")
	return f
}