Documentation
¶
Overview ¶
Package bootstrap validates the temporary module used to select the Air CLI before an agent repository exists.
Index ¶
Constants ¶
View Source
const ( // ModulePath marks a directory as an Airlock bootstrap module. ModulePath = "airlock.bootstrap" // ToolImport is the repository-local Air CLI package. ToolImport = "github.com/airlockrun/agentsdk/cmd/air" )
Variables ¶
This section is empty.
Functions ¶
func EnsureDir ¶
EnsureDir creates an absent directory and accepts only an empty directory or an exact Airlock bootstrap module. It reports whether bootstrap files exist.
func InitializeDir ¶
InitializeDir writes a complete bootstrap go.mod into an empty directory. A complete file remains safe to retry if dependency resolution is interrupted.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.