Documentation ¶
Index ¶
- type Environ
- func (e Environ) Attr(name string) (starlark.Value, error)
- func (Environ) AttrNames() []string
- func (Environ) Clear() error
- func (Environ) CompareSameType(op syntax.Token, y_ starlark.Value, depth int) (bool, error)
- func (Environ) Delete(k starlark.Value) (v starlark.Value, found bool, err error)
- func (Environ) Freeze()
- func (Environ) Get(k starlark.Value) (v starlark.Value, found bool, err error)
- func (Environ) Hash() (uint32, error)
- func (Environ) Items() []starlark.Tuple
- func (Environ) Iterate() starlark.Iterator
- func (Environ) Keys() []starlark.Value
- func (Environ) Len() int
- func (Environ) SetKey(k, v starlark.Value) error
- func (Environ) String() string
- func (Environ) Truth() starlark.Bool
- func (Environ) Type() string
- type Extension
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Environ ¶ added in v0.14.0
type Environ struct { }
Exposes os.Environ as a Starlark dictionary.
func (Environ) CompareSameType ¶ added in v0.14.0
type Extension ¶
type Extension struct { }
The starlark OS module. Modeled after Bazel's repository_os https://docs.bazel.build/versions/master/skylark/lib/repository_os.html and Python's OS module https://docs.python.org/3/library/os.html
func NewExtension ¶
func NewExtension() Extension
Click to show internal directories.
Click to hide internal directories.