You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

inference.go 584 B

1234567891011121314151617181920212223242526272829303132
  1. package inference
  2. import (
  3. "context"
  4. "gitlink.org.cn/JointCloud/pcm-coordinator/internal/scheduler/schedulers/option"
  5. )
  6. const (
  7. FORWARD_SLASH = "/"
  8. )
  9. type ICluster interface {
  10. GetInferUrl(ctx context.Context, option *option.InferOption) ([]*InferUrl, error)
  11. GetInferDeployInstanceList(ctx context.Context, option *option.InferOption) ([]*DeployInstance, error)
  12. }
  13. type IInference interface {
  14. CreateTask() (int64, error)
  15. InferTask(id int64) error
  16. }
  17. type Inference struct {
  18. In IInference
  19. }
  20. type InferUrl struct {
  21. Url string
  22. Card string
  23. }
  24. type DeployInstance struct {
  25. }

PCM is positioned as Software stack over Cloud, aiming to build the standards and ecology of heterogeneous cloud collaboration for JCC in a non intrusive and autonomous peer-to-peer manner.