This is a courtesy helper function, which in some cases may not work as expected!
(name string, isofilter string, zoneid string, opts ...OptionFunc)
| 2295 | |
| 2296 | // This is a courtesy helper function, which in some cases may not work as expected! |
| 2297 | func (s *ISOService) GetIsoByName(name string, isofilter string, zoneid string, opts ...OptionFunc) (*Iso, int, error) { |
| 2298 | id, count, err := s.GetIsoID(name, isofilter, zoneid, opts...) |
| 2299 | if err != nil { |
| 2300 | return nil, count, err |
| 2301 | } |
| 2302 | |
| 2303 | r, count, err := s.GetIsoByID(id, opts...) |
| 2304 | if err != nil { |
| 2305 | return nil, count, err |
| 2306 | } |
| 2307 | return r, count, nil |
| 2308 | } |
| 2309 | |
| 2310 | // This is a courtesy helper function, which in some cases may not work as expected! |
| 2311 | func (s *ISOService) GetIsoByID(id string, opts ...OptionFunc) (*Iso, int, error) { |
nothing calls this directly
no test coverage detected