Plugin API reference
The core public APIs are of interest to anyone who wishes to
implement custom Element
or
Source
plugins, and can also be
useful for working on BuildStream itself.
- Foundation types
FastEnum
CoreWarnings
OverlapAction
SourceRef
- Node - Parsed YAML configuration
MappingNode
Node
ProvenanceInformation
ScalarNode
SequenceNode
- Plugin - Base plugin class
Plugin
- Source - Base source class
- SourceFetcher - Object for fetching individual URLs
SourceError
SourceFetcher
Source
- DownloadableFileSource - Abstract class for sources downloaded from a URI
DownloadableFileSource
- Element - Base element class
ElementError
DependencyConfiguration
Element
- BuildElement - Abstract class for build elements
BuildElement
- ScriptElement - Abstract class for scripting elements
ScriptElement
setup()
- Sandbox - The build sandbox
SandboxCommandError
Sandbox
- Directory - Interfacing with files
DirectoryError
FileType
FileStat
Directory
- Exceptions - API for Error Handling
ErrorDomain
LoadErrorReason
- Utilities
UtilError
ProgramNotFoundError
DirectoryExistsError
FileListResult
list_relative_paths()
glob()
sha256sum()
safe_copy()
safe_link()
safe_remove()
copy_files()
link_files()
get_host_tool()
get_bst_version()
move_atomic()
save_file_atomic()
get_umask()