Skip to main content

plugins type


plugins.All: all_plugins

A special value for use with pulls_and_pushes_plugins.

This value can be passed to pulls_and_pushes_plugins on any attr.dep() to indicate that all plugin kinds from the dep should be pulled and pushed. This is useful for rules like alias.

This value is not supported on uses_plugins at this time, and hence it is not useful on pulls_plugins either.


plugins.PluginKind: type

Type symbol for PluginKind.


def plugins.kind() -> PluginKind

Create a new plugin kind.

The value returned should always be immediately bound to a global, like MyPluginKind = plugins.kind()