|
- package inference
-
- import (
- "context"
- "gitlink.org.cn/JointCloud/pcm-coordinator/internal/scheduler/schedulers/option"
- )
-
- const (
- FORWARD_SLASH = "/"
- )
-
- type ICluster interface {
- GetInferUrl(ctx context.Context, option *option.InferOption) ([]*InferUrl, error)
- GetInferDeployInstanceList(ctx context.Context, option *option.InferOption) ([]*DeployInstance, error)
- }
-
- type IInference interface {
- CreateTask() (int64, error)
- InferTask(id int64) error
- }
-
- type Inference struct {
- In IInference
- }
-
- type InferUrl struct {
- Url string
- Card string
- }
-
- type DeployInstance struct {
- }
|