Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GlobalSecretStore *restrictedSecretStore
GlobalSecretStore object that wraps the main secret store and restricts access to certain items nolint: gochecknoglobals
Functions ¶
func HasForbiddenTag ¶
HasForbiddenTag is looking for forbidden tags
func InitSecretStore ¶
func InitSecretStore(store secretStore)
InitSecretStore initializes the global secret store.
Types ¶
type ForbiddenError ¶
type ForbiddenError struct {
ForbiddenTag string
}
ForbiddenError describes a secret error where it contains forbidden tag
func (ForbiddenError) Error ¶
func (f ForbiddenError) Error() string
type ReadOnlyError ¶
type ReadOnlyError struct {
SecretID string
}
ReadOnlyError describes a secret error where it contains read only tag
func (ReadOnlyError) Error ¶
func (roe ReadOnlyError) Error() string
Click to show internal directories.
Click to hide internal directories.