Documentation ¶
Index ¶
Constants ¶
View Source
const (
LogKeyDagInsID = "dagInsId"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DagReader ¶
type DagReader interface { ReadPathsFromDir(dir string) ([]string, error) ReadDag(path string) ([]byte, error) }
DagReader
var (
DefaultReader DagReader = &FileDagReader{}
)
type FileDagReader ¶
type FileDagReader struct { }
FileDagReader
func (FileDagReader) ReadPathsFromDir ¶
func (r FileDagReader) ReadPathsFromDir(dir string) (dagFiles []string, err error)
ReadPathsFromDir
type KeyValueGetter ¶
type KeyValueIterateFunc ¶
type KeyValueIterator ¶
type KeyValueIterator func(KeyValueIterateFunc)
type MockDagReader ¶
MockDagReader is an autogenerated mock type for the DagReader type
func (*MockDagReader) ReadDag ¶
func (_m *MockDagReader) ReadDag(path string) ([]byte, error)
ReadDag provides a mock function with given fields: path
func (*MockDagReader) ReadPathsFromDir ¶
func (_m *MockDagReader) ReadPathsFromDir(dir string) ([]string, error)
ReadPathsFromDir provides a mock function with given fields: dir
Click to show internal directories.
Click to hide internal directories.