Documentation ¶
Overview ¶
Package pfsdb contains the database schema that PFS uses.
Index ¶
- Variables
- func Branches(etcdClient *etcd.Client, etcdPrefix string, repo string) col.Collection
- func Commits(etcdClient *etcd.Client, etcdPrefix string, repo string) col.Collection
- func OpenCommits(etcdClient *etcd.Client, etcdPrefix string) col.Collection
- func PutFileRecords(etcdClient *etcd.Client, etcdPrefix string) col.Collection
- func RepoRefCounts(etcdClient *etcd.Client, etcdPrefix string) col.Collection
- func Repos(etcdClient *etcd.Client, etcdPrefix string) col.Collection
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ProvenanceIndex is a secondary index on provenance ProvenanceIndex = col.Index{"Provenance", true} )
Functions ¶
func OpenCommits ¶
func OpenCommits(etcdClient *etcd.Client, etcdPrefix string) col.Collection
OpenCommits returns a collection of open commits
func PutFileRecords ¶ added in v1.6.7
func PutFileRecords(etcdClient *etcd.Client, etcdPrefix string) col.Collection
PutFileRecords returns a collection of putFileRecords
func RepoRefCounts ¶
func RepoRefCounts(etcdClient *etcd.Client, etcdPrefix string) col.Collection
RepoRefCounts returns a collection of repo ref counts
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.