vault/command/command_stubs_oss.go
Mike Palmiotto 6a145af82a
CE: Remove RequestLimiter config plumbing (#28592)
This PR provides some plumbing for the enterprise counterpart PR:
hashicorp/vault-enterprise#6791
2024-10-04 13:48:16 -04:00

34 lines
752 B
Go

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
//go:build !enterprise
package command
//go:generate go run github.com/hashicorp/vault/tools/stubmaker
import (
"github.com/hashicorp/cli"
"github.com/hashicorp/vault/command/server"
"github.com/hashicorp/vault/vault"
)
func entInitCommands(ui, serverCmdUi cli.Ui, runOpts *RunOptions, commands map[string]cli.CommandFactory) {
}
func entAdjustCoreConfig(config *server.Config, coreConfig *vault.CoreConfig) {
}
func entCheckStorageType(coreConfig *vault.CoreConfig) bool {
return true
}
func entGetFIPSInfoKey() string {
return ""
}
func entCheckRequestLimiter(_cmd *ServerCommand, _config *server.Config) {
}
func entExtendAddonHandlers(handlers *vaultHandlers) {}