Skip to content

Commit

Permalink
fix(api): signals
Browse files Browse the repository at this point in the history
  • Loading branch information
fsamin authored and yesnault committed Sep 30, 2019
1 parent 0bd282f commit ff7d826
Show file tree
Hide file tree
Showing 39 changed files with 207 additions and 9,149 deletions.
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,8 @@ require (
k8s.io/apimachinery v0.0.0-20190223094358-dcb391cde5ca
k8s.io/client-go v10.0.0+incompatible
k8s.io/klog v0.2.0 // indirect
labix.org/v2/mgo v0.0.0-20140701140051-000000000287 // indirect
launchpad.net/gocheck v0.0.0-20140225173054-000000000087 // indirect
sigs.k8s.io/yaml v1.1.0 // indirect
)

Expand Down
4 changes: 4 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -709,5 +709,9 @@ k8s.io/client-go v10.0.0+incompatible h1:F1IqCqw7oMBzDkqlcBymRq1450wD0eNqLE9jzUr
k8s.io/client-go v10.0.0+incompatible/go.mod h1:7vJpHMYJwNQCWgzmNV+VYUl1zCObLyodBc8nIyt8L5s=
k8s.io/klog v0.2.0 h1:0ElL0OHzF3N+OhoJTL0uca20SxtYt4X4+bzHeqrB83c=
k8s.io/klog v0.2.0/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk=
labix.org/v2/mgo v0.0.0-20140701140051-000000000287 h1:L0cnkNl4TfAXzvdrqsYEmxOHOCv2p5I3taaReO8BWFs=
labix.org/v2/mgo v0.0.0-20140701140051-000000000287/go.mod h1:Lg7AYkt1uXJoR9oeSZ3W/8IXLdvOfIITgZnommstyz4=
launchpad.net/gocheck v0.0.0-20140225173054-000000000087 h1:Izowp2XBH6Ya6rv+hqbceQyw/gSGoXfH/UPoTGduL54=
launchpad.net/gocheck v0.0.0-20140225173054-000000000087/go.mod h1:hj7XX3B/0A+80Vse0e+BUHsHMTEhd0O4cpUHr/e/BUM=
sigs.k8s.io/yaml v1.1.0 h1:4A07+ZFc2wgJwo8YNlQpr1rVlgUDlxXHhPJciaPY5gs=
sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o=
2 changes: 2 additions & 0 deletions sdk/signal_darwin.go → sdk/signal.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// +build !linux,!windows

package sdk

import "golang.org/x/sys/unix"
Expand Down
4 changes: 3 additions & 1 deletion sdk/signal_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// +build linux

package sdk

import "golang.org/x/sys/unix"

var SIGINFO = unix.SIGPWR
var SIGINFO = unix.SIGUSR1
6 changes: 4 additions & 2 deletions sdk/signal_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// +build windows

package sdk

import "golang.org/x/sys/unix"
import "syscall"

var SIGINFO = unix.SIGPWR
var SIGINFO = syscall.Signal(0x1d)
97 changes: 0 additions & 97 deletions vendor/github.com/docker/docker/pkg/archive/example_changes.go

This file was deleted.

Loading

0 comments on commit ff7d826

Please sign in to comment.