Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Inputs ¶ added in v1.2.94
type Inputs struct {
// Token overrides the default token, if provided. It's unlikely you'll want to provide this.
Token *serverv1.GetTokenResponse
// HttpClient is used as the underlying http.client. Connect provides an interface for abstracting over the
// standard library version of the auth client
HttpClient connect.HTTPClient
// Manager holds the credentials for this client to use. Non-optional.
Config *config.Manager
Timeout *time.Duration
// SkipEnvironmentNameMapping controls whether to skip validating and mapping
// environment names to IDs. If true, the EnvironmentId will be used verbatim.
SkipEnvironmentNameMapping bool
// SkipEngineMapping controls whether to skip setting the query server based
// on the token's engine maps. If true, the query server will not be
// automatically resolved from the token.
SkipEngineMapping bool
}
type Manager ¶ added in v1.2.94
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶ added in v1.2.94
Click to show internal directories.
Click to hide internal directories.