- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 182 for unmarshalV1 (0.07 sec)
-
impl/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurator.java
* KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.maven.configuration; /** * Unmarshals some textual configuration from the POM or similar into the properties of a bean. This component works * similar to the way Maven configures plugins from the POM, i.e. some configuration like {@code <param>value</param>}
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0) -
istioctl/pkg/authz/analyzer.go
listenerTyped := &listener.Listener{} // Support v2 or v3 in config dump. See ads.go:RequestedTypes for more info. l.ActiveState.Listener.TypeUrl = v3.ListenerType err := l.ActiveState.Listener.UnmarshalTo(listenerTyped) if err != nil { return } listeners = append(listeners, listenerTyped) } Print(writer, listeners)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Jul 13 01:59:17 UTC 2022 - 2.1K bytes - Viewed (0) -
cni/pkg/install/cniconfig.go
func insertCNIConfig(newCNIConfig, existingCNIConfig []byte) ([]byte, error) { var istioMap map[string]any err := json.Unmarshal(newCNIConfig, &istioMap) if err != nil { return nil, fmt.Errorf("error loading Istio CNI config (JSON error): %v", err) } var existingMap map[string]any err = json.Unmarshal(existingCNIConfig, &existingMap) if err != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 18:38:14 UTC 2024 - 8.2K bytes - Viewed (0) -
internal/bucket/lifecycle/delmarker-expiration_test.go
err: errInvalidDaysDelMarkerExpiration, }, } for i, test := range tests { t.Run(fmt.Sprintf("TestDelMarker-%d", i), func(t *testing.T) { var dexp DelMarkerExpiration var fail bool err := xml.Unmarshal([]byte(test.xml), &dexp) if test.err == nil { if err != nil { fail = true } } else { if err == nil { fail = true } if test.err.Error() != err.Error() { fail = true
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 01 01:11:10 UTC 2024 - 1.6K bytes - Viewed (0) -
cmd/batch-replicate_test.go
# # retry: # attempts: 10 # number of retries for the job before giving up # delay: "500ms" # least amount of delay between each retry ` var job BatchJobRequest err := yaml.Unmarshal([]byte(replicateYaml), &job) if err != nil { t.Fatal("Failed to parse batch-job-replicate yaml", err) } if !slices.Equal(job.Replicate.Source.Prefix.F(), []string{"object-prefix1"}) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 01 12:53:30 UTC 2024 - 7.9K bytes - Viewed (0) -
internal/dsync/lock-args_gen.go
o = append(o, 0xa6, 0x51, 0x75, 0x6f, 0x72, 0x75, 0x6d) if z.Quorum == nil { o = msgp.AppendNil(o) } else { o = msgp.AppendInt(o, *z.Quorum) } return } // UnmarshalMsg implements msgp.Unmarshaler func (z *LockArgs) 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: Wed Jul 24 10:24:01 UTC 2024 - 10.2K bytes - Viewed (0) -
internal/s3select/csv/reader_contrib_test.go
QuoteCharacter: defaultQuoteCharacter, QuoteEscapeCharacter: defaultQuoteEscapeCharacter, CommentCharacter: defaultCommentCharacter, AllowQuotedRecordDelimiter: false, unmarshaled: true, }) for { record, err = r.Read(record) if err != nil { break } opts := sql.WriteCSVOpts{ FieldDelimiter: []rune(c.fieldDelimiter)[0],
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 38.5K bytes - Viewed (0) -
cmd/xl-storage-format-v2_gen.go
func (z ChecksumAlgo) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) o = msgp.AppendUint8(o, uint8(z)) return } // UnmarshalMsg implements msgp.Unmarshaler func (z *ChecksumAlgo) UnmarshalMsg(bts []byte) (o []byte, err error) { { var zb0001 uint8 zb0001, bts, err = msgp.ReadUint8Bytes(bts) if err != nil { err = msgp.WrapError(err) return }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 55.5K bytes - Viewed (0) -
istioctl/pkg/authz/authz.go
data, err := io.ReadAll(file) if err != nil { return nil, err } envoyConfig := &configdump.Wrapper{} if err := envoyConfig.UnmarshalJSON(data); err != nil { return nil, fmt.Errorf("failed to unmarshal proxy config: %s", err) } return envoyConfig, nil } func getConfigDumpFromPod(kubeClient kube.CLIClient, podName, podNamespace string) (*configdump.Wrapper, error) {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 5K bytes - Viewed (0) -
cmd/bucket-policy.go
return nil, err } var policyInfo miniogopolicy.BucketAccessPolicy json := jsoniter.ConfigCompatibleWithStandardLibrary if err = json.Unmarshal(data, &policyInfo); err != nil { // This should not happen because data is valid to JSON data. return nil, err } return &policyInfo, nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 8K bytes - Viewed (0)