open-vault/command/server_util.go

28 lines
559 B
Go
Raw Permalink Normal View History

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
2018-10-23 06:34:02 +00:00
package command
import (
"github.com/hashicorp/vault/command/server"
2018-10-23 06:34:02 +00:00
"github.com/hashicorp/vault/vault"
)
var (
adjustCoreConfigForEnt = adjustCoreConfigForEntNoop
storageSupportedForEnt = checkStorageTypeForEntNoop
)
2018-10-23 06:34:02 +00:00
2020-02-15 00:39:13 +00:00
func adjustCoreConfigForEntNoop(config *server.Config, coreConfig *vault.CoreConfig) {
}
var getFIPSInfoKey = getFIPSInfoKeyNoop
func getFIPSInfoKeyNoop() string {
return ""
}
func checkStorageTypeForEntNoop(coreConfig *vault.CoreConfig) bool {
return true
}