The account field is actually a storage account and the secret key is actually a storage secret key. This is clearer to the user.
14 lines
396 B
Go
14 lines
396 B
Go
package target
|
|
|
|
type AzureTargetOptions struct {
|
|
Filename string `json:"filename"`
|
|
StorageAccount string `json:"storageAccount"`
|
|
StorageAccessKey string `json:"storageAccessKey"`
|
|
Container string `json:"container"`
|
|
}
|
|
|
|
func (AzureTargetOptions) isTargetOptions() {}
|
|
|
|
func NewAzureTarget(options *AzureTargetOptions) *Target {
|
|
return newTarget("org.osbuild.azure", options)
|
|
}
|