Skip to content

Commit d6c81d9

Browse files
committed
Add comments
1 parent bf49fb5 commit d6c81d9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/epp/requestcontrol/plugins.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,14 @@ type ResponseComplete interface {
5959
}
6060

6161
// PrepareData is called by the director before scheduling requests.
62+
// PrepareData plugin is implemented by data producers which produce data from different sources.
6263
type PrepareData interface {
6364
plugins.Plugin
6465
PrepareData(ctx context.Context, request *types.LLMRequest, pods []types.Pod)
6566
}
6667

6768
// AdmitRequest is called by the director after the PrepareData plugins and before scheduling.
69+
// AdmitRequest plugin is implemented by plugins for admission control. These plugins need to implement Admit method.
6870
type AdmitRequest interface {
6971
plugins.Plugin
7072
Admit(ctx context.Context, request *types.LLMRequest, pods []types.Pod) bool

0 commit comments

Comments
 (0)