Home
last modified time | relevance | path

Searched refs:opValues (Results 1 – 24 of 24) sorted by relevance

/dports/security/vault/vault-1.8.2/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/
H A Dpolicy_logging.go46 var opValues logPolicyOpValues
47 if req.OperationValue(&opValues); opValues.start.IsZero() {
48 opValues.start = time.Now() // If this is the 1st try, record this operation's start time
50 opValues.try++ // The first try is #1 (not #0)
51 req.SetOperationValue(opValues)
56 fmt.Fprintf(b, "==> OUTGOING REQUEST (Try=%d)\n", opValues.try)
73 opDuration := tryEnd.Sub(opValues.start)
78 …fmt.Fprintf(b, "==> REQUEST/RESPONSE (Try=%d/%v, OpTime=%v) -- ", opValues.try, tryDuration, opDur…
H A Dpolicy_body_download.go23 var opValues bodyDownloadPolicyOpValues
25 if req.OperationValue(&opValues); opValues.skip && resp.StatusCode < 400 {
H A Drequest.go47 values opValues
50 type opValues map[reflect.Type]interface{} type
53 func (ov opValues) set(value interface{}) {
58 func (ov opValues) get(value interface{}) bool {
157 req.values = opValues{}
/dports/sysutils/restic/restic-0.12.1/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/
H A Dpolicy_logging.go46 var opValues logPolicyOpValues
47 if req.OperationValue(&opValues); opValues.start.IsZero() {
48 opValues.start = time.Now() // If this is the 1st try, record this operation's start time
50 opValues.try++ // The first try is #1 (not #0)
51 req.SetOperationValue(opValues)
56 fmt.Fprintf(b, "==> OUTGOING REQUEST (Try=%d)\n", opValues.try)
73 opDuration := tryEnd.Sub(opValues.start)
78 …fmt.Fprintf(b, "==> REQUEST/RESPONSE (Try=%d/%v, OpTime=%v) -- ", opValues.try, tryDuration, opDur…
H A Dpolicy_body_download.go23 var opValues bodyDownloadPolicyOpValues
25 if req.OperationValue(&opValues); opValues.skip && resp.StatusCode < 400 {
H A Drequest.go50 values opValues
53 type opValues map[reflect.Type]interface{} type
56 func (ov opValues) set(value interface{}) {
61 func (ov opValues) get(value interface{}) bool {
148 req.values = opValues{}
/dports/www/grafana8/azure-sdk-for-go-sdk-internal-v0.7.0/sdk/azcore/
H A Dpolicy_logging.go49 var opValues logPolicyOpValues
50 if req.OperationValue(&opValues); opValues.start.IsZero() {
51 opValues.start = time.Now() // If this is the 1st try, record this operation's start time
53 opValues.try++ // The first try is #1 (not #0)
54 req.SetOperationValue(opValues)
59 fmt.Fprintf(b, "==> OUTGOING REQUEST (Try=%d)\n", opValues.try)
76 opDuration := tryEnd.Sub(opValues.start)
81 …fmt.Fprintf(b, "==> REQUEST/RESPONSE (Try=%d/%v, OpTime=%v) -- ", opValues.try, tryDuration, opDur…
H A Dpolicy_body_download.go24 var opValues bodyDownloadPolicyOpValues
26 if req.OperationValue(&opValues); opValues.skip && resp.StatusCode < 400 {
H A Drequest.go51 values opValues
54 type opValues map[reflect.Type]interface{} type
57 func (ov opValues) set(value interface{}) {
62 func (ov opValues) get(value interface{}) bool {
158 req.values = opValues{}
/dports/sysutils/terraform/terraform-1.0.11/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/
H A Dpolicy_logging.go46 var opValues logPolicyOpValues
47 if req.OperationValue(&opValues); opValues.start.IsZero() {
48 opValues.start = time.Now() // If this is the 1st try, record this operation's start time
50 opValues.try++ // The first try is #1 (not #0)
51 req.SetOperationValue(opValues)
56 fmt.Fprintf(b, "==> OUTGOING REQUEST (Try=%d)\n", opValues.try)
73 opDuration := tryEnd.Sub(opValues.start)
78 …fmt.Fprintf(b, "==> REQUEST/RESPONSE (Try=%d/%v, OpTime=%v) -- ", opValues.try, tryDuration, opDur…
H A Dpolicy_body_download.go23 var opValues bodyDownloadPolicyOpValues
25 if req.OperationValue(&opValues); opValues.skip && resp.StatusCode < 400 {
H A Drequest.go47 values opValues
50 type opValues map[reflect.Type]interface{} type
53 func (ov opValues) set(value interface{}) {
58 func (ov opValues) get(value interface{}) bool {
155 req.values = opValues{}
/dports/security/vuls/vuls-0.13.7/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/
H A Dpolicy_logging.go53 var opValues logPolicyOpValues
54 if req.OperationValue(&opValues); opValues.start.IsZero() {
55 opValues.start = time.Now() // If this is the 1st try, record this operation's start time
57 opValues.try++ // The first try is #1 (not #0)
58 req.SetOperationValue(opValues)
63 fmt.Fprintf(b, "==> OUTGOING REQUEST (Try=%d)\n", opValues.try)
73 opDuration := tryEnd.Sub(opValues.start)
101 …fmt.Fprintf(b, "==> REQUEST/RESPONSE (Try=%d/%v%s, OpTime=%v) -- ", opValues.try, tryDuration, slo…
H A Drequest.go40 values opValues
43 type opValues map[reflect.Type]interface{} type
46 func (ov opValues) set(value interface{}) {
51 func (ov opValues) get(value interface{}) bool {
138 req.values = opValues{}
178 var opValues bodyDownloadPolicyOpValues
179 req.OperationValue(&opValues)
180 return !opValues.skip
H A Dpolicy_body_download.go22 var opValues bodyDownloadPolicyOpValues
23 if req.OperationValue(&opValues); !opValues.skip && resp.Body != nil {
/dports/www/grafana8/azure-sdk-for-go-sdk-azidentity-v0.10.0/sdk/azcore/runtime/
H A Dpolicy_logging.go44 var opValues logPolicyOpValues
45 if req.OperationValue(&opValues); opValues.start.IsZero() {
46 opValues.start = time.Now() // If this is the 1st try, record this operation's start time
48 opValues.try++ // The first try is #1 (not #0)
49 req.SetOperationValue(opValues)
54 fmt.Fprintf(b, "==> OUTGOING REQUEST (Try=%d)\n", opValues.try)
71 opDuration := tryEnd.Sub(opValues.start)
76 …fmt.Fprintf(b, "==> REQUEST/RESPONSE (Try=%d/%v, OpTime=%v) -- ", opValues.try, tryDuration, opDur…
H A Dpolicy_body_download.go28 var opValues shared.BodyDownloadPolicyOpValues
30 if req.OperationValue(&opValues); opValues.Skip && resp.StatusCode < 400 {
/dports/www/grafana8/azure-sdk-for-go-sdk-azcore-v0.19.0/sdk/azcore/runtime/
H A Dpolicy_logging.go44 var opValues logPolicyOpValues
45 if req.OperationValue(&opValues); opValues.start.IsZero() {
46 opValues.start = time.Now() // If this is the 1st try, record this operation's start time
48 opValues.try++ // The first try is #1 (not #0)
49 req.SetOperationValue(opValues)
54 fmt.Fprintf(b, "==> OUTGOING REQUEST (Try=%d)\n", opValues.try)
71 opDuration := tryEnd.Sub(opValues.start)
76 …fmt.Fprintf(b, "==> REQUEST/RESPONSE (Try=%d/%v, OpTime=%v) -- ", opValues.try, tryDuration, opDur…
H A Dpolicy_body_download.go28 var opValues shared.BodyDownloadPolicyOpValues
30 if req.OperationValue(&opValues); opValues.Skip && resp.StatusCode < 400 {
/dports/net-mgmt/prometheus2/prometheus-2.30.3/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/
H A Dpolicy_logging.go44 var opValues logPolicyOpValues
45 if req.OperationValue(&opValues); opValues.start.IsZero() {
46 opValues.start = time.Now() // If this is the 1st try, record this operation's start time
48 opValues.try++ // The first try is #1 (not #0)
49 req.SetOperationValue(opValues)
54 fmt.Fprintf(b, "==> OUTGOING REQUEST (Try=%d)\n", opValues.try)
71 opDuration := tryEnd.Sub(opValues.start)
76 …fmt.Fprintf(b, "==> REQUEST/RESPONSE (Try=%d/%v, OpTime=%v) -- ", opValues.try, tryDuration, opDur…
H A Dpolicy_body_download.go28 var opValues shared.BodyDownloadPolicyOpValues
30 if req.OperationValue(&opValues); opValues.Skip && resp.StatusCode < 400 {
/dports/www/grafana8/azure-sdk-for-go-sdk-azidentity-v0.10.0/sdk/azcore/internal/pipeline/
H A Drequest.go36 values opValues
39 type opValues map[reflect.Type]interface{} type
42 func (ov opValues) set(value interface{}) {
47 func (ov opValues) get(value interface{}) bool {
97 req.values = opValues{}
/dports/www/grafana8/azure-sdk-for-go-sdk-azcore-v0.19.0/sdk/azcore/internal/pipeline/
H A Drequest.go36 values opValues
39 type opValues map[reflect.Type]interface{} type
42 func (ov opValues) set(value interface{}) {
47 func (ov opValues) get(value interface{}) bool {
97 req.values = opValues{}
/dports/net-mgmt/prometheus2/prometheus-2.30.3/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/pipeline/
H A Drequest.go36 values opValues
39 type opValues map[reflect.Type]interface{} type
42 func (ov opValues) set(value interface{}) {
47 func (ov opValues) get(value interface{}) bool {
97 req.values = opValues{}