// GetLimitRangeDetail returns returns detailed information about a limit range func GetLimitRangeDetail(client *client.Client, namespace, name string) (*LimitRangeDetail, error) { log.Printf("Getting details of %s limit range in %s namespace", name, namespace) rawLimitRange, err := client.LimitRanges(namespace).Get(name) if err != nil { return nil, err } return getLimitRangeDetail(rawLimitRange), nil }