mirror of
https://github.com/hashicorp/vault.git
synced 2026-04-04 21:32:21 +02:00
* license: update headers to IBM Corp. * `make proto` * update offset because source file changed Signed-off-by: Ryan Cragun <me@ryan.ec> Co-authored-by: Ryan Cragun <me@ryan.ec>
18 lines
782 B
Go
18 lines
782 B
Go
// Copyright IBM Corp. 2016, 2025
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
package pluginruntimeutil
|
|
|
|
import "github.com/hashicorp/vault/sdk/helper/consts"
|
|
|
|
// PluginRuntimeConfig defines the metadata needed to run a plugin runtime
|
|
type PluginRuntimeConfig struct {
|
|
Name string `json:"name" structs:"name"`
|
|
Type consts.PluginRuntimeType `json:"type" structs:"type"`
|
|
OCIRuntime string `json:"oci_runtime" structs:"oci_runtime"`
|
|
CgroupParent string `json:"cgroup_parent" structs:"cgroup_parent"`
|
|
CPU int64 `json:"cpu" structs:"cpu"`
|
|
Memory int64 `json:"memory" structs:"memory"`
|
|
Rootless bool `json:"rootless" structs:"rootless"`
|
|
}
|