reorganise runtime
This commit is contained in:
parent
54fb61bba4
commit
d918694346
@ -2,7 +2,7 @@
|
|||||||
package build
|
package build
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/micro/go-micro/runtime/source"
|
"github.com/micro/go-micro/runtime/local/source"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Builder builds binaries
|
// Builder builds binaries
|
@ -9,7 +9,7 @@ import (
|
|||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
|
||||||
docker "github.com/fsouza/go-dockerclient"
|
docker "github.com/fsouza/go-dockerclient"
|
||||||
"github.com/micro/go-micro/runtime/build"
|
"github.com/micro/go-micro/runtime/local/build"
|
||||||
"github.com/micro/go-micro/util/log"
|
"github.com/micro/go-micro/util/log"
|
||||||
)
|
)
|
||||||
|
|
@ -6,7 +6,7 @@ import (
|
|||||||
"os/exec"
|
"os/exec"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
|
||||||
"github.com/micro/go-micro/runtime/build"
|
"github.com/micro/go-micro/runtime/local/build"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Builder struct {
|
type Builder struct {
|
@ -10,7 +10,7 @@ import (
|
|||||||
"strconv"
|
"strconv"
|
||||||
"syscall"
|
"syscall"
|
||||||
|
|
||||||
"github.com/micro/go-micro/runtime/process"
|
"github.com/micro/go-micro/runtime/local/process"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (p *Process) Exec(exe *process.Executable) error {
|
func (p *Process) Exec(exe *process.Executable) error {
|
@ -2,7 +2,7 @@
|
|||||||
package os
|
package os
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/micro/go-micro/runtime/process"
|
"github.com/micro/go-micro/runtime/local/process"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Process struct{}
|
type Process struct{}
|
@ -4,7 +4,7 @@ package process
|
|||||||
import (
|
import (
|
||||||
"io"
|
"io"
|
||||||
|
|
||||||
"github.com/micro/go-micro/runtime/build"
|
"github.com/micro/go-micro/runtime/local/build"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Process manages a running process
|
// Process manages a running process
|
@ -6,7 +6,7 @@ import (
|
|||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/micro/go-micro/runtime/source"
|
"github.com/micro/go-micro/runtime/local/source"
|
||||||
git "gopkg.in/src-d/go-git.v4"
|
git "gopkg.in/src-d/go-git.v4"
|
||||||
)
|
)
|
||||||
|
|
@ -7,7 +7,7 @@ import (
|
|||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/micro/go-micro/runtime/source"
|
"github.com/micro/go-micro/runtime/local/source"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Source struct {
|
type Source struct {
|
@ -5,10 +5,9 @@ import (
|
|||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/micro/go-micro/runtime/build"
|
"github.com/micro/go-micro/runtime/local/build"
|
||||||
|
"github.com/micro/go-micro/runtime/local/process"
|
||||||
"github.com/micro/go-micro/runtime/process"
|
proc "github.com/micro/go-micro/runtime/local/process/os"
|
||||||
proc "github.com/micro/go-micro/runtime/process/os"
|
|
||||||
"github.com/micro/go-micro/util/log"
|
"github.com/micro/go-micro/util/log"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user