2023-03-15 19:00:52 +03:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
2024-01-02 21:36:20 +03:00
|
|
|
// SPDX-License-Identifier: BUSL-1.1
|
2023-03-15 19:00:52 +03:00
|
|
|
|
2022-11-04 19:39:09 +03: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{}
|
|
|
|
}
|