mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-30 18:17:55 +00:00
add EntStaticSystemView to StaticSystemView and its ce stubs (#29516)
This commit is contained in:
@@ -146,6 +146,7 @@ type ExtendedSystemView interface {
|
|||||||
type PasswordGenerator func() (password string, err error)
|
type PasswordGenerator func() (password string, err error)
|
||||||
|
|
||||||
type StaticSystemView struct {
|
type StaticSystemView struct {
|
||||||
|
EntStaticSystemView
|
||||||
DefaultLeaseTTLVal time.Duration
|
DefaultLeaseTTLVal time.Duration
|
||||||
MaxLeaseTTLVal time.Duration
|
MaxLeaseTTLVal time.Duration
|
||||||
SudoPrivilegeVal bool
|
SudoPrivilegeVal bool
|
||||||
|
|||||||
8
sdk/logical/system_view_stubs_oss.go
Normal file
8
sdk/logical/system_view_stubs_oss.go
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
// Copyright (c) HashiCorp, Inc.
|
||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
|
//go:build !enterprise
|
||||||
|
|
||||||
|
package logical
|
||||||
|
|
||||||
|
type EntStaticSystemView struct{}
|
||||||
Reference in New Issue
Block a user