Discover Packages
github.com/vmware-tanzu/velero
pkg
util
encode
package
Version:
v1.8.1-rc.2
Opens a new window with list of versions in this module.
Published: Mar 7, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 8
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.