Documentation ¶
Index ¶
- func GetAttributes(asset *v1beta2.Asset) map[string]interface{}
- func SetAttributes(asset *v1beta2.Asset, customFields map[string]interface{}) (res *v1beta2.Asset, err error)
- func StatusCode(err error) codes.Code
- func StatusText(err error) string
- func TryParseMapToProto(src map[string]interface{}) *structpb.Struct
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAttributes ¶
GetAttributes returns custom properties of the given asset
func SetAttributes ¶
func SetAttributes(asset *v1beta2.Asset, customFields map[string]interface{}) (res *v1beta2.Asset, err error)
SetAttributes sets custom properties of the given asset
func StatusCode ¶
func StatusText ¶ added in v0.8.9
func TryParseMapToProto ¶
TryParseMapToProto parses given map to proto struct
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.