2022-06-27 15:58:37 +02:00
|
|
|
package templater
|
|
|
|
|
2022-06-29 16:18:28 +02:00
|
|
|
type PackageRepository interface {
|
|
|
|
Manage() error
|
2022-06-27 15:58:37 +02:00
|
|
|
Update() error
|
|
|
|
Add() error
|
|
|
|
Delete() error
|
|
|
|
}
|
2022-06-29 16:18:28 +02:00
|
|
|
|
|
|
|
type Repository struct {
|
|
|
|
Actions PackageRepository
|
|
|
|
|
|
|
|
Name string `json:"name"`
|
|
|
|
Type string `json:"type"`
|
|
|
|
URL string `json:"url"`
|
|
|
|
Enabled bool `json:"enabled"`
|
|
|
|
}
|