Documentation ¶
Index ¶
- func MapStringInterfaceToMapStringString(interfaceMap map[string]interface{}) (map[string]string, error)
- func MapStringStringToMapStringInterface(stringMap map[string]string) (map[string]interface{}, error)
- func MarshalBytes(res resources.Resource) ([]byte, error)
- func MarshalBytesEmitZeroValues(res resources.Resource) ([]byte, error)
- func MarshalMap(from resources.Resource) (map[string]interface{}, error)
- func MarshalMapEmitZeroValues(from resources.Resource) (map[string]interface{}, error)
- func MarshalMapFromProto(from proto.Message) (map[string]interface{}, error)
- func MarshalMapFromProtoWithEnumsAsInts(from proto.Message) (map[string]interface{}, error)
- func MarshalYAML(res resources.Resource) ([]byte, error)
- func UnmarshalBytes(data []byte, into resources.Resource) error
- func UnmarshalMap(m map[string]interface{}, into resources.Resource) error
- func UnmarshalMapToProto(m map[string]interface{}, into proto.Message) error
- func UnmarshalResource(kubeJson []byte, resource resources.Resource) error
- func UnmarshalYAML(data []byte, into resources.Resource) 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 MarshalMapFromProto ¶ added in v0.13.9
func MarshalMapFromProtoWithEnumsAsInts ¶ added in v0.13.9
func UnmarshalMapToProto ¶ added in v0.13.9
func UnmarshalResource ¶ added in v0.10.23
convert raw Kube JSON to a Solo-Kit resource
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.