Chore: Use KVStore for the manifest public key (#66839)
This commit is contained in:
@@ -148,3 +148,12 @@ type FeatureToggles interface {
|
||||
type SignatureCalculator interface {
|
||||
Calculate(ctx context.Context, src PluginSource, plugin FoundPlugin) (Signature, error)
|
||||
}
|
||||
|
||||
type KeyStore interface {
|
||||
Get(ctx context.Context, key string) (string, bool, error)
|
||||
Set(ctx context.Context, key string, value string) error
|
||||
Del(ctx context.Context, key string) error
|
||||
ListKeys(ctx context.Context) ([]string, error)
|
||||
GetLastUpdated(ctx context.Context) (*time.Time, error)
|
||||
SetLastUpdated(ctx context.Context) error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user