keystore

package
v0.23.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2023 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func List

func List(names []string, prefix string, n int) ([]string, string, error)

List sorts the names lexicographically and returns the first n, if n > 0, names that match the given prefix. If n <= 0, List limits the returned slice to a reasonable default. If len(names) is greater than n then List returns the next name from which to continue.

Types

type ErrUnreachable

type ErrUnreachable struct {
	Err error
}

ErrUnreachable is an error that indicates that the Store is not reachable - for example due to a a network error.

func IsUnreachable

func IsUnreachable(err error) (*ErrUnreachable, bool)

IsUnreachable reports whether err is an Unreachable error. If IsUnreachable returns true it returns err as Unreachable error.

func (*ErrUnreachable) Error

func (e *ErrUnreachable) Error() string

Directories

Path Synopsis
Package fs implements a key-value store that stores keys as file names and values as file content.
Package fs implements a key-value store that stores keys as file names and values as file content.
Package gemalto implements a key store that fetches/stores cryptographic keys on a Gemalto KeySecure instance.
Package gemalto implements a key store that fetches/stores cryptographic keys on a Gemalto KeySecure instance.
Package vault implements a secret key store that stores secret keys as key-value entries on the Hashicorp Vault K/V secret backend.
Package vault implements a secret key store that stores secret keys as key-value entries on the Hashicorp Vault K/V secret backend.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL