Client is the interface used by Cloud DNS components to call the API.
| 11 | |
| 12 | // Client is the interface used by Cloud DNS components to call the API. |
| 13 | type Client interface { |
| 14 | GetURL(ctx context.Context, fullURL string) ([]byte, error) |
| 15 | PostURL(ctx context.Context, fullURL string, body any) ([]byte, error) |
| 16 | ProjectID() string |
| 17 | } |
| 18 | |
| 19 | var ( |
| 20 | clientFactoryMu sync.RWMutex |
nothing calls this directly
no outgoing calls
no test coverage detected