deb.open-vault/command/server_util.go

28 lines
559 B
Go
Raw Normal View History

2024-04-20 12:23:50 +00:00
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
package command
import (
"github.com/hashicorp/vault/command/server"
"github.com/hashicorp/vault/vault"
)
var (
adjustCoreConfigForEnt = adjustCoreConfigForEntNoop
storageSupportedForEnt = checkStorageTypeForEntNoop
)
func adjustCoreConfigForEntNoop(config *server.Config, coreConfig *vault.CoreConfig) {
}
var getFIPSInfoKey = getFIPSInfoKeyNoop
func getFIPSInfoKeyNoop() string {
return ""
}
func checkStorageTypeForEntNoop(coreConfig *vault.CoreConfig) bool {
return true
}