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.12.1
- Published
- Dec 10, 2024
- Platform
- darwin/amd64
- Imports
- 7 packages
- Last checked
- 23 minutes ago –
Tools for package owners.