mirror of
https://github.com/hashicorp/vault.git
synced 2025-12-10 12:01:28 +01: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>
21 lines
451 B
Go
21 lines
451 B
Go
// Copyright IBM Corp. 2016, 2025
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
package logical
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type ControlGroup struct {
|
|
Authorizations []*Authz `json:"authorizations"`
|
|
RequestTime time.Time `json:"request_time"`
|
|
Approved bool `json:"approved"`
|
|
NamespaceID string `json:"namespace_id"`
|
|
}
|
|
|
|
type Authz struct {
|
|
Token string `json:"token"`
|
|
AuthorizationTime time.Time `json:"authorization_time"`
|
|
}
|