We need some more fields in target struct to support weldr API. This commit introduces them. Also a bit of cleanup is done.
13 lines
318 B
Go
13 lines
318 B
Go
package target
|
|
|
|
type AzureTargetOptions struct {
|
|
Account string `json:"account"`
|
|
AccessKey string `json:"accessKey"`
|
|
Container string `json:"container"`
|
|
}
|
|
|
|
func (AzureTargetOptions) isTargetOptions() {}
|
|
|
|
func NewAzureTarget(options *AzureTargetOptions) *Target {
|
|
return newTarget("org.osbuild.azure", options)
|
|
}
|