Documentation ¶
Index ¶
- type KV
- func (kv *KV) Delete(key string, wOptions *api.WriteOptions) (*api.WriteMeta, error)
- func (kv *KV) Get(key string, opts *api.QueryOptions) (*api.KVPair, *api.QueryMeta, error)
- func (kv *KV) Put(kvPair *api.KVPair, wOptions *api.WriteOptions) (*api.WriteMeta, error)
- func (kv *KV) Txn(txnops api.KVTxnOps, opts *api.QueryOptions) (bool, *api.KVTxnResponse, *api.QueryMeta, error)
- type Repo
- func (r *Repo) Add(path string)
- func (r *Repo) Branch() plumbing.ReferenceName
- func (r *Repo) CheckRef(branch string) error
- func (r *Repo) CheckoutBranch(branch plumbing.ReferenceName) error
- func (r *Repo) DiffStatus(commit string) (object.Changes, error)
- func (r *Repo) GetConfig() *config.Repo
- func (r *Repo) GetStorer() storage.Storer
- func (r *Repo) Head() (*plumbing.Reference, error)
- func (r *Repo) Lock()
- func (r *Repo) Name() string
- func (r *Repo) Pull(branch string) error
- func (r *Repo) ResolveRevision(plumbing.Revision) (*plumbing.Hash, error)
- func (r *Repo) Unlock()
- func (r *Repo) Worktree() (*git.Worktree, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repo ¶
type Repo struct { Config *config.Repo Path string T *testing.T // contains filtered or unexported fields }
func (*Repo) Branch ¶
func (r *Repo) Branch() plumbing.ReferenceName
func (*Repo) CheckoutBranch ¶
func (r *Repo) CheckoutBranch(branch plumbing.ReferenceName) error
func (*Repo) ResolveRevision ¶
Click to show internal directories.
Click to hide internal directories.