Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 268 for marshaling (0.15 sec)

  1. internal/bucket/lifecycle/expiration.go

    }
    
    // ExpireDeleteMarker represents value of ExpiredObjectDeleteMarker field in Expiration XML element.
    type ExpireDeleteMarker struct {
    	Boolean
    }
    
    // Boolean signifies a boolean XML struct with custom marshaling
    type Boolean struct {
    	val    bool
    	set    bool
    	Unused struct{} // Needed for GOB compatibility
    }
    
    // Expiration - expiration actions for a rule in lifecycle configuration.
    type Expiration struct {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Feb 21 20:28:34 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. pkg/adsc/adsc.go

    	Message proto.Message
    }
    
    func (p jsonMarshalProtoWithName) MarshalJSON() ([]byte, error) {
    	strSer, serr := protomarshal.ToJSONWithIndent(p.Message, "  ")
    	if serr != nil {
    		adscLog.Warnf("Error for marshaling [%s]: %v", p.Name, serr)
    		return []byte(""), serr
    	}
    	serialItem := []byte("{\"" + p.Name + "\":" + strSer + "}")
    	return serialItem, nil
    }
    
    var adscLog = log.RegisterScope("adsc", "adsc debugging")
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 05 22:18:49 UTC 2024
    - 35K bytes
    - Viewed (0)
  3. pilot/pkg/xds/filters/filters.go

    	// EnvoyJwtFilterPayload is the struct field for the payload in dynamic metadata in Envoy JWT filter.
    	EnvoyJwtFilterPayload = "payload"
    )
    
    // Define static filters to be reused across the codebase. This avoids duplicate marshaling/unmarshaling
    // This should not be used for filters that will be mutated
    var (
    	RetryPreviousHosts = &route.RetryPolicy_RetryHostPredicate{
    		Name: "envoy.retry_host_predicates.previous_hosts",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 09 09:24:25 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  4. pkg/test/kube/dump.go

    	pods = podsOrFetch(c, pods, namespace)
    
    	for _, pod := range pods {
    		out, err := yaml.Marshal(&pod)
    		if err != nil {
    			scopes.Framework.Warnf("Error marshaling pod state for output: %v", err)
    			continue
    		}
    
    		outPath := podOutputPath(workDir, c, pod, "pod-state.yaml")
    		if err := os.WriteFile(outPath, out, os.ModePerm); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/walk/walk.go

    			ir.ODEREF, ir.ODOTPTR, ir.ODOTTYPE, ir.ODYNAMICDOTTYPE, ir.ODIV, ir.OMOD,
    			ir.OSLICE2ARR, ir.OSLICE2ARRPTR:
    			// These ops might panic, make sure they are done
    			// before we start marshaling args for a call. See issue 16760.
    			return true
    
    		case ir.OANDAND, ir.OOROR:
    			n := n.(*ir.LogicalExpr)
    			// The RHS expression may have init statements that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 20:56:00 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/analysis/internal/analysisflags/flags.go

    			tree[id] = m
    		}
    		m[name] = v
    	}
    }
    
    func (tree JSONTree) Print() {
    	data, err := json.MarshalIndent(tree, "", "\t")
    	if err != nil {
    		log.Panicf("internal error: JSON marshaling failed: %v", err)
    	}
    	fmt.Printf("%s\n", data)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. pilot/pkg/features/pilot.go

    		"If enabled, certificates received by the proxy will be verified against the OS CA certificate bundle.").Get()
    
    	EnableVtprotobuf = env.Register("ENABLE_VTPROTOBUF", true,
    		"If true, will use optimized vtprotobuf based marshaling. Requires a build with -tags=vtprotobuf.").Get()
    
    	GatewayAPIDefaultGatewayClass = env.Register("PILOT_GATEWAY_API_DEFAULT_GATEWAYCLASS_NAME", "istio",
    		"Name of the default GatewayClass").Get()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. pkg/test/framework/components/istio/kube.go

    	}
    	if operatorCfg.Spec == nil {
    		operatorCfg.Spec = &opAPI.IstioOperatorSpec{}
    	}
    
    	// marshaling entire operatorCfg causes panic because of *time.Time in ObjectMeta
    	outb, err := yaml.Marshal(operatorCfg.Spec)
    	if err != nil {
    		return nil, fmt.Errorf("failed marshaling iop spec: %v", err)
    	}
    
    	out := fmt.Sprintf(`
    apiVersion: install.istio.io/v1alpha1
    kind: IstioOperator
    spec:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  9. src/html/template/js.go

    		//
    		// We also put a space before the comment so that if it is flush against
    		// a division operator it is not turned into a line comment:
    		//     x/{{y}}
    		// turning into
    		//     x//* error marshaling y:
    		//          second line of error message */null
    		errStr := err.Error()
    		errStr = strings.ReplaceAll(errStr, "*/", "* /")
    		errStr = strings.ReplaceAll(errStr, "</script", `\x3C/script`)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. internal/bucket/object/lock/lock_test.go

    		if actualStatus != tt.expectedStatus {
    			t.Errorf("Expected legal hold status %s, got %s", tt.expectedStatus, actualStatus)
    		}
    	}
    }
    
    // TestUnmarshalDefaultRetention checks if default retention
    // marshaling and unmarshalling work as expected
    func TestUnmarshalDefaultRetention(t *testing.T) {
    	days := uint64(4)
    	years := uint64(1)
    	zerodays := uint64(0)
    	invalidDays := uint64(maximumRetentionDays + 1)
    	tests := []struct {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 17.1K bytes
    - Viewed (0)
Back to top