// SortByName 名称でのソート
194961
func (api *PacketFilterAPI) SortByName(reverse bool) *PacketFilterAPI {
	api.sortByName(reverse)
	return api
}
1044724
func (collection *ProxyCollection) getByName(name string) (*Proxy, error) {
	proxy, exists := collection.proxies[name]
	if !exists {
		return nil, ErrProxyNotFound
	}
	return proxy, nil
}
591926
func (s *partitionProcessor) findByName(partitionNames []model.CIStr, partitionName string) bool {
	for _, s := range partitionNames {
		if s.L == partitionName {
			return true
		}
	}
	return false
}
246312
func (api *NoteAPI) SortBy(key string, reverse bool) *NoteAPI {
	api.sortBy(key, reverse)
	return api
}
864621
func (api *PublicPriceAPI) SortByName(reverse bool) *PublicPriceAPI {
	api.sortBy("DisplayName", reverse)
	return api
}
873544
func (api *LicenseAPI) SortByName(reverse bool) *LicenseAPI {
	api.sortByName(reverse)
	return api
}
623434
func (fg FieldGroup) FindByName(name string) (*FieldSpec, error) {
	for _, field := range fg {
		if field.Name == name {
			return field, nil
		}
	}
	return nil, fmt.Errorf("unknown field %v", name)
}
320733
func (api *ArchiveAPI) SortByName(reverse bool) *ArchiveAPI {
	api.sortByName(reverse)
	return api
}
9451
func (api *DiskAPI) SortBy(key string, reverse bool) *DiskAPI {
	api.sortBy(key, reverse)
	return api
}
1169015
func (t *PackageList) LookupByName(name string) *build.Package {
	t.ensureInit()
	return t.namepool[name]
}
109359
func SortByChartName(list []*rspb.Release) {
	s := &sorter{list: list}
	s.less = func(i, j int) bool {
		chi := s.list[i].Chart
		chj := s.list[j].Chart

		ni := ""
		if chi != nil && chi.Metadata != nil {
			ni = chi.Metadata.Name
		}

		nj := ""
		if chj != nil && chj.Metadata != nil {
			nj = chj.Metadata.Name
		}

		return ni < nj
	}
	sort.Sort(s)
}
356764
func (api *IconAPI) SortBy(key string, reverse bool) *IconAPI {
	api.sortBy(key, reverse)
	return api
}
1076228
func (ps Params) ByName(name string) string {
	for i := range ps {
		if ps[i].Key == name {
			return ps[i].Value
		}
	}
	return ""
}
181820
func (api *SSHKeyAPI) SortByName(reverse bool) *SSHKeyAPI {
	api.sortByName(reverse)
	return api
}
721299
func (api *DatabaseAPI) SortByName(reverse bool) *DatabaseAPI {
	api.sortByName(reverse)
	return api
}
1105535
func (api *ZoneAPI) SortByName(reverse bool) *ZoneAPI {
	api.sortByName(reverse)
	return api
}
146692
func GetParameterByName(t *templatev1.Template, name string) *templatev1.Parameter {
	for i, param := range t.Parameters {
		if param.Name == name {
			return &(t.Parameters[i])
		}
	}
	return nil
}