github.com/sams1990/dockerrepo@v17.12.1-ce-rc2+incompatible/api/types/swarm/runtime.go (about)

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