(limit int, after string)
| 5700 | } |
| 5701 | |
| 5702 | func networkListValues(limit int, after string) url.Values { |
| 5703 | values := url.Values{} |
| 5704 | if limit > 0 { |
| 5705 | values.Set("limit", strconv.Itoa(limit)) |
| 5706 | } |
| 5707 | if trimmed := strings.TrimSpace(after); trimmed != "" { |
| 5708 | values.Set("after", trimmed) |
| 5709 | } |
| 5710 | return values |
| 5711 | } |
| 5712 | |
| 5713 | func networkBasePath(workspaceRef string) (string, error) { |
| 5714 | workspaceRef, err := requireNetworkPathValue("workspace_id", workspaceRef) |
no test coverage detected