cockroach: github.com/cockroachdb/cockroach/pkg/kv/kvbase Index | Files

package kvbase

import "github.com/cockroachdb/cockroach/pkg/kv/kvbase"

Package kvbase exports kv level interfaces to avoid dependency cycles.

Index

Package Files

range_cache.go

type RangeDescriptorCache Uses

type RangeDescriptorCache interface {

    // LookupRangeDescritor looks up a range descriptor based on a key.
    LookupRangeDescriptor(
        ctx context.Context, key roachpb.RKey,
    ) (*roachpb.RangeDescriptor, error)
}

RangeDescriptorCache is a simplified interface to the kv.RangeDescriptorCache for use at lower levels of the stack like storage.

Package kvbase imports 2 packages (graph) and is imported by 4 packages. Updated 2019-08-02. Refresh now. Tools for package owners.