debian-forge-composer/internal/target/azure_target.go
Tom Gundersen e98b189b82 targets: add dummy azure and aws targets
These are not currently implemented in the backend, but shows how
the API will look like.

Signed-off-by: Tom Gundersen <teg@jklm.no>
2019-11-25 07:53:50 +01:00

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,
}
}