mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-10 08:37:00 +02:00
18 lines
462 B
Go
18 lines
462 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"
|
|
)
|
|
|
|
// newGRPCSystemViewFromSetupArgs (Vault Community edition) constructs a gRPC SystemView client.
|
|
func newGRPCSystemViewFromSetupArgs(conn *grpc.ClientConn, _ *pb.SetupArgs) logical.SystemView {
|
|
return newGRPCSystemView(conn)
|
|
}
|