Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewIndexCleaner ¶
NewIndexCleaner creates a cleaner removing expired indices and reservations.
Types ¶
type Store ¶
type Store interface { AdmitSegmentReservation(ctx context.Context, req *sgt.SetupReq) ( base.MessageWithPath, error) ConfirmSegmentReservation(ctx context.Context, req *sgt.IndexConfirmationReq) ( base.MessageWithPath, error) CleanupSegmentReservation(ctx context.Context, req *sgt.CleanupReq) ( base.MessageWithPath, error) TearDownSegmentReservation(ctx context.Context, req *sgt.TeardownReq) ( base.MessageWithPath, error) AdmitE2EReservation(ctx context.Context, req e2e.SetupRequest) ( base.MessageWithPath, error) CleanupE2EReservation(ctx context.Context, req *e2e.CleanupReq) ( base.MessageWithPath, error) DeleteExpiredIndices(ctx context.Context) (int, error) }
Store is the interface to interact with the reservation store.
Directories ¶
Path | Synopsis |
---|---|
mock_backend
Package mock_backend is a generated GoMock package.
|
Package mock_backend is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.