runtime.go 607 B

12345678910111213141516171819
  1. package swarm
  2. // RuntimeType is the type of runtime used for the TaskSpec
  3. type RuntimeType string
  4. // RuntimeURL is the proto type url
  5. type RuntimeURL string
  6. const (
  7. // RuntimeContainer is the container based runtime
  8. RuntimeContainer RuntimeType = "container"
  9. // RuntimePlugin is the plugin based runtime
  10. RuntimePlugin RuntimeType = "plugin"
  11. // RuntimeURLContainer is the proto url for the container type
  12. RuntimeURLContainer RuntimeURL = "types.docker.com/RuntimeContainer"
  13. // RuntimeURLPlugin is the proto url for the plugin type
  14. RuntimeURLPlugin RuntimeURL = "types.docker.com/RuntimePlugin"
  15. )