- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 182 for unmarshalV1 (0.12 sec)
-
cmd/batch-rotate_gen.go
o = msgp.AppendString(o, z.Key) // string "Context" o = append(o, 0xa7, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74) o = msgp.AppendString(o, z.Context) return } // UnmarshalMsg implements msgp.Unmarshaler func (z *BatchJobKeyRotateEncryption) UnmarshalMsg(bts []byte) (o []byte, err error) { var field []byte _ = field var zb0001 uint32 zb0001, bts, err = msgp.ReadMapHeaderBytes(bts) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Dec 02 10:51:33 UTC 2023 - 27.1K bytes - Viewed (0) -
internal/bucket/lifecycle/expiration_test.go
expectedErr: errLifecycleDateNotMidnight, }, } for i, tc := range testCases { t.Run(fmt.Sprintf("Test %d", i+1), func(t *testing.T) { var expiration Expiration err := xml.Unmarshal([]byte(tc.inputXML), &expiration) if err != tc.expectedErr { t.Fatalf("%d: Expected %v but got %v", i+1, tc.expectedErr, err) } }) } validationTestCases := []struct { inputXML string
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Feb 21 20:28:34 UTC 2024 - 4.1K bytes - Viewed (0) -
istioctl/pkg/util/configdump/bootstrap.go
bootstrapDumpAny, err := w.getSection(bootstrap) if err != nil { return nil, err } bootstrapDump := &admin.BootstrapConfigDump{} err = bootstrapDumpAny.UnmarshalTo(bootstrapDump) if err != nil { return nil, err } return bootstrapDump, nil
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Nov 03 08:41:32 UTC 2022 - 1.1K bytes - Viewed (0) -
istioctl/pkg/util/configdump/endpoint.go
endpointsDumpAny, err := w.getSection(endpoints) if err != nil { return nil, nil } endpointsDump := &admin.EndpointsConfigDump{} err = endpointsDumpAny.UnmarshalTo(endpointsDump) if err != nil { return nil, err } return endpointsDump, nil
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Oct 24 14:14:42 UTC 2023 - 1.1K bytes - Viewed (0) -
istioctl/pkg/util/configdump/ecds.go
ecdsDumpAny, err := w.getSections(ecds) if err != nil { return nil, err } ecdsDump := &admin.EcdsConfigDump{} for _, dump := range ecdsDumpAny { ecds := &admin.EcdsConfigDump{} err = dump.UnmarshalTo(ecds) if err != nil { return nil, err } ecdsDump.EcdsFilters = append(ecdsDump.EcdsFilters, ecds.EcdsFilters...) } if err != nil { return nil, err } return ecdsDump, nil
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sun Dec 24 08:16:26 UTC 2023 - 1.2K bytes - Viewed (0) -
cmd/xl-storage-format-v2.go
} return decodeVersions(buf, versions, func(i int, hdr, meta []byte) error { ver := &x.versions[i] _, err = ver.header.unmarshalV(headerV, hdr) if err != nil { return err } ver.meta = meta // Fix inconsistent x-minio-internal-replication-timestamp by loading and reindexing. if metaV < 2 && ver.header.Type == DeleteType {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 64K bytes - Viewed (1) -
istioctl/pkg/writer/envoy/configdump/route.go
if r.RouteConfig != nil { routeTyped := &route.RouteConfiguration{} // Support v2 or v3 in config dump. See ads.go:RequestedTypes for more info. r.RouteConfig.TypeUrl = v3.RouteType err = r.RouteConfig.UnmarshalTo(routeTyped) if err != nil { return nil, err } routes = append(routes, routeTyped) } } for _, r := range routeDump.StaticRouteConfigs { if r.RouteConfig != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 08 20:44:50 UTC 2024 - 7.2K bytes - Viewed (0) -
cmd/batch-handlers_test.go
args: args{ yamlStr: ` prefix: - "foo" - "bar" `, }, want: []string{"foo", "bar"}, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { if err := yaml.Unmarshal([]byte(tt.args.yamlStr), &tt.b); (err != nil) != tt.wantErr { t.Errorf("UnmarshalYAML() error = %v, wantErr %v", err, tt.wantErr) } if !slices.Equal(tt.b.Prefix.F(), tt.want) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 01 12:53:30 UTC 2024 - 1.7K bytes - Viewed (0) -
cmd/storage-rest-common_gen.go
o = msgp.AppendNil(o) } else { o, err = z.Cache.MarshalMsg(o) if err != nil { err = msgp.WrapError(err, "Cache") return } } return } // UnmarshalMsg implements msgp.Unmarshaler func (z *nsScannerOptions) UnmarshalMsg(bts []byte) (o []byte, err error) { var field []byte _ = field var zb0001 uint32 zb0001, bts, err = msgp.ReadMapHeaderBytes(bts) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Nov 21 01:09:35 UTC 2023 - 7.9K bytes - Viewed (0) -
internal/bucket/lifecycle/expiration.go
errLifecycleInvalidDeleteAll = Errorf("Days (positive integer) should be present inside Expiration with ExpiredObjectAllVersions.") ) // ExpirationDays is a type alias to unmarshal Days in Expiration type ExpirationDays int // UnmarshalXML parses number of days from Expiration and validates if // greater than zero
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Feb 21 20:28:34 UTC 2024 - 6.6K bytes - Viewed (0)