diff --git a/passthrough.go b/passthrough.go index c38ef3b0..115edbaa 100644 --- a/passthrough.go +++ b/passthrough.go @@ -17,14 +17,6 @@ import ( "github.com/hashicorp/vault/sdk/logical" ) -type Passthrough interface { - handleRead() framework.OperationFunc - handleWrite() framework.OperationFunc - handleDelete() framework.OperationFunc - handleList() framework.OperationFunc - handleExistenceCheck() framework.ExistenceFunc -} - // PassthroughBackendFactory returns a PassthroughBackend // with leases switched off func PassthroughBackendFactory(ctx context.Context, conf *logical.BackendConfig) (logical.Backend, error) { @@ -241,10 +233,6 @@ func (b *PassthroughBackend) handleRead() framework.OperationFunc { } } -func (b *PassthroughBackend) GeneratesLeases() bool { - return b.generateLeases -} - func (b *PassthroughBackend) handleWrite() framework.OperationFunc { return func(ctx context.Context, req *logical.Request, data *framework.FieldData) (*logical.Response, error) { key := data.Get("path").(string)