- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 30 for unmarshaller (0.13 sec)
-
istioctl/pkg/util/configdump/wrapper.go
} // Wrapper is a wrapper around the Envoy ConfigDump // It has extra helper functions for handling any/struct/marshal protobuf pain type Wrapper struct { *admin.ConfigDump } // UnmarshalJSON is a custom unmarshaller to handle protobuf pain func (w *Wrapper) UnmarshalJSON(b []byte) error { cd := &admin.ConfigDump{} err := protomarshal.UnmarshalAllowUnknownWithAnyResolver(nonStrictResolver, b, cd) *w = Wrapper{cd} return err
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 1.8K bytes - Viewed (0) -
istioctl/pkg/util/clusters/wrapper.go
type Wrapper struct { *admin.Clusters } // MarshalJSON is a custom marshaller to handle protobuf pain func (w *Wrapper) MarshalJSON() ([]byte, error) { return protomarshal.Marshal(w) } // UnmarshalJSON is a custom unmarshaller to handle protobuf pain func (w *Wrapper) UnmarshalJSON(b []byte) error { cd := &admin.Clusters{}
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Nov 03 08:41:32 UTC 2022 - 1.2K bytes - Viewed (0) -
cmd/xl-storage-format-v1.go
Name: fmt.Sprintf("part.%d", c.PartNumber), Algorithm: c.Algorithm.String(), Hash: hex.EncodeToString(c.Hash), } return json.Marshal(info) } // UnmarshalJSON - custom checksum info unmarshaller func (c *ChecksumInfo) UnmarshalJSON(data []byte) error { var info checksumInfoJSON json := jsoniter.ConfigCompatibleWithStandardLibrary if err := json.Unmarshal(data, &info); err != nil { return err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 8.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationRequest.java
/** * Gets the optional path translator for configuration values unmarshalled to files. * * @return The path translator for files or {@code null} if none. */ BeanConfigurationPathTranslator getPathTranslator(); /** * Sets the optional path translator for configuration values unmarshalled to files. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.9K bytes - Viewed (0) -
internal/s3select/json/args.go
} *args = ReaderArgs(parsedArgs) args.unmarshaled = true return nil } // WriterArgs - represents elements inside <OutputSerialization><JSON/> in request XML. type WriterArgs struct { RecordDelimiter string `xml:"RecordDelimiter"` unmarshaled bool } // IsEmpty - returns whether writer args is empty or not. func (args *WriterArgs) IsEmpty() bool { return !args.unmarshaled } // UnmarshalXML - decodes XML data.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 2.7K bytes - Viewed (0) -
internal/s3select/csv/args.go
CommentCharacter string `xml:"Comments"` AllowQuotedRecordDelimiter bool `xml:"AllowQuotedRecordDelimiter"` unmarshaled bool } // IsEmpty - returns whether reader args is empty or not. func (args *ReaderArgs) IsEmpty() bool { return !args.unmarshaled } // UnmarshalXML - decodes XML data. func (args *ReaderArgs) UnmarshalXML(d *xml.Decoder, start xml.StartElement) (err error) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 20 18:31:45 UTC 2024 - 5.7K bytes - Viewed (0) -
cmd/batch-job-common-types.go
// BatchJobKV is a key-value data type which supports wildcard matching type BatchJobKV struct { line, col int Key string `yaml:"key" json:"key"` Value string `yaml:"value" json:"value"` } var _ yaml.Unmarshaler = &BatchJobKV{} // UnmarshalYAML - BatchJobKV extends default unmarshal to extract line, col information. func (kv *BatchJobKV) UnmarshalYAML(val *yaml.Node) error { type jobKV BatchJobKV var tmp jobKV
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 11 03:13:30 UTC 2024 - 7.9K bytes - Viewed (0) -
cmd/object-api-interface_gen.go
// string "NoMetadata" o = append(o, 0xaa, 0x4e, 0x6f, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61) o = msgp.AppendBool(o, z.NoMetadata) return } // UnmarshalMsg implements msgp.Unmarshaler func (z *BucketOptions) UnmarshalMsg(bts []byte) (o []byte, err error) { var field []byte _ = field var zb0001 uint32 zb0001, bts, err = msgp.ReadMapHeaderBytes(bts) if err != nil { err = msgp.WrapError(err)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 22 21:57:20 UTC 2024 - 8.7K bytes - Viewed (0) -
internal/bucket/replication/datatypes_gen.go
func (z StatusType) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) o = msgp.AppendString(o, string(z)) return } // UnmarshalMsg implements msgp.Unmarshaler func (z *StatusType) UnmarshalMsg(bts []byte) (o []byte, err error) { { var zb0001 string zb0001, bts, err = msgp.ReadStringBytes(bts) if err != nil { err = msgp.WrapError(err) return }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Mar 08 19:08:18 UTC 2024 - 2.3K bytes - Viewed (0) -
internal/s3select/parquet/args.go
import "encoding/xml" // ReaderArgs - represents elements inside <InputSerialization><Parquet/> in request XML. type ReaderArgs struct { unmarshaled bool } // IsEmpty - returns whether reader args is empty or not. func (args *ReaderArgs) IsEmpty() bool { return !args.unmarshaled } // UnmarshalXML - decodes XML data. func (args *ReaderArgs) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.4K bytes - Viewed (0)