Discover Packages
github.com/heptio/velero
pkg
util
encode
package
Version:
v1.3.0-beta.1
Opens a new window with list of versions in this module.
Published: Feb 4, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Encode converts the provided object to the specified format
and returns a byte slice of the encoded data.
EncodeTo converts the provided object to the specified format and
writes the encoded data to the provided io.Writer.
EncoderFor gets the appropriate encoder for the specified format.
Only objects registered in the velero scheme, or objects with their TypeMeta set will have valid encoders.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.