Documentation ¶
Index ¶
- Constants
- func New(arguments framework.Arguments) framework.Plugin
- type JobEnqueueableRequest
- type JobEnqueueableResponse
- type OnSessionCloseRequest
- type OnSessionCloseResponse
- type OnSessionOpenRequest
- type OnSessionOpenResponse
- type PredicateRequest
- type PredicateResponse
- type PreemptableRequest
- type PreemptableResponse
- type PrioritizeRequest
- type PrioritizeResponse
- type QueueOverusedRequest
- type QueueOverusedResponse
- type ReclaimableRequest
- type ReclaimableResponse
Constants ¶
View Source
const ( // PluginName indicates name of volcano scheduler plugin. PluginName = "extender" // ExtenderURLPrefix is the key for providing extender endpoint address ExtenderURLPrefix = "extender.urlPrefix" // ExtenderHTTPTimeout is the timeout for extender http calls ExtenderHTTPTimeout = "extender.httpTimeout" // ExtenderOnSessionOpenVerb is the verb of OnSessionOpen method ExtenderOnSessionOpenVerb = "extender.onSessionOpenVerb" // ExtenderOnSessionCloseVerb is the verb of OnSessionClose method ExtenderOnSessionCloseVerb = "extender.onSessionCloseVerb" // ExtenderPredicateVerb is the verb of Predicate method ExtenderPredicateVerb = "extender.predicateVerb" // ExtenderPrioritizeVerb is the verb of Prioritize method ExtenderPrioritizeVerb = "extender.prioritizeVerb" // ExtenderPreemptableVerb is the verb of Preemptable method ExtenderPreemptableVerb = "extender.preemptableVerb" // ExtenderReclaimableVerb is the verb of Reclaimable method ExtenderReclaimableVerb = "extender.reclaimableVerb" // ExtenderQueueOverusedVerb is the verb of QueueOverused method ExtenderQueueOverusedVerb = "extender.queueOverusedVerb" // ExtenderJobEnqueueableVerb is the verb of JobEnqueueable method ExtenderJobEnqueueableVerb = "extender.jobEnqueueableVerb" // ExtenderIgnorable indicates whether the extender can ignore unexpected errors ExtenderIgnorable = "extender.ignorable" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type JobEnqueueableRequest ¶
type JobEnqueueableResponse ¶
type JobEnqueueableResponse struct {
Status int `json:"status"`
}
type OnSessionCloseRequest ¶
type OnSessionCloseRequest struct{}
type OnSessionCloseResponse ¶
type OnSessionCloseResponse struct{}
type OnSessionOpenRequest ¶
type OnSessionOpenResponse ¶
type OnSessionOpenResponse struct{}
type PredicateRequest ¶
type PredicateResponse ¶
type PredicateResponse struct {
ErrorMessage string `json:"errorMessage"`
}
type PreemptableRequest ¶
type PreemptableResponse ¶
type PrioritizeRequest ¶
type PrioritizeResponse ¶
type QueueOverusedRequest ¶
type QueueOverusedResponse ¶
type QueueOverusedResponse struct {
Overused bool `json:"overused"`
}
type ReclaimableRequest ¶
type ReclaimableRequest PreemptableRequest
type ReclaimableResponse ¶
type ReclaimableResponse PreemptableResponse
Click to show internal directories.
Click to hide internal directories.