These are not currently implemented in the backend, but shows how the API will look like. Signed-off-by: Tom Gundersen <teg@jklm.no>
14 lines
268 B
Go
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,
|
|
}
|
|
}
|