[hyper-provider] update hypercli in vendor

This commit is contained in:
Jimmy Xu
2017-12-22 00:30:03 +08:00
parent 1b3d6eae82
commit a6a6267863
200 changed files with 451 additions and 675 deletions

View File

@@ -1,8 +1,8 @@
package build
import (
"github.com/hyperhq/hyper-api/types"
"github.com/hyperhq/hypercli/builder"
"github.com/docker/engine-api/types"
"io"
)

View File

@@ -12,15 +12,15 @@ import (
"strings"
"github.com/Sirupsen/logrus"
"github.com/docker/go-units"
"github.com/hyperhq/hyper-api/types"
"github.com/hyperhq/hyper-api/types/container"
"github.com/hyperhq/hypercli/api/server/httputils"
"github.com/hyperhq/hypercli/builder"
"github.com/hyperhq/hypercli/pkg/ioutils"
"github.com/hyperhq/hypercli/pkg/progress"
"github.com/hyperhq/hypercli/pkg/streamformatter"
"github.com/hyperhq/hypercli/utils"
"github.com/docker/engine-api/types"
"github.com/docker/engine-api/types/container"
"github.com/docker/go-units"
"golang.org/x/net/context"
)

View File

@@ -4,12 +4,12 @@ import (
"io"
"time"
"github.com/hyperhq/hyper-api/types"
"github.com/hyperhq/hyper-api/types/container"
"github.com/hyperhq/hypercli/daemon"
"github.com/hyperhq/hypercli/daemon/exec"
"github.com/hyperhq/hypercli/pkg/archive"
"github.com/hyperhq/hypercli/pkg/version"
"github.com/docker/engine-api/types"
"github.com/docker/engine-api/types/container"
)
// execBackend includes functions to implement to provide exec functionality.

View File

@@ -12,9 +12,9 @@ import (
"github.com/Sirupsen/logrus"
"github.com/docker/distribution/registry/api/errcode"
"github.com/docker/engine-api/types"
"github.com/docker/engine-api/types/container"
timetypes "github.com/docker/engine-api/types/time"
"github.com/hyperhq/hyper-api/types"
"github.com/hyperhq/hyper-api/types/container"
timetypes "github.com/hyperhq/hyper-api/types/time"
"github.com/hyperhq/hypercli/api/server/httputils"
"github.com/hyperhq/hypercli/daemon"
derr "github.com/hyperhq/hypercli/errors"

View File

@@ -9,8 +9,8 @@ import (
"os"
"strings"
"github.com/hyperhq/hyper-api/types"
"github.com/hyperhq/hypercli/api/server/httputils"
"github.com/docker/engine-api/types"
"golang.org/x/net/context"
)

View File

@@ -8,10 +8,10 @@ import (
"strconv"
"github.com/Sirupsen/logrus"
"github.com/hyperhq/hyper-api/types"
"github.com/hyperhq/hypercli/api/server/httputils"
"github.com/hyperhq/hypercli/pkg/stdcopy"
"github.com/hyperhq/hypercli/utils"
"github.com/docker/engine-api/types"
"golang.org/x/net/context"
)

View File

@@ -12,6 +12,8 @@ import (
"github.com/docker/distribution/digest"
"github.com/docker/distribution/registry/api/errcode"
"github.com/hyperhq/hyper-api/types"
"github.com/hyperhq/hyper-api/types/container"
"github.com/hyperhq/hypercli/api/server/httputils"
"github.com/hyperhq/hypercli/builder/dockerfile"
derr "github.com/hyperhq/hypercli/errors"
@@ -19,8 +21,6 @@ import (
"github.com/hyperhq/hypercli/pkg/streamformatter"
"github.com/hyperhq/hypercli/reference"
"github.com/hyperhq/hypercli/runconfig"
"github.com/docker/engine-api/types"
"github.com/docker/engine-api/types/container"
"golang.org/x/net/context"
)

View File

@@ -1,8 +1,8 @@
package network
import (
"github.com/docker/engine-api/types/network"
"github.com/docker/libnetwork"
"github.com/hyperhq/hyper-api/types/network"
)
// Backend is all the methods that need to be implemented to provide

View File

@@ -5,9 +5,9 @@ import (
"regexp"
"strings"
"github.com/hyperhq/hypercli/runconfig"
"github.com/docker/engine-api/types/filters"
"github.com/docker/libnetwork"
"github.com/hyperhq/hyper-api/types/filters"
"github.com/hyperhq/hypercli/runconfig"
)
type filterHandler func([]libnetwork.Network, string) ([]libnetwork.Network, error)

View File

@@ -7,13 +7,13 @@ import (
"golang.org/x/net/context"
"github.com/docker/libnetwork"
"github.com/hyperhq/hyper-api/types"
"github.com/hyperhq/hyper-api/types/filters"
"github.com/hyperhq/hyper-api/types/network"
"github.com/hyperhq/hypercli/api/server/httputils"
"github.com/hyperhq/hypercli/daemon"
"github.com/hyperhq/hypercli/runconfig"
"github.com/docker/engine-api/types"
"github.com/docker/engine-api/types/filters"
"github.com/docker/engine-api/types/network"
"github.com/docker/libnetwork"
)
func (n *networkRouter) getNetworksList(ctx context.Context, w http.ResponseWriter, r *http.Request, vars map[string]string) error {

View File

@@ -1,9 +1,9 @@
package system
import (
"github.com/docker/engine-api/types"
"github.com/docker/engine-api/types/events"
"github.com/docker/engine-api/types/filters"
"github.com/hyperhq/hyper-api/types"
"github.com/hyperhq/hyper-api/types/events"
"github.com/hyperhq/hyper-api/types/filters"
)
// Backend is the methods that need to be implemented to provide

View File

@@ -6,13 +6,13 @@ import (
"time"
"github.com/Sirupsen/logrus"
"github.com/hyperhq/hyper-api/types"
"github.com/hyperhq/hyper-api/types/events"
"github.com/hyperhq/hyper-api/types/filters"
timetypes "github.com/hyperhq/hyper-api/types/time"
"github.com/hyperhq/hypercli/api"
"github.com/hyperhq/hypercli/api/server/httputils"
"github.com/hyperhq/hypercli/pkg/ioutils"
"github.com/docker/engine-api/types"
"github.com/docker/engine-api/types/events"
"github.com/docker/engine-api/types/filters"
timetypes "github.com/docker/engine-api/types/time"
"golang.org/x/net/context"
)

View File

@@ -2,7 +2,7 @@ package volume
import (
// TODO return types need to be refactored into pkg
"github.com/docker/engine-api/types"
"github.com/hyperhq/hyper-api/types"
)
// Backend is the methods that need to be implemented to provide

View File

@@ -4,8 +4,8 @@ import (
"encoding/json"
"net/http"
"github.com/hyperhq/hyper-api/types"
"github.com/hyperhq/hypercli/api/server/httputils"
"github.com/docker/engine-api/types"
"golang.org/x/net/context"
)