weldr: add vmware upload target to api

Extend Weldr API to allow user to specify option to upload built image to VMWare,
makes use of previously define upload target.
This commit is contained in:
Jozef Mikovic 2021-01-20 11:48:12 +01:00 committed by Tom Gundersen
parent 1a81489ef1
commit 08cfc08805
3 changed files with 41 additions and 8 deletions

View file

@ -12,6 +12,6 @@ type VMWareTargetOptions struct {
func (VMWareTargetOptions) isTargetOptions() {}
func NewVMWareTarget(options *VMWareTargetOptions) *Target{
func NewVMWareTarget(options *VMWareTargetOptions) *Target {
return newTarget("org.osbuild.vmware", options)
}