package
0.0.0-20230226003218-1dd1f65bfa42
Repository: https://github.com/c4-project/c4t.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

AddRequest constructs an add-subject request for subject s.
CompileRequest constructs an add-compile request for the compilation with name name and result r.
EndMessage creates a build-end message.
New constructs a Builder according to cfg.
OnBuild sends an OnBuild message to each observer in obs.
ParBuild runs f in a parallelised manner across the subjects in src.
RecipeRequest constructs an add-recipe request for the subject with name sname, arch ID arch, and recipe r.
RunRequest constructs an add-run request for the compilation with name name and result r.
StartMessage creates an build-start message using manifest m.
StepMessage creates a build-step message for step i and request r.

# Variables

ErrBadBuilderName occurs when a builder request specifies a name that isn't in the builder's corpus.
ErrBadBuilderRequest occurs when a builder request has an unknown body type.
ErrBadTarget occurs when the target request count for a Builder is non-positive.

# Structs

Builder handles the assembly of corpora from asynchronously-constructed subjects.
Compile is a request to add the given compiler result to the named subject.
Config is a configuration for a Builder.
Manifest describes the layout of a corpus build task.
Message is the type of builder observation messages.
Recipe is a request to add the given recipe to the named subject, under the named architecture.
Request is the type of requests to a Builder.
Run is a request to add the given run result to the named subject.

# Interfaces

Observer is the interface for things that observe a builder.

# Type aliases

Add is a request to add the given subject to the corpus.