Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(repo provisioning.UpdateRepo, filesRepo provisioning.UpdateFilesRepo, source provisioning.UpdateSourcePort, serverSvc provisioning.ServerService, opts ...Option) *updateService
Types ¶
type Option ¶
type Option func(service *updateService)
func WithLatestLimit ¶
func WithPendingGracePeriod ¶
type UpdateFileExprEnv ¶
type UpdateFileExprEnv struct {
Filename string `expr:"file_name"`
Size int `expr:"size"`
Sha256 string `expr:"sha256"`
Component string `expr:"component"`
Type string `expr:"type"`
Architecture string `expr:"architecture"`
}
func UpdateFileExprEnvFrom ¶
func UpdateFileExprEnvFrom(u provisioning.UpdateFile) UpdateFileExprEnv
func (UpdateFileExprEnv) ExprCompileOptions ¶
func (u UpdateFileExprEnv) ExprCompileOptions() []expr.Option
Click to show internal directories.
Click to hide internal directories.