Documentation ¶
Index ¶
- func MapStringInterfaceToMapStringString(interfaceMap map[string]interface{}) (map[string]string, error)
- func MapStringStringToMapStringInterface(stringMap map[string]string) (map[string]interface{}, error)
- func MarshalBytes(pb proto.Message) ([]byte, error)
- func MarshalBytesEmitZeroValues(pb proto.Message) ([]byte, error)
- func MarshalMap(from proto.Message) (map[string]interface{}, error)
- func MarshalMapEmitZeroValues(from proto.Message) (map[string]interface{}, error)
- func MarshalStruct(m proto.Message) (*types.Struct, error)
- func MarshalStructEmitZeroValues(m proto.Message) (*types.Struct, error)
- func UnmarshalBytes(data []byte, into proto.Message) error
- func UnmarshalMap(m map[string]interface{}, into proto.Message) error
- func UnmarshalStruct(structuredData *types.Struct, into interface{}) error
- func UnmarshalYaml(data []byte, into proto.Message) error
- func UnmarshalYamlAllowUnknown(data []byte, into proto.Message) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapStringInterfaceToMapStringString ¶
func MapStringInterfaceToMapStringString(interfaceMap map[string]interface{}) (map[string]string, error)
reverse of previous
func MapStringStringToMapStringInterface ¶
func MapStringStringToMapStringInterface(stringMap map[string]string) (map[string]interface{}, error)
ilackarms: help come up with a better name for this please values in stringMap are yaml encoded or error used by configmap resource client
func MarshalStruct ¶
this function is designed for converting go object (that is not a proto.Message) into a pb Struct, based on json struct tags
func UnmarshalStruct ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.