We need some more fields in target struct to support weldr API. This commit introduces them. Also a bit of cleanup is done.
11 lines
244 B
Go
11 lines
244 B
Go
package target
|
|
|
|
type LocalTargetOptions struct {
|
|
Location string `json:"location"`
|
|
}
|
|
|
|
func (LocalTargetOptions) isTargetOptions() {}
|
|
|
|
func NewLocalTarget(options *LocalTargetOptions) *Target {
|
|
return newTarget("org.osbuild.local", options)
|
|
}
|