Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
497 changes: 497 additions & 0 deletions Gopkg.lock

Large diffs are not rendered by default.

66 changes: 66 additions & 0 deletions Gopkg.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# Gopkg.toml example
#
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
# for detailed Gopkg.toml documentation.
#
# required = ["github.com/user/thing/cmd/thing"]
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
#
# [[constraint]]
# name = "github.com/user/project"
# version = "1.0.0"
#
# [[constraint]]
# name = "github.com/user/project2"
# branch = "dev"
# source = "github.com/myfork/project2"
#
# [[override]]
# name = "github.com/x/y"
# version = "2.4.0"
#
# [prune]
# non-go = false
# go-tests = true
# unused-packages = true


[[constraint]]
name = "github.com/Microsoft/go-winio"
version = "0.4.12"

[[constraint]]
name = "github.com/docker/libnetwork"
version = "0.5.6"

[[constraint]]
name = "github.com/google/uuid"
version = "1.1.1"

[[constraint]]
branch = "master"
name = "golang.org/x/sys"

[[constraint]]
branch = "master"
name = "k8s.io/api"

[[constraint]]
name = "k8s.io/apimachinery"
revision = "d7deff9243b165ee192f5551710ea4285dcfd615"

[[constraint]]
name = "k8s.io/client-go"
version = "11.0.0"

[[constraint]]
name = "github.com/Microsoft/hcsshim"
version = "0.8.6"

[[constraint]]
name = "github.com/containernetworking/cni"
revision = "fbb95fff8a5239a4295c991efa8a397d43118f7e"

[prune]
go-tests = true
unused-packages = true
5 changes: 3 additions & 2 deletions cni/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
package cni

import (
"context"
"fmt"
"os"
"runtime"
Expand Down Expand Up @@ -108,7 +109,7 @@ func (plugin *Plugin) DelegateAdd(pluginName string, nwCfg *NetworkConfig) (*cni

os.Setenv(Cmd, CmdAdd)

res, err := cniInvoke.DelegateAdd(pluginName, nwCfg.Serialize(), nil)
res, err := cniInvoke.DelegateAdd(context.TODO(), pluginName, nwCfg.Serialize(), nil)
if err != nil {
return nil, fmt.Errorf("Failed to delegate: %v", err)
}
Expand All @@ -130,7 +131,7 @@ func (plugin *Plugin) DelegateDel(pluginName string, nwCfg *NetworkConfig) error

os.Setenv(Cmd, CmdDel)

err = cniInvoke.DelegateDel(pluginName, nwCfg.Serialize(), nil)
err = cniInvoke.DelegateDel(context.TODO(), pluginName, nwCfg.Serialize(), nil)
if err != nil {
return fmt.Errorf("Failed to delegate: %v", err)
}
Expand Down
Binary file added cns/service/service.exe
Binary file not shown.
4 changes: 0 additions & 4 deletions vendor.conf

This file was deleted.

3 changes: 2 additions & 1 deletion vendor/github.com/Microsoft/go-winio/fileinfo.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions vendor/github.com/Microsoft/hcsshim/.gometalinter.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 12 additions & 2 deletions vendor/github.com/Microsoft/hcsshim/appveyor.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions vendor/github.com/Microsoft/hcsshim/cmd/runhcs/NOTICE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions vendor/github.com/Microsoft/hcsshim/hcsshim.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions vendor/github.com/Microsoft/hcsshim/hnsendpoint.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions vendor/github.com/Microsoft/hcsshim/interface.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

100 changes: 100 additions & 0 deletions vendor/github.com/Microsoft/hcsshim/internal/guestrequest/types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

47 changes: 47 additions & 0 deletions vendor/github.com/Microsoft/hcsshim/internal/guid/guid.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading