Documentation ¶
Overview ¶
Package gcpmetadata provides a metadata client for interacting with the Google Cloud metadata server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is an HTTP client for interacting with the Google Cloud metadata server. No results are cached and each invocation will result in HTTP requests.
func NewClient ¶
NewClient creates a new HTTP metadata client for interacting with the Google Cloud metadata server.
type Option ¶
Option is a configuration for the client.
func WithHTTPClient ¶
WithHTTPClient is an option that injects a custom HTTP client.
Click to show internal directories.
Click to hide internal directories.