vault/sdk/database/helper/cacheutil/cache_stubs_oss.go
Vault Automation 0c6c13dd38
license: update headers to IBM Corp. (#10229) (#10233)
* license: update headers to IBM Corp.
* `make proto`
* update offset because source file changed

Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
2025-10-21 15:20:20 -06:00

17 lines
357 B
Go

// Copyright IBM Corp. 2016, 2025
// SPDX-License-Identifier: MPL-2.0
//go:build !enterprise
package cacheutil
import "errors"
type EvictionFunc func(key interface{}, value interface{})
type Cache struct{}
func NewCache(_ int, _ EvictionFunc) (*Cache, error) {
return nil, errors.New("self-managed static roles only available in Vault Enterprise")
}