Documentation ¶
Index ¶
- func Check(err error) (statusCode int64, operationStatus operation.Status, backoffType backoff.Type, ...)
- func IsIdempotent(ctx context.Context) bool
- func MustDeleteSession(err error) bool
- func MustRetry(err error, isOperationIdempotent bool) bool
- func WithIdempotent(ctx context.Context, idempotent bool) context.Context
- type Mode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Check ¶
func Check(err error) ( statusCode int64, operationStatus operation.Status, backoffType backoff.Type, deleteSession bool, )
Check returns retry mode for err.
func IsIdempotent ¶ added in v3.34.0
func MustDeleteSession ¶ added in v3.34.0
Types ¶
type Mode ¶
type Mode struct {
// contains filtered or unexported fields
}
Mode reports whether operation is able retried and with which properties.
func (Mode) BackoffType ¶
func (Mode) MustBackoff ¶
func (Mode) MustDeleteSession ¶
func (Mode) StatusCode ¶
Click to show internal directories.
Click to hide internal directories.