2023-03-15 16:00:52 +00:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
2022-11-04 16:39:09 +00:00
|
|
|
package vault
|
|
|
|
|
|
|
|
type Inspectable interface {
|
|
|
|
// Returns a record view of a particular subsystem
|
|
|
|
GetRecords(tag string) ([]map[string]interface{}, error)
|
|
|
|
}
|
|
|
|
|
|
|
|
type Deserializable interface {
|
|
|
|
// Converts a structure into a consummable map
|
|
|
|
Deserialize() map[string]interface{}
|
|
|
|
}
|