1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2025-11-29 21:48:14 +02:00

Simplify store interfaces (#3437)

Use `store.Store` interface if possible.
This commit is contained in:
qwerty287
2024-02-25 10:37:10 +01:00
committed by GitHub
parent 9b0c4e4e3c
commit cb3efd2cd9
27 changed files with 69 additions and 420 deletions

View File

@@ -63,10 +63,6 @@ func (p Pipeline) IsMultiPipeline() bool {
return len(p.Workflows) > 1
}
type UpdatePipelineStore interface {
UpdatePipeline(*Pipeline) error
}
type PipelineOptions struct {
Branch string `json:"branch"`
Variables map[string]string `json:"variables"`