values

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Unwrap

func Unwrap(v starlark.Value) (any, error)

Types

type Context

type Context struct {
	Call  sdkservices.RunCallFunc
	RunID sdktypes.RunID
	// contains filtered or unexported fields
}

func FromTLS added in v0.3.2

func FromTLS(th *starlark.Thread) *Context

func (*Context) FromStarlarkValue

func (vctx *Context) FromStarlarkValue(v starlark.Value) (sdktypes.Value, error)

func (*Context) SetTLS added in v0.3.2

func (c *Context) SetTLS(th *starlark.Thread)

func (*Context) ToStarlarkValue

func (vctx *Context) ToStarlarkValue(v sdktypes.Value) (starlark.Value, error)

type Symbol

type Symbol string

func (*Symbol) Freeze

func (*Symbol) Freeze()

func (*Symbol) Hash

func (s *Symbol) Hash() (uint32, error)

func (*Symbol) String

func (s *Symbol) String() string

func (*Symbol) Truth

func (s *Symbol) Truth() starlark.Bool

func (*Symbol) Type

func (*Symbol) Type() string

Jump to

Keyboard shortcuts

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