Documentation ¶
Index ¶
- func DeleteKey(u Unstructured, key string)
- func FromProtoMessage(u Unstructured, msg proto.Message) error
- func Keys(u Unstructured) []string
- func MergeInto(u Unstructured, un Unstructured, nested bool)
- func MergeOut(u Unstructured, un Unstructured, nested bool)
- func ToProperties(u Unstructured) (map[string]*structpb.Value, error)
- func ToProtoMessage(u Unstructured, msg proto.Message) error
- func ToRecord(u Unstructured) (*model.Record, error)
- func ToValue(v Any) (*structpb.Value, error)
- type Any
- type Unstructured
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteKey ¶
func DeleteKey(u Unstructured, key string)
func FromProtoMessage ¶
func FromProtoMessage(u Unstructured, msg proto.Message) error
func Keys ¶
func Keys(u Unstructured) []string
func MergeInto ¶
func MergeInto(u Unstructured, un Unstructured, nested bool)
func MergeOut ¶
func MergeOut(u Unstructured, un Unstructured, nested bool)
func ToProperties ¶
func ToProperties(u Unstructured) (map[string]*structpb.Value, error)
func ToProtoMessage ¶
func ToProtoMessage(u Unstructured, msg proto.Message) error
Types ¶
type Unstructured ¶
func FromRecord ¶ added in v1.3.15
func FromRecord(record *model.Record) (Unstructured, error)
func FromStructValue ¶
func FromStructValue(v *structpb.Struct) Unstructured
Click to show internal directories.
Click to hide internal directories.