debian-forge-composer/internal/target/local_target.go
Tom Gundersen e98b189b82 targets: add dummy azure and aws targets
These are not currently implemented in the backend, but shows how
the API will look like.

Signed-off-by: Tom Gundersen <teg@jklm.no>
2019-11-25 07:53:50 +01:00

14 lines
268 B
Go

package target
type LocalTargetOptions struct {
Location string `json:"location"`
}
func (LocalTargetOptions) isTargetOptions() {}
func NewLocalTarget(options *LocalTargetOptions) *Target {
return &Target{
Name: "org.osbuild.local",
Options: options,
}
}