25 lines
376 B
Go
25 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
|
||
|
}
|