Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LogicalClient ¶ added in v1.0.2
LogicalClient is the minimum interface needed to read secrets from the API
type ParallelReader ¶ added in v1.0.2
type ParallelReader struct {
// contains filtered or unexported fields
}
ParallelReader allows for processing vault read requests in parallel with n workers
func NewParallelReader ¶ added in v1.0.2
func NewParallelReader(ctx context.Context, logicalClient LogicalClient, numWorkers int) *ParallelReader
NewParallelReader returns an instance of ParallelReader and starts n workers
func (*ParallelReader) Close ¶ added in v1.0.2
func (pr *ParallelReader) Close()
Close stops the workers
func (*ParallelReader) ReadPaths ¶ added in v1.1.5
func (pr *ParallelReader) ReadPaths(def *SecretDefinition) error
ReadPaths processes all of the paths for the provided secret definition
type SecretDefinition ¶ added in v1.1.0
SecretDefinition is used for representing a secret definition input
Click to show internal directories.
Click to hide internal directories.