Documentation ¶
Index ¶
- type MockGlue
- func (m *MockGlue) CreateSession(store kv.Storage) (glue.Session, error)
- func (*MockGlue) GetClient() glue.GlueClient
- func (*MockGlue) GetDomain(store kv.Storage) (*domain.Domain, error)
- func (*MockGlue) GetVersion() string
- func (*MockGlue) Open(path string, option pd.SecurityOption) (kv.Storage, error)
- func (*MockGlue) OwnsStorage() bool
- func (*MockGlue) Record(name string, value uint64)
- func (m *MockGlue) SetSession(se sessiontypes.Session)
- func (*MockGlue) StartProgress(ctx context.Context, cmdName string, total int64, redirectLog bool) glue.Progress
- func (m *MockGlue) 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 MockGlue ¶
MockGlue only used for test
func (*MockGlue) CreateSession ¶
CreateSession implements glue.Glue.
func (*MockGlue) GetClient ¶
func (*MockGlue) GetClient() glue.GlueClient
func (*MockGlue) OwnsStorage ¶
OwnsStorage implements glue.Glue.
func (*MockGlue) SetSession ¶
func (m *MockGlue) SetSession(se sessiontypes.Session)
Click to show internal directories.
Click to hide internal directories.