Documentation ¶
Index ¶
- func MarshalToYaml(obj runtime.Object, gv runtime.GroupVersioner) ([]byte, error)
- func MarshalToYamlForCodecs(obj runtime.Object, gv runtime.GroupVersioner, codecs serializer.CodecFactory) ([]byte, error)
- func UnmarshalFromYaml(buffer []byte, gv runtime.GroupVersioner) (runtime.Object, error)
- func UnmarshalFromYamlForCodecs(buffer []byte, gv runtime.GroupVersioner, codecs serializer.CodecFactory) (runtime.Object, error)
- func UnmarshalFromYamlUnstructured(data []byte) ([]*unstructured.Unstructured, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalToYaml ¶
MarshalToYaml marshals an object into yaml.
func MarshalToYamlForCodecs ¶
func MarshalToYamlForCodecs(obj runtime.Object, gv runtime.GroupVersioner, codecs serializer.CodecFactory) ([]byte, error)
MarshalToYamlForCodecs marshals an object into yaml using the specified codec
func UnmarshalFromYaml ¶
UnmarshalFromYaml unmarshals yaml into an object.
func UnmarshalFromYamlForCodecs ¶
func UnmarshalFromYamlForCodecs(buffer []byte, gv runtime.GroupVersioner, codecs serializer.CodecFactory) (runtime.Object, error)
UnmarshalFromYamlForCodecs unmarshals yaml into an object using the specified codec
func UnmarshalFromYamlUnstructured ¶
func UnmarshalFromYamlUnstructured(data []byte) ([]*unstructured.Unstructured, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.