mirror of https://github.com/docker/docs.git
10 lines
324 B
Go
10 lines
324 B
Go
package storage
|
|
|
|
type MetaStore interface {
|
|
UpdateCurrent(gun, role string, version int, data []byte) error
|
|
GetCurrent(gun, tufRole string) (data []byte, err error)
|
|
Delete(gun string) error
|
|
GetTimestampKey(gun string) (cipher string, public []byte, err error)
|
|
SetTimestampKey(gun, cipher string, public []byte) error
|
|
}
|