mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-11-02 19:47:54 +00:00 
			
		
		
		
	@mitchellh suggested we fork `cli` and switch to that. Since we primarily use the interfaces in `cli`, and the new fork has not changed those, this is (mostly) a drop-in replacement. A small fix will be necessary for Vault Enterprise, I believe.
		
			
				
	
	
		
			34 lines
		
	
	
		
			838 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			838 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 entEnableFourClusterDev(c *ServerCommand, base *vault.CoreConfig, info map[string]string, infoKeys []string, tempDir string) int {
 | 
						|
	c.logger.Error("-dev-four-cluster only supported in enterprise Vault")
 | 
						|
	return 1
 | 
						|
}
 | 
						|
 | 
						|
func entAdjustCoreConfig(config *server.Config, coreConfig *vault.CoreConfig) {
 | 
						|
}
 | 
						|
 | 
						|
func entCheckStorageType(coreConfig *vault.CoreConfig) bool {
 | 
						|
	return true
 | 
						|
}
 | 
						|
 | 
						|
func entGetFIPSInfoKey() string {
 | 
						|
	return ""
 | 
						|
}
 |