Documentation
¶
Index ¶
- func IdempotencyHeaders(value string) http.Header
- func JSONBody(value any) io.Reader
- func RequestJSON[T any](ctx context.Context, client *secondboxclient.Client, operationID string, ...) (T, error)
- func RevisionETag(revision int64) string
- func WaitSandbox(ctx context.Context, handle *secondboxclient.SandboxHandle, ...) (secondboxclient.Sandbox, error)
- type Clients
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IdempotencyHeaders ¶
func RequestJSON ¶
func RequestJSON[T any]( ctx context.Context, client *secondboxclient.Client, operationID string, options secondboxclient.CallOptions, ) (T, error)
func RevisionETag ¶
func WaitSandbox ¶
func WaitSandbox( ctx context.Context, handle *secondboxclient.SandboxHandle, states []secondboxclient.SandboxState, maximumWaitRequest time.Duration, ) (secondboxclient.Sandbox, error)
Types ¶
type Clients ¶
type Clients struct {
Admin *secondboxclient.Client
Subject *secondboxclient.Client
HTTPClient *http.Client
}
Click to show internal directories.
Click to hide internal directories.