These are not currently implemented in the backend, but shows how the API will look like. Signed-off-by: Tom Gundersen <teg@jklm.no>
18 lines
434 B
Go
18 lines
434 B
Go
package target
|
|
|
|
type AWSTargetOptions struct {
|
|
Region string `json:"region"`
|
|
AccessKeyID string `json:"accessKeyID"`
|
|
SecretAccessKey string `json:"secretAccessKey"`
|
|
Bucket string `json:"bucket"`
|
|
Key string `json:"key"`
|
|
}
|
|
|
|
func (AWSTargetOptions) isTargetOptions() {}
|
|
|
|
func NewAWSTarget(options *AWSTargetOptions) *Target {
|
|
return &Target{
|
|
Name: "org.osbuild.aws",
|
|
Options: options,
|
|
}
|
|
}
|