- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for NewDecodingSerializer (0.77 sec)
-
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/yaml/yaml.go
// the nested serializer runtime.Serializer } // yamlSerializer implements Serializer var _ runtime.Serializer = yamlSerializer{} // NewDecodingSerializer adds YAML decoding support to a serializer that supports JSON. func NewDecodingSerializer(jsonSerializer runtime.Serializer) runtime.Serializer { return &yamlSerializer{jsonSerializer} }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 11 14:09:48 UTC 2017 - 1.4K bytes - Viewed (0) -
pkg/kube/client.go
fileInfo, err := os.Stat(f) if err != nil { return true } if fileInfo.Size() == 0 { return true } return false } var decUnstructured = yaml.NewDecodingSerializer(unstructured.UnstructuredJSONScheme) func getDryRun(dryRun bool) []string { var dryRunArgs []string if dryRun { dryRunArgs = []string{metav1.DryRunAll} } return dryRunArgs }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 25 14:44:17 UTC 2024 - 39K bytes - Viewed (0)