Documentation ¶
Index ¶
- func Params(ctx context.Context, timeout time.Duration, cancelAfter time.Duration, ...) *Ydb_Operations.OperationParams
- func WithCancelAfter(ctx context.Context, operationCancelAfter time.Duration) context.Context
- func WithTimeout(ctx context.Context, operationTimeout time.Duration) context.Context
- type Mode
- type Response
- type Status
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Params ¶
func Params( ctx context.Context, timeout time.Duration, cancelAfter time.Duration, mode Mode, ) *Ydb_Operations.OperationParams
func WithCancelAfter ¶
WithCancelAfter returns a copy of parent context in which YDB operation cancel after parameter is set to d. If parent context cancellation timeout is smaller than d, parent context is returned.
Types ¶
type Response ¶ added in v3.74.4
type Response interface {
GetOperation() *Ydb_Operations.Operation
}
type Status ¶ added in v3.21.0
type Status interface { GetStatus() Ydb.StatusIds_StatusCode GetIssues() []*Ydb_Issue.IssueMessage }
Click to show internal directories.
Click to hide internal directories.