mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-10-31 10:37:56 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			533 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			533 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| // Copyright (c) HashiCorp, Inc.
 | |
| // SPDX-License-Identifier: MPL-2.0
 | |
| 
 | |
| //go:build !enterprise
 | |
| 
 | |
| package plugin
 | |
| 
 | |
| import (
 | |
| 	"github.com/hashicorp/vault/sdk/logical"
 | |
| 	"github.com/hashicorp/vault/sdk/plugin/pb"
 | |
| 	"google.golang.org/grpc"
 | |
| )
 | |
| 
 | |
| // registerSystemViewServer (Vault Community edition) registers the SystemView server
 | |
| // to the gRPC service registrar
 | |
| func registerSystemViewServer(s *grpc.Server, sysView logical.SystemView, _ *logical.BackendConfig) {
 | |
| 	pb.RegisterSystemViewServer(s, &gRPCSystemViewServer{
 | |
| 		impl: sysView,
 | |
| 	})
 | |
| }
 | 
