mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-29 17:52:32 +00:00
plugin register with artifact stubs VAULT-32686 (#29113)
* add plugin catalog's entValidate() and setInternal() oss stubs * create plugin register command constructor oss stub * create EntPluginRunner oss stub * add validateSHA256() oss stub to validate plugin catalog update input
This commit is contained in:
@@ -57,6 +57,8 @@ const MultiplexingCtxKey string = "multiplex_id"
|
||||
// PluginRunner defines the metadata needed to run a plugin securely with
|
||||
// go-plugin.
|
||||
type PluginRunner struct {
|
||||
EntPluginRunner
|
||||
|
||||
Name string `json:"name" structs:"name"`
|
||||
Type consts.PluginType `json:"type" structs:"type"`
|
||||
Version string `json:"version" structs:"version"`
|
||||
|
||||
8
sdk/helper/pluginutil/runner_stubs_oss.go
Normal file
8
sdk/helper/pluginutil/runner_stubs_oss.go
Normal file
@@ -0,0 +1,8 @@
|
||||
// Copyright (c) HashiCorp, Inc.
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
//go:build !enterprise
|
||||
|
||||
package pluginutil
|
||||
|
||||
type EntPluginRunner struct{}
|
||||
Reference in New Issue
Block a user