package testdns
import "cloud.google.com/go/auth/internal/testutil/testdns"
Package testdns is a light DNS client used for testings to avoid pulling in dependencies.
Index ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a lightweight DNS client for testing.
func NewClient ¶
func NewClient(tp auth.TokenProvider) *Client
NewClient creates a Client using the provided cloud.google.com/go/auth.TokenProvider for authentication.
func (*Client) GetProject ¶
GetProject calls the GET project endpoint.
Source Files ¶
dns.go
- Version
- v0.2.2
- Published
- Apr 19, 2024
- Platform
- windows/amd64
- Imports
- 7 packages
- Last checked
- 12 minutes ago –
Tools for package owners.