Documentation ¶
Index ¶
- Constants
- func Backend(conf *logical.BackendConfig) *backend
- func CBDelete(b *backend, s logical.Storage, path string) (*logical.Response, error)
- func CBList(b *backend, s logical.Storage, path string) (*logical.Response, error)
- func CBRead(b *backend, s logical.Storage, path string) (*logical.Response, error)
- func CBReq(b *backend, s logical.Storage, operation logical.Operation, path string, ...) (*logical.Response, error)
- func CBWrite(b *backend, s logical.Storage, path string, data map[string]interface{}) (*logical.Response, error)
- func Factory(ctx context.Context, conf *logical.BackendConfig) (logical.Backend, error)
- type NameKey
- type UUIDKey
Constants ¶
View Source
const SecretCertsType = "pki"
SecretCertsType is the name used to identify this type
Variables ¶
This section is empty.
Functions ¶
func Backend ¶
func Backend(conf *logical.BackendConfig) *backend
Backend returns a new Backend framework struct
func CBReq ¶ added in v1.10.5
func CBReq(b *backend, s logical.Storage, operation logical.Operation, path string, data map[string]interface{}) (*logical.Response, error)
Direct storage backend helpers (b, s := createBackendWithStorage(t)) which are mostly compatible with client.Logical() operations. The main difference is that the JSON round-tripping hasn't occurred, so values are as the backend returns them (e.g., []string instead of []interface{}).
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.