Documentation
¶
Index ¶
- func CreateAction(act ActionBuild, sh *shell.Shell) (string, error)
- func RunAction(me string, sh *shell.Shell) (string, error)
- type Action
- type ActionBuild
- type ActionBuildDep
- func (d ActionBuildDep) Attr(name string) (starlark.Value, error)
- func (d ActionBuildDep) AttrNames() []string
- func (d ActionBuildDep) Freeze()
- func (d ActionBuildDep) Hash() (uint32, error)
- func (d ActionBuildDep) String() string
- func (d ActionBuildDep) Truth() starlark.Bool
- func (d ActionBuildDep) Type() string
- type ActionCtx
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAction ¶
func CreateAction(act ActionBuild, sh *shell.Shell) (string, error)
Types ¶
type ActionBuild ¶
type ActionBuild struct { Cmd []string AbsDeps map[string]ActionBuildDep }
func ConsumeAction ¶
func ConsumeAction(path string, sh *shell.Shell) (ActionBuild, error)
func (ActionBuild) AttrNames ¶
func (b ActionBuild) AttrNames() []string
func (ActionBuild) Freeze ¶
func (d ActionBuild) Freeze()
func (ActionBuild) Hash ¶
func (d ActionBuild) Hash() (uint32, error)
func (ActionBuild) String ¶
func (b ActionBuild) String() string
func (ActionBuild) Truth ¶
func (d ActionBuild) Truth() starlark.Bool
func (ActionBuild) Type ¶
func (d ActionBuild) Type() string
type ActionBuildDep ¶
type ActionBuildDep struct { Act ActionBuild Name string }
func (ActionBuildDep) AttrNames ¶
func (d ActionBuildDep) AttrNames() []string
func (ActionBuildDep) Freeze ¶
func (d ActionBuildDep) Freeze()
func (ActionBuildDep) Hash ¶
func (d ActionBuildDep) Hash() (uint32, error)
Hash returns a function of x such that Equals(x, y) => Hash(x) == Hash(y). Hash may fail if the value's type is not hashable, or if the value contains a non-hashable value. The hash is used only by dictionaries and is not exposed to the Starlark program.
func (ActionBuildDep) String ¶
func (d ActionBuildDep) String() string
func (ActionBuildDep) Truth ¶
func (d ActionBuildDep) Truth() starlark.Bool
Truth returns the truth value of an object.
func (ActionBuildDep) Type ¶
func (d ActionBuildDep) Type() string
Click to show internal directories.
Click to hide internal directories.