Documentation ¶
Index ¶
- Constants
- type Storage
- func (s *Storage) GetAttempts(namespace string, layer string, run string) (int, error)
- func (s *Storage) GetGitBundle(namespace string, repository string, branch string, commit string) ([]byte, error)
- func (s *Storage) GetLatestLogs(namespace string, layer string, run string) ([]byte, error)
- func (s *Storage) GetLatestPlan(namespace string, layer string, run string, format string) ([]byte, error)
- func (s *Storage) GetLogs(namespace string, layer string, run string, attempt string) ([]byte, error)
- func (s *Storage) GetPlan(namespace string, layer string, run string, attempt string, format string) ([]byte, error)
- func (s *Storage) PutGitBundle(namespace string, repository string, branch string, commit string, ...) error
- func (s *Storage) PutLogs(namespace string, layer string, run string, attempt string, logs []byte) error
- func (s *Storage) PutPlan(namespace string, layer string, run string, attempt string, format string, ...) error
- type StorageBackend
Constants ¶
View Source
const ( LogFile string = "run.log" PlanBinFile string = "plan.bin" PlanJsonFile string = "plan.json" PrettyPlanFile string = "pretty.plan" ShortDiffFile string = "short.diff" GitBundleFileExtension string = ".tgz" LayersPrefix string = "layers" RepositoriesPrefix string = "repositories" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage struct { Backend StorageBackend Config config.Config }
func (*Storage) GetAttempts ¶
func (*Storage) GetGitBundle ¶ added in v0.4.1
func (*Storage) GetLatestLogs ¶
func (*Storage) GetLatestPlan ¶
func (*Storage) PutGitBundle ¶ added in v0.4.1
Click to show internal directories.
Click to hide internal directories.