For now we will hardcode the org.osbuild.local target, so we might as well fix this up front. We do not yet support any target types, but for testing purposes we claim to support 'tar', and we pass a noop tar pipeline to the worker. This makes introspecting the job-queu api using curl a bit more pleasant. Signed-off-by: Tom Gundersen <teg@jklm.no>
18 lines
341 B
Go
18 lines
341 B
Go
package pipeline
|
|
|
|
type Pipeline struct {
|
|
Stages []Stage `json:"stages,omitempty"`
|
|
Assembler Assembler `json:"assembler"`
|
|
}
|
|
|
|
type Stage struct {
|
|
}
|
|
|
|
type Assembler struct {
|
|
Name string `json:"name"`
|
|
Options AssemblerTarOptions `json:"options"`
|
|
}
|
|
|
|
type AssemblerTarOptions struct {
|
|
Filename string `json:"filename"`
|
|
}
|