Documentation ¶
Index ¶
- Constants
- func DeletePaths(paths []string, concurrency int8, client *api.Client, w io.Writer) (deleted uint64, err error)
- func FilterDataPaths(paths []string, r *regexp.Regexp) (filtered []string)
- func FilterOnlyDataPaths(paths []string) (filtered []string)
- func Health(w io.Writer, client *api.Client) (err error)
- func IsKV(mountPoint string, client *api.Client) (yes bool, err error)
- func IsV2(mountPoint string, client *api.Client) (yes bool, err error)
- func MountPointFromPath(path string) (mountPoint string, err error)
- func Tree(rootPath string, client *api.Client, concurrency int8) (paths []string, err error)
- func TreeSerial(rootPath string, client *api.Client) (paths []string, err error)
Constants ¶
View Source
const ( // ErrMissingVaultClient means that we have not provided a valid vault client ErrMissingVaultClient = "missing vault client" ErrMissingVaultAddrOrCredentials = "missing vault address or token" ErrMissingPath = "missing path" ErrInvalidPath = "invalid paths" )
Variables ¶
This section is empty.
Functions ¶
func DeletePaths ¶ added in v0.3.1
func DeletePaths(paths []string, concurrency int8, client *api.Client, w io.Writer) (deleted uint64, err error)
DeletePaths removes all the paths in the list from Vault
func FilterDataPaths ¶
FilterDataPaths filters the provided paths based on a regex, this only filters the data paths
func FilterOnlyDataPaths ¶ added in v0.4.2
FilterOnlyDataPaths
func MountPointFromPath ¶ added in v0.4.2
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.