Vault Automation 0c6c13dd38
license: update headers to IBM Corp. (#10229) (#10233)
* 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>
2025-10-21 15:20:20 -06:00

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"`
}