(v string)
| 178 | } |
| 179 | |
| 180 | func customDomainStatusColor(v string) string { |
| 181 | switch v { |
| 182 | case "disabled": |
| 183 | return ansi.Red(v) |
| 184 | case "pending", "pending_verification": |
| 185 | return ansi.Yellow(v) |
| 186 | case "ready": |
| 187 | return ansi.Green(v) |
| 188 | default: |
| 189 | return v |
| 190 | } |
| 191 | } |
| 192 | |
| 193 | type customDomainDefaultView struct { |
| 194 | Domain string |
no test coverage detected