github.com/blend/go-sdk@v1.20220411.3/vault/kv.go (about) 1 /* 2 3 Copyright (c) 2022 - Present. Blend Labs, Inc. All rights reserved 4 Use of this source code is governed by a MIT license that can be found in the LICENSE file. 5 6 */ 7 8 package vault 9 10 import "context" 11 12 // KV is a basic key value store. 13 type KV interface { 14 Put(ctx context.Context, path string, data Values, options ...CallOption) error 15 Get(ctx context.Context, path string, options ...CallOption) (Values, error) 16 Delete(ctx context.Context, path string, options ...CallOption) error 17 List(ctx context.Context, path string, options ...CallOption) ([]string, error) 18 } 19 20 // KVClient is a basic key value store client. 21 type KVClient = KV