starlarkvalue

package
v0.0.0-...-a649549 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2023 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromProtoValue

func FromProtoValue(x *structpb.Value) starlark.Value

FromProtoValue converts a Google Well-Known-Type Value to a Starlark value. Panics on unexpected proto value.

func ProtoCompatible

func ProtoCompatible(value starlark.Value) (err error)

ProtoCompatible returns a non-nil error when the Starlark value has no trivial Protocol Buffers Well-Known-Types representation.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL