These are not currently implemented in the backend, but shows how the API will look like. Signed-off-by: Tom Gundersen <teg@jklm.no>
16 lines
342 B
Go
16 lines
342 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 &Target{
|
|
Name: "org.osbuild.azure",
|
|
Options: options,
|
|
}
|
|
}
|