- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for NewYAMLOrJSONDecoder (0.3 sec)
-
pilot/pkg/config/kube/crd/conversion.go
var others []IstioKind reader := bytes.NewReader([]byte(inputs)) empty := IstioKind{} // We store configs as a YaML stream; there may be more than one decoder. yamlDecoder := kubeyaml.NewYAMLOrJSONDecoder(reader, 512*1024) for { obj := IstioKind{} err := yamlDecoder.Decode(&obj) if err == io.EOF { break } if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 25 18:26:16 UTC 2024 - 6.3K bytes - Viewed (0)