os

package
v0.33.13 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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) Attr added in v0.14.0

func (e Environ) Attr(name string) (starlark.Value, error)

func (Environ) AttrNames added in v0.14.0

func (Environ) AttrNames() []string

func (Environ) Clear added in v0.14.0

func (Environ) Clear() error

func (Environ) CompareSameType added in v0.14.0

func (Environ) CompareSameType(op syntax.Token, y_ starlark.Value, depth int) (bool, error)

func (Environ) Delete added in v0.14.0

func (Environ) Delete(k starlark.Value) (v starlark.Value, found bool, err error)

func (Environ) Freeze added in v0.14.0

func (Environ) Freeze()

func (Environ) Get added in v0.14.0

func (Environ) Get(k starlark.Value) (v starlark.Value, found bool, err error)

func (Environ) Hash added in v0.14.0

func (Environ) Hash() (uint32, error)

func (Environ) Items added in v0.14.0

func (Environ) Items() []starlark.Tuple

func (Environ) Iterate added in v0.14.0

func (Environ) Iterate() starlark.Iterator

func (Environ) Keys added in v0.14.0

func (Environ) Keys() []starlark.Value

func (Environ) Len added in v0.14.0

func (Environ) Len() int

func (Environ) SetKey added in v0.14.0

func (Environ) SetKey(k, v starlark.Value) error

func (Environ) String added in v0.14.0

func (Environ) String() string

func (Environ) Truth added in v0.14.0

func (Environ) Truth() starlark.Bool

func (Environ) Type added in v0.14.0

func (Environ) Type() string

type Plugin added in v0.22.4

type Plugin 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 NewPlugin added in v0.22.4

func NewPlugin() Plugin

func (Plugin) OnStart added in v0.22.4

func (e Plugin) OnStart(env *starkit.Environment) error

Jump to

Keyboard shortcuts

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