mirror of
https://github.com/micromdm/micromdm/
synced 2026-08-08 18:55:34 +08:00
rewrite imports
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
"github.com/pkg/errors"
|
||||
"golang.org/x/net/context"
|
||||
|
||||
"github.com/micromdm/nano/pubsub"
|
||||
"github.com/micromdm/micromdm/pubsub"
|
||||
)
|
||||
|
||||
// CheckinBucket is the *bolt.DB bucket where checkins are archived.
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"github.com/micromdm/mdm"
|
||||
uuid "github.com/satori/go.uuid"
|
||||
|
||||
"github.com/micromdm/nano/checkin/internal/checkinproto"
|
||||
"github.com/micromdm/micromdm/checkin/internal/checkinproto"
|
||||
)
|
||||
|
||||
type Event struct {
|
||||
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
"github.com/groob/plist"
|
||||
"github.com/micromdm/mdm"
|
||||
|
||||
"github.com/micromdm/nano/checkin"
|
||||
"github.com/micromdm/micromdm/checkin"
|
||||
)
|
||||
|
||||
var marshalTests = []string{
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/boltdb/bolt"
|
||||
"github.com/micromdm/mdm"
|
||||
"github.com/micromdm/nano/pubsub"
|
||||
"github.com/micromdm/micromdm/pubsub"
|
||||
"github.com/pkg/errors"
|
||||
"golang.org/x/net/context"
|
||||
)
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/gogo/protobuf/proto"
|
||||
"github.com/micromdm/mdm"
|
||||
"github.com/micromdm/nano/command/internal/commandproto"
|
||||
"github.com/micromdm/micromdm/command/internal/commandproto"
|
||||
"github.com/pkg/errors"
|
||||
uuid "github.com/satori/go.uuid"
|
||||
)
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
"github.com/groob/plist"
|
||||
"github.com/micromdm/mdm"
|
||||
|
||||
"github.com/micromdm/nano/command"
|
||||
"github.com/micromdm/micromdm/command"
|
||||
)
|
||||
|
||||
var marshalTests = []string{
|
||||
|
||||
@@ -2,7 +2,7 @@ package connect
|
||||
|
||||
import (
|
||||
"github.com/gogo/protobuf/proto"
|
||||
"github.com/micromdm/nano/connect/internal/devicecommandproto"
|
||||
"github.com/micromdm/micromdm/connect/internal/devicecommandproto"
|
||||
"github.com/pkg/errors"
|
||||
)
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@ import (
|
||||
|
||||
"github.com/boltdb/bolt"
|
||||
"github.com/groob/plist"
|
||||
"github.com/micromdm/nano/command"
|
||||
"github.com/micromdm/nano/pubsub"
|
||||
"github.com/micromdm/micromdm/command"
|
||||
"github.com/micromdm/micromdm/pubsub"
|
||||
"github.com/pkg/errors"
|
||||
)
|
||||
|
||||
|
||||
@@ -10,8 +10,8 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/micromdm/mdm"
|
||||
"github.com/micromdm/nano/checkin"
|
||||
"github.com/micromdm/nano/command"
|
||||
"github.com/micromdm/micromdm/checkin"
|
||||
"github.com/micromdm/micromdm/command"
|
||||
"github.com/pkg/errors"
|
||||
)
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/micromdm/dep"
|
||||
"github.com/micromdm/nano/pubsub"
|
||||
"github.com/micromdm/micromdm/pubsub"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"github.com/micromdm/dep"
|
||||
uuid "github.com/satori/go.uuid"
|
||||
|
||||
"github.com/micromdm/nano/depsync/internal/depsyncproto"
|
||||
"github.com/micromdm/micromdm/depsync/internal/depsyncproto"
|
||||
)
|
||||
|
||||
type Event struct {
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"fmt"
|
||||
|
||||
"github.com/boltdb/bolt"
|
||||
"github.com/micromdm/nano/device"
|
||||
"github.com/micromdm/micromdm/device"
|
||||
)
|
||||
|
||||
// TODO this is a temporary command to get some stuff working
|
||||
|
||||
@@ -4,9 +4,9 @@ import (
|
||||
"fmt"
|
||||
|
||||
"github.com/boltdb/bolt"
|
||||
"github.com/micromdm/nano/checkin"
|
||||
"github.com/micromdm/nano/depsync"
|
||||
"github.com/micromdm/nano/pubsub"
|
||||
"github.com/micromdm/micromdm/checkin"
|
||||
"github.com/micromdm/micromdm/depsync"
|
||||
"github.com/micromdm/micromdm/pubsub"
|
||||
"github.com/pkg/errors"
|
||||
uuid "github.com/satori/go.uuid"
|
||||
)
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/gogo/protobuf/proto"
|
||||
"github.com/micromdm/nano/device/internal/deviceproto"
|
||||
"github.com/micromdm/micromdm/device/internal/deviceproto"
|
||||
"github.com/pkg/errors"
|
||||
)
|
||||
|
||||
|
||||
@@ -4,8 +4,8 @@ import (
|
||||
"fmt"
|
||||
|
||||
"github.com/boltdb/bolt"
|
||||
"github.com/micromdm/nano/checkin"
|
||||
"github.com/micromdm/nano/pubsub"
|
||||
"github.com/micromdm/micromdm/checkin"
|
||||
"github.com/micromdm/micromdm/pubsub"
|
||||
"github.com/pkg/errors"
|
||||
)
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"github.com/pkg/errors"
|
||||
|
||||
"github.com/gogo/protobuf/proto"
|
||||
"github.com/micromdm/nano/push/internal/pushproto"
|
||||
"github.com/micromdm/micromdm/push/internal/pushproto"
|
||||
)
|
||||
|
||||
type PushInfo struct {
|
||||
|
||||
16
serve.go
16
serve.go
@@ -38,14 +38,14 @@ import (
|
||||
boltdepot "github.com/micromdm/scep/depot/bolt"
|
||||
scep "github.com/micromdm/scep/server"
|
||||
|
||||
"github.com/micromdm/nano/checkin"
|
||||
"github.com/micromdm/nano/command"
|
||||
"github.com/micromdm/nano/connect"
|
||||
"github.com/micromdm/nano/depsync"
|
||||
"github.com/micromdm/nano/device"
|
||||
"github.com/micromdm/nano/enroll"
|
||||
"github.com/micromdm/nano/pubsub"
|
||||
nanopush "github.com/micromdm/nano/push"
|
||||
"github.com/micromdm/micromdm/checkin"
|
||||
"github.com/micromdm/micromdm/command"
|
||||
"github.com/micromdm/micromdm/connect"
|
||||
"github.com/micromdm/micromdm/depsync"
|
||||
"github.com/micromdm/micromdm/device"
|
||||
"github.com/micromdm/micromdm/enroll"
|
||||
"github.com/micromdm/micromdm/pubsub"
|
||||
nanopush "github.com/micromdm/micromdm/push"
|
||||
)
|
||||
|
||||
const configDBPath = "/var/db/micromdm"
|
||||
|
||||
Reference in New Issue
Block a user