Initial cloud-services repo - gateway service + pkg modules
This commit is contained in:
21
pkg/common/update_manifest_versions.go
Normal file
21
pkg/common/update_manifest_versions.go
Normal file
@@ -0,0 +1,21 @@
|
||||
package common
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"fiskerinc.com/modules/common/dbbasemodel"
|
||||
)
|
||||
|
||||
type SUMSVersion struct {
|
||||
Version string `json:"version" pg:"version,pk"`
|
||||
OSVersion string `json:"os_version" pg:"os_version"`
|
||||
dbbasemodel.DBModelBase
|
||||
}
|
||||
|
||||
func (umv *SUMSVersion) String() string {
|
||||
return fmt.Sprintf("SUMSVersion <%s>", umv.Version)
|
||||
}
|
||||
|
||||
type SUMSVersionCreate struct {
|
||||
SUMSVersions []SUMSVersion
|
||||
}
|
||||
Reference in New Issue
Block a user