mirror of
https://github.com/genuinetools/reg.git
synced 2024-09-12 06:11:03 -04:00
19 lines
607 B
Go
19 lines
607 B
Go
package swarm
|
|
|
|
// RuntimeType is the type of runtime used for the TaskSpec
|
|
type RuntimeType string
|
|
|
|
// RuntimeURL is the proto type url
|
|
type RuntimeURL string
|
|
|
|
const (
|
|
// RuntimeContainer is the container based runtime
|
|
RuntimeContainer RuntimeType = "container"
|
|
// RuntimePlugin is the plugin based runtime
|
|
RuntimePlugin RuntimeType = "plugin"
|
|
|
|
// RuntimeURLContainer is the proto url for the container type
|
|
RuntimeURLContainer RuntimeURL = "types.docker.com/RuntimeContainer"
|
|
// RuntimeURLPlugin is the proto url for the plugin type
|
|
RuntimeURLPlugin RuntimeURL = "types.docker.com/RuntimePlugin"
|
|
)
|