Documentation
¶
Overview ¶
Package defparse reads a build definition file: a small JSON document that points a project at its Dockerfile or a prebuilt image.
Index ¶
Constants ¶
View Source
const FileName = "levelrail-definition.json"
FileName is the one place the definition file name is spelled out.
View Source
const MaxBytes = 64 << 10
MaxBytes bounds the file so a hostile checkout cannot make the CLI or server buffer it all.
View Source
const SchemaVersion = 2
SchemaVersion is the only layout this parser accepts.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.