Documentation ¶
Index ¶
Constants ¶
View Source
const ( Data configuration = "data" Host configuration = "host" Target configuration = "target" )
Variables ¶
This section is empty.
Functions ¶
func NewBldyDict ¶
func NewBldyDict() bldyDict
NewBldyDict returns a new skylark.StringDict that can be used as a skylark.Value
func WalkDict ¶
func WalkDict(x *skylark.Dict, wf WalkAttrFunc) error
WalkAttrs traverses attributes
Types ¶
type Attribute ¶
Attribute is representation of a definition of an attribute. Use the attr module to create an Attribute. They are only for use with a rule or an aspect. https://docs.bazel.build/versions/master/skylark/lib/Attribute.html
type BldyFunc ¶
type BldyFunc func(thread *skylark.Thread, args skylark.Tuple, kwargs []skylark.Tuple) (skylark.Value, error)
BldyFunc represents a callable SkylarkFunc that will run by bldy
type Rule ¶
type Rule struct { SkyFuncLabel string Args skylark.Tuple KWArgs []skylark.Tuple SkyFunc *skylark.Function FuncAttrs *skylark.Dict Attrs *skylark.Dict Actions []executor.Action // contains filtered or unexported fields }
Rule is a bazel rule that is implemented in skylark
func (*Rule) Dependencies ¶
GetDependencies returns the dependencies of the SkylarkRule
func (*Rule) Outputs ¶
Installs returns what will be outputed from the execution of the rule
Source Files ¶
Click to show internal directories.
Click to hide internal directories.