Documentation ¶
Index ¶
- func GetDefaultOrg(ctx context.Context, client graphql2.Client) (*graphql.OrgsQueryOrganizationsOrganizationConnectionNodesOrganization, error)
- func HandleGraphqlErrors(diagnostics *diag.Diagnostics, err error, format string, formatArgs ...any)
- func P[T any](x T) *T
- type GraphqlTransport
- type LoggingHttpTransport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDefaultOrg ¶
func HandleGraphqlErrors ¶
func HandleGraphqlErrors(diagnostics *diag.Diagnostics, err error, format string, formatArgs ...any)
Types ¶
type GraphqlTransport ¶
type GraphqlTransport struct { Inner http.RoundTripper Token string EnableDebugTrace bool }
type LoggingHttpTransport ¶ added in v0.1.13
type LoggingHttpTransport struct {
Inner http.RoundTripper
}
Click to show internal directories.
Click to hide internal directories.