Documentation
¶
Index ¶
Constants ¶
View Source
const ( ListRequestTimeout = 30 * time.Second SingleRequestTimeout = 10 * time.Second )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorizationEditor ¶
type AuthorizationEditor struct {
Source oauth2.TokenSource
}
AuthorizationEditor implements a function type defined by the oapi-codegen tooling which intercepts an HTTP request and inserts a bearer token into the Authorization header. This enables us to get a fresh token periodically to ensure that we handle our service account tokens being refreshed.
Click to show internal directories.
Click to hide internal directories.