github.com/hashicorp/vault/sdk@v0.11.0/helper/keysutil/cache.go (about) 1 // Copyright (c) HashiCorp, Inc. 2 // SPDX-License-Identifier: MPL-2.0 3 4 package keysutil 5 6 type Cache interface { 7 Delete(key interface{}) 8 Load(key interface{}) (value interface{}, ok bool) 9 Store(key, value interface{}) 10 Size() int 11 }