2017-07-11 04:54:38 +00:00
|
|
|
package pb
|
|
|
|
|
2018-09-18 17:49:25 +00:00
|
|
|
// InputIndex is incrementing index to the input vertex
|
2017-07-21 17:58:24 +00:00
|
|
|
type InputIndex int64
|
2018-09-18 17:49:25 +00:00
|
|
|
|
|
|
|
// OutputIndex is incrementing index that another vertex can depend on
|
2017-07-21 17:58:24 +00:00
|
|
|
type OutputIndex int64
|
|
|
|
|
2018-09-18 17:49:25 +00:00
|
|
|
// RootMount is a base mountpoint
|
2017-07-11 04:54:38 +00:00
|
|
|
const RootMount = "/"
|
2018-09-18 17:49:25 +00:00
|
|
|
|
|
|
|
// SkipOutput marks a disabled output index
|
2017-07-21 17:58:24 +00:00
|
|
|
const SkipOutput OutputIndex = -1
|
2018-09-18 17:49:25 +00:00
|
|
|
|
|
|
|
// Empty marks an input with no content
|
2017-07-21 17:58:24 +00:00
|
|
|
const Empty InputIndex = -1
|
2018-09-18 17:49:25 +00:00
|
|
|
|
|
|
|
// LLBBuilder is a special builder for BuildOp that directly builds LLB
|
2017-07-21 17:58:24 +00:00
|
|
|
const LLBBuilder InputIndex = -1
|
|
|
|
|
2018-09-18 17:49:25 +00:00
|
|
|
// LLBDefinitionInput marks an input that contains LLB definition for BuildOp
|
2017-07-21 17:58:24 +00:00
|
|
|
const LLBDefinitionInput = "buildkit.llb.definition"
|
2018-09-18 17:49:25 +00:00
|
|
|
|
|
|
|
// LLBDefaultDefinitionFile is a filename containing the definition in LLBBuilder
|
2017-07-21 17:58:24 +00:00
|
|
|
const LLBDefaultDefinitionFile = LLBDefinitionInput
|