Documentation ¶
Overview ¶
Package fake is a fake Vault LogicalClient.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogicalClient ¶
type LogicalClient struct { ReadFn func(path string) (*api.Secret, error) WriteFn func(path string, data map[string]any) (*api.Secret, error) DeleteFn func(path string) (*api.Secret, error) }
LogicalClient is a fake LogicalClient
func (*LogicalClient) Delete ¶
func (l *LogicalClient) Delete(path string) (*api.Secret, error)
Delete deletes secret at the given path.
Click to show internal directories.
Click to hide internal directories.