- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 250 for marshal (0.06 sec)
-
istioctl/pkg/multixds/gather.go
Component: "MISSING", ID: "MISSING", Info: istioversion.BuildInfo{ Version: "MISSING CP ID", }, } } cpID := pilotxds.IstioControlPlaneInstance{} err := json.Unmarshal([]byte(xdsResponse.ControlPlane.Identifier), &cpID) if err != nil { return pilotxds.IstioControlPlaneInstance{ Component: "INVALID", ID: "INVALID", Info: istioversion.BuildInfo{
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 13.6K bytes - Viewed (0) -
cmd/batch-rotate.go
if e.Context != "" { b, err := base64.StdEncoding.DecodeString(e.Context) if err != nil { return err } json := jsoniter.ConfigCompatibleWithStandardLibrary if err := json.Unmarshal(b, &ctx); err != nil { return err } } e.kmsContext = kms.Context{} for k, v := range ctx { e.kmsContext[k] = v }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 18 17:59:03 UTC 2024 - 14.7K bytes - Viewed (0) -
cmd/metacache-set.go
v, ok := fi.Metadata[partKey] if !ok { o.debugln("no match in metadata, waiting") return -1, io.ErrUnexpectedEOF } err := json.Unmarshal([]byte(v), &tmp) if !ok { bugLogIf(context.Background(), err) return -1, err } if tmp.First == "" && tmp.Last == "" && tmp.EOS { return 0, errFileNotFound } if tmp.First >= search {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 16:23:16 UTC 2024 - 30.7K bytes - Viewed (0) -
internal/bucket/object/lock/lock.go
func NewObjectLockConfig() *Config { return &Config{ ObjectLockEnabled: Enabled, } } // RetentionDate is a embedded type containing time.Time to unmarshal // Date in Retention type RetentionDate struct { time.Time } // UnmarshalXML parses date from Retention and validates date format
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Jun 29 01:20:27 UTC 2024 - 17.1K bytes - Viewed (0) -
cmd/metacache-set_gen.go
if err != nil { return } err = en.WriteInt(z.set) if err != nil { err = msgp.WrapError(err, "set") return } return } // MarshalMsg implements msgp.Marshaler func (z *listPathOptions) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) // map header, size 19 // string "ID" o = append(o, 0xde, 0x0, 0x13, 0xa2, 0x49, 0x44)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Mar 19 20:23:12 UTC 2024 - 13.8K bytes - Viewed (0) -
internal/bucket/object/lock/lock_test.go
expectErr: true, }, } for _, tt := range tests { d, err := xml.MarshalIndent(&tt.value, "", "\t") if err != nil { t.Fatal(err) } var dr DefaultRetention err = xml.Unmarshal(d, &dr) //nolint:gocritic if tt.expectedErr == nil { if err != nil { t.Fatalf("error: expected = <nil>, got = %v", err) } } else if err == nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Jun 29 01:20:27 UTC 2024 - 17.1K bytes - Viewed (0) -
istioctl/pkg/precheck/precheck.go
if err != nil { fmt.Printf("Error getting configmap %s: %v\n", configMapName, err) } meshData := make(map[string]interface{}) if data, exists := configMap.Data["mesh"]; exists { if err := yaml.Unmarshal([]byte(data), &meshData); err != nil { fmt.Printf("Error parsing meshConfig: %v\n", err) return err } } if scopingImpacted = meshData["discoverySelectors"] != nil; !scopingImpacted { continue
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 02:31:32 UTC 2024 - 15.3K bytes - Viewed (0) -
api/go1.txt
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0) -
istioctl/pkg/validate/validate_test.go
service.istio.io/canonical-revision: v1 spec: replicas: 1 ` ) func fromYAML(in string) *unstructured.Unstructured { var un unstructured.Unstructured if err := yaml.Unmarshal([]byte(in), &un); err != nil { panic(err) } return &un } func TestValidateResource(t *testing.T) { cases := []struct { name string in string valid bool warn bool }{
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Aug 02 16:18:14 UTC 2024 - 21.4K bytes - Viewed (0) -
cmd/kms-handlers_test.go
t.Errorf("want status code %d, got %d", test.wantStatusCode, rec.Code) } // Check returned key list is correct if test.wantKeyNames != nil { keys := []madmin.KMSKeyInfo{} err := json.Unmarshal(rec.Body.Bytes(), &keys) if err != nil { t.Fatal(err) } if len(keys) != len(test.wantKeyNames) { t.Fatalf("want %d keys, got %d", len(test.wantKeyNames), len(keys)) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 22.3K bytes - Viewed (0)