MCPcopy
hub / github.com/etcd-io/etcd / txnLeasing

Struct txnLeasing

client/v3/leasing/txn.go:25–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23)
24
25type txnLeasing struct {
26 v3.Txn
27 lkv *leasingKV
28 ctx context.Context
29 cs []v3.Cmp
30 opst []v3.Op
31 opse []v3.Op
32}
33
34func (txn *txnLeasing) If(cs ...v3.Cmp) v3.Txn {
35 txn.cs = append(txn.cs, cs...)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected