Documentation ¶
Index ¶
- type Glue
- func (g Glue) CreateSession(store kv.Storage) (glue.Session, error)
- func (Glue) GetClient() glue.GlueClient
- func (g Glue) GetDomain(store kv.Storage) (*domain.Domain, error)
- func (g Glue) GetVersion() string
- func (g Glue) Open(path string, option pd.SecurityOption) (kv.Storage, error)
- func (Glue) OwnsStorage() bool
- func (g Glue) Record(name string, value uint64)
- func (g Glue) StartProgress(ctx context.Context, cmdName string, total int64, redirectLog bool) glue.Progress
- func (g Glue) UseOneShotSession(store kv.Storage, closeDomain bool, fn func(glue.Session) error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Glue ¶
Glue is an implementation of glue.Glue using a new TiDB session.
func (Glue) CreateSession ¶
CreateSession implements glue.Glue.
func (Glue) GetClient ¶
func (Glue) GetClient() glue.GlueClient
Click to show internal directories.
Click to hide internal directories.