Dan Anglin
ce490db95d
Migrate all 'action' code to the new internal actions package to reduce the number of internal packages. Migrate the Bundle type to a separate package to avoid circular dependencies. Refactor code around bundle definition and download for relevant services.
24 lines
376 B
Go
24 lines
376 B
Go
package bundle
|
|
|
|
type Bundle struct {
|
|
DestinationDir string
|
|
Packages []Pack
|
|
Checksum Checksum
|
|
ValidateGPGSignature bool
|
|
}
|
|
|
|
type Pack struct {
|
|
File Object
|
|
GPGSignature Object
|
|
}
|
|
|
|
type Checksum struct {
|
|
File Object
|
|
Validate bool
|
|
ValidateFunc func() error
|
|
}
|
|
|
|
type Object struct {
|
|
Source string
|
|
Destination string
|
|
}
|