Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultTxTTL = 60 * time.Second
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DistributedRepo ¶
func NewDistributeRepo ¶
func NewDistributeRepo(remoteClient cluster.Client, memberLister cluster.MemberLister, localRepo localRepo, logger logrus.FieldLogger, ) *DistributedRepo
func (*DistributedRepo) Get ¶
func (r *DistributedRepo) Get(ctx context.Context, id strfmt.UUID, ) (*models.Classification, error)
func (*DistributedRepo) Put ¶
func (r *DistributedRepo) Put(ctx context.Context, pl models.Classification, ) error
func (*DistributedRepo) TxManager ¶
func (r *DistributedRepo) TxManager() *cluster.TxManager
Click to show internal directories.
Click to hide internal directories.