github.com/pachyderm/pachyderm@v1.13.4/src/server/pkg/ppsconsts/ppsconsts.go (about) 1 // Package ppsconsts constains constants relevant to PPS that are used across 2 // Pachyderm. In particular, the pipeline spec repo is handled specially by PFS 3 // and Auth, and those implementations need to refer to its name without 4 // depending on any other part of PPS. This package contains that and related 5 // constants as a minimal dependency for PFS and auth 6 package ppsconsts 7 8 const ( 9 // SpecRepo contains every pipeline's PipelineInfo (in its own branch) 10 SpecRepo = "__spec__" 11 12 // SpecRepoDesc is the description applied to the spec repo. 13 SpecRepoDesc = "PPS pipeline specs repo." 14 15 // SpecFile is the file in every SpecRepo commit containing the PipelineInfo 16 SpecFile = "spec" 17 18 // PPSTokenKey is a key (in etcd) that maps to PPS's auth token. 19 // This is the token that PPS uses to authorize spec writes. 20 PPSTokenKey = "master_token" 21 22 // SpoutMarkerBranch is the branch that spouts use for keeping track of spout marker files 23 SpoutMarkerBranch = "marker" 24 )