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