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-01-05 21:02:03 +03:00
|
|
|
//go:build !enterprise
|
2018-09-18 06:03:00 +03:00
|
|
|
|
|
|
|
package vault
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/hashicorp/vault/helper/namespace"
|
|
|
|
)
|
|
|
|
|
|
|
|
func (ts *TokenStore) baseView(ns *namespace.Namespace) *BarrierView {
|
|
|
|
return ts.baseBarrierView
|
|
|
|
}
|
|
|
|
|
|
|
|
func (ts *TokenStore) idView(ns *namespace.Namespace) *BarrierView {
|
|
|
|
return ts.idBarrierView
|
|
|
|
}
|
|
|
|
|
|
|
|
func (ts *TokenStore) accessorView(ns *namespace.Namespace) *BarrierView {
|
|
|
|
return ts.accessorBarrierView
|
|
|
|
}
|
|
|
|
|
|
|
|
func (ts *TokenStore) parentView(ns *namespace.Namespace) *BarrierView {
|
|
|
|
return ts.parentBarrierView
|
|
|
|
}
|
|
|
|
|
|
|
|
func (ts *TokenStore) rolesView(ns *namespace.Namespace) *BarrierView {
|
|
|
|
return ts.rolesBarrierView
|
|
|
|
}
|