Documentation
¶
Index ¶
- Constants
- func ApplyFunc(name string, target, double any)
- func ApplyMethod(name string, target any, method string, double any)
- func ApplyPrivateMethod(name string, target any, method string, double any)
- func Call(name string, fn func(val *Value))
- func Disable(name string)
- func Enable(name string, val any)
- func FetchValue(s string) string
- func RewriteFailPointName(name string, fn interface{}) string
- func Sleep(name string, fn func())
- type Point
- type Points
- type Value
Constants ¶
View Source
const ( WriteCurrentMetaError = "write-current-meta-error" SetQueryId = "set-query-id" ColumnWriteError = "column-writer-error" )
Variables ¶
This section is empty.
Functions ¶
func ApplyPrivateMethod ¶
func Enable ¶
Enable fail point The parameter name consists of the package name and the fault point name, for example: github.com/openGemini/openGemini/engine/write-current-meta-error
func FetchValue ¶
func RewriteFailPointName ¶
Types ¶
type Point ¶
type Point struct {
// contains filtered or unexported fields
}
func (*Point) ApplyPrivateMethod ¶
func (*Point) ResetPatches ¶
func (p *Point) ResetPatches()
func (*Point) StoreValue ¶
Click to show internal directories.
Click to hide internal directories.