Documentation
¶
Index ¶
Constants ¶
View Source
const MAX_FAILURES = 1
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultIndexWriter ¶
type DefaultIndexWriter struct{}
func (*DefaultIndexWriter) Write ¶
func (w *DefaultIndexWriter) Write(ctx context.Context, p *IndexParams) (*IndexingResult, error)
type IndexParams ¶
type IndexParams struct {
// contains filtered or unexported fields
}
type Indexer ¶
type Indexer struct { IndexDir string ProjectID uint32 CorrelationID string GitalyAddress string GitalyToken string GitalyStorageName string GitalyRelativePath string LimitFileSize int TargetSHA string ForceReindex bool Writer indexWriter OnRetryableFailure func(*Indexer, context.Context, error) (*IndexingResult, error) NumFailures int Initialized bool // contains filtered or unexported fields }
func (*Indexer) IndexRepository ¶
func (i *Indexer) IndexRepository(ctx context.Context) (*IndexingResult, error)
type IndexingResult ¶
func IndexingFailureFallback ¶
Click to show internal directories.
Click to hide internal directories.