Merge pull request #342 from Random-Liu/update-kubernetes-containerd
Update kubernetes and containerd.
This commit is contained in:
commit
e4b818ff41
@ -1,5 +1,5 @@
|
|||||||
RUNC_VERSION=0351df1c5a66838d0c392b4ac4cf9450de844e2d
|
RUNC_VERSION=0351df1c5a66838d0c392b4ac4cf9450de844e2d
|
||||||
CNI_VERSION=v0.6.0
|
CNI_VERSION=v0.6.0
|
||||||
CONTAINERD_VERSION=8558b98eb19aeb415d5da331e9c17c2513717671
|
CONTAINERD_VERSION=12c79cc0d9a38f74420ee669e44d551fda664fd4
|
||||||
CRITOOL_VERSION=v0.2
|
CRITOOL_VERSION=v0.2
|
||||||
KUBERNETES_VERSION=c6a3f26988bce604c035dcd9024ce775ae4aafef
|
KUBERNETES_VERSION=d9bc7f0896091ba9879743fe4c9b27f352fe8289
|
||||||
|
@ -24,9 +24,11 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/containerd/containerd"
|
"github.com/containerd/containerd"
|
||||||
|
"github.com/containerd/containerd/containers"
|
||||||
"github.com/containerd/containerd/contrib/apparmor"
|
"github.com/containerd/containerd/contrib/apparmor"
|
||||||
"github.com/containerd/containerd/contrib/seccomp"
|
"github.com/containerd/containerd/contrib/seccomp"
|
||||||
"github.com/containerd/containerd/linux/runcopts"
|
"github.com/containerd/containerd/linux/runcopts"
|
||||||
|
"github.com/containerd/containerd/namespaces"
|
||||||
"github.com/containerd/typeurl"
|
"github.com/containerd/typeurl"
|
||||||
"github.com/docker/docker/pkg/mount"
|
"github.com/docker/docker/pkg/mount"
|
||||||
"github.com/golang/glog"
|
"github.com/golang/glog"
|
||||||
@ -272,7 +274,7 @@ func (c *criContainerdService) CreateContainer(ctx context.Context, r *runtime.C
|
|||||||
func (c *criContainerdService) generateContainerSpec(id string, sandboxPid uint32, config *runtime.ContainerConfig,
|
func (c *criContainerdService) generateContainerSpec(id string, sandboxPid uint32, config *runtime.ContainerConfig,
|
||||||
sandboxConfig *runtime.PodSandboxConfig, imageConfig *imagespec.ImageConfig, extraMounts []*runtime.Mount) (*runtimespec.Spec, error) {
|
sandboxConfig *runtime.PodSandboxConfig, imageConfig *imagespec.ImageConfig, extraMounts []*runtime.Mount) (*runtimespec.Spec, error) {
|
||||||
// Creates a spec Generator with the default spec.
|
// Creates a spec Generator with the default spec.
|
||||||
spec, err := defaultRuntimeSpec()
|
spec, err := defaultRuntimeSpec(id)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
@ -721,8 +723,10 @@ func setOCINamespaces(g *generate.Generator, namespaces *runtime.NamespaceOption
|
|||||||
}
|
}
|
||||||
|
|
||||||
// defaultRuntimeSpec returns a default runtime spec used in cri-containerd.
|
// defaultRuntimeSpec returns a default runtime spec used in cri-containerd.
|
||||||
func defaultRuntimeSpec() (*runtimespec.Spec, error) {
|
func defaultRuntimeSpec(id string) (*runtimespec.Spec, error) {
|
||||||
spec, err := containerd.GenerateSpec(context.Background(), nil, nil)
|
// GenerateSpec needs namespace.
|
||||||
|
ctx := namespaces.WithNamespace(context.Background(), k8sContainerdNamespace)
|
||||||
|
spec, err := containerd.GenerateSpec(ctx, nil, &containers.Container{ID: id})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
@ -716,7 +716,7 @@ func TestPidNamespace(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestDefaultRuntimeSpec(t *testing.T) {
|
func TestDefaultRuntimeSpec(t *testing.T) {
|
||||||
spec, err := defaultRuntimeSpec()
|
spec, err := defaultRuntimeSpec("test-id")
|
||||||
assert.NoError(t, err)
|
assert.NoError(t, err)
|
||||||
for _, mount := range spec.Mounts {
|
for _, mount := range spec.Mounts {
|
||||||
assert.NotEqual(t, "/run", mount.Destination)
|
assert.NotEqual(t, "/run", mount.Destination)
|
||||||
|
@ -230,7 +230,7 @@ func (c *criContainerdService) generateSandboxContainerSpec(id string, config *r
|
|||||||
imageConfig *imagespec.ImageConfig, nsPath string) (*runtimespec.Spec, error) {
|
imageConfig *imagespec.ImageConfig, nsPath string) (*runtimespec.Spec, error) {
|
||||||
// Creates a spec Generator with the default spec.
|
// Creates a spec Generator with the default spec.
|
||||||
// TODO(random-liu): [P1] Compare the default settings with docker and containerd default.
|
// TODO(random-liu): [P1] Compare the default settings with docker and containerd default.
|
||||||
spec, err := defaultRuntimeSpec()
|
spec, err := defaultRuntimeSpec(id)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
github.com/blang/semver v3.1.0
|
github.com/blang/semver v3.1.0
|
||||||
github.com/boltdb/bolt e9cf4fae01b5a8ff89d0ec6b32f0d9c9f79aefdd
|
github.com/boltdb/bolt e9cf4fae01b5a8ff89d0ec6b32f0d9c9f79aefdd
|
||||||
github.com/BurntSushi/toml a368813c5e648fee92e5f6c30e3944ff9d5e8895
|
github.com/BurntSushi/toml a368813c5e648fee92e5f6c30e3944ff9d5e8895
|
||||||
github.com/containerd/cgroups 5933ab4dc4f7caa3a73a1dc141bd11f42b5c9163
|
github.com/containerd/cgroups 9c238e632e80d94f71a067c3deb9b34b1886ef18
|
||||||
github.com/containerd/containerd 8558b98eb19aeb415d5da331e9c17c2513717671
|
github.com/containerd/containerd 12c79cc0d9a38f74420ee669e44d551fda664fd4
|
||||||
github.com/containerd/continuity cf279e6ac893682272b4479d4c67fd3abf878b4e
|
github.com/containerd/continuity cf279e6ac893682272b4479d4c67fd3abf878b4e
|
||||||
github.com/containerd/fifo fbfb6a11ec671efbe94ad1c12c2e98773f19e1e6
|
github.com/containerd/fifo fbfb6a11ec671efbe94ad1c12c2e98773f19e1e6
|
||||||
github.com/containerd/typeurl f6943554a7e7e88b3c14aad190bf05932da84788
|
github.com/containerd/typeurl f6943554a7e7e88b3c14aad190bf05932da84788
|
||||||
@ -64,5 +64,5 @@ k8s.io/apimachinery 4fd33e5925599d66528ef4f1a5c80f4aa2e27c98
|
|||||||
k8s.io/apiserver c1e53d745d0fe45bf7d5d44697e6eface25fceca
|
k8s.io/apiserver c1e53d745d0fe45bf7d5d44697e6eface25fceca
|
||||||
k8s.io/client-go 82aa063804cf055e16e8911250f888bc216e8b61
|
k8s.io/client-go 82aa063804cf055e16e8911250f888bc216e8b61
|
||||||
k8s.io/kube-openapi abfc5fbe1cf87ee697db107fdfd24c32fe4397a8
|
k8s.io/kube-openapi abfc5fbe1cf87ee697db107fdfd24c32fe4397a8
|
||||||
k8s.io/kubernetes c6a3f26988bce604c035dcd9024ce775ae4aafef
|
k8s.io/kubernetes d9bc7f0896091ba9879743fe4c9b27f352fe8289
|
||||||
k8s.io/utils 4fe312863be2155a7b68acd2aff1c9221b24e68c
|
k8s.io/utils 4fe312863be2155a7b68acd2aff1c9221b24e68c
|
||||||
|
4
vendor/github.com/containerd/cgroups/cgroup.go
generated
vendored
4
vendor/github.com/containerd/cgroups/cgroup.go
generated
vendored
@ -10,6 +10,7 @@ import (
|
|||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
specs "github.com/opencontainers/runtime-spec/specs-go"
|
specs "github.com/opencontainers/runtime-spec/specs-go"
|
||||||
|
"github.com/pkg/errors"
|
||||||
)
|
)
|
||||||
|
|
||||||
// New returns a new control via the cgroup cgroups interface
|
// New returns a new control via the cgroup cgroups interface
|
||||||
@ -39,6 +40,9 @@ func Load(hierarchy Hierarchy, path Path) (Cgroup, error) {
|
|||||||
for _, s := range pathers(subsystems) {
|
for _, s := range pathers(subsystems) {
|
||||||
p, err := path(s.Name())
|
p, err := path(s.Name())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
if os.IsNotExist(errors.Cause(err)) {
|
||||||
|
return nil, ErrCgroupDeleted
|
||||||
|
}
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
if _, err := os.Lstat(s.Path(p)); err != nil {
|
if _, err := os.Lstat(s.Path(p)); err != nil {
|
||||||
|
268
vendor/github.com/containerd/containerd/api/services/tasks/v1/tasks.pb.go
generated
vendored
268
vendor/github.com/containerd/containerd/api/services/tasks/v1/tasks.pb.go
generated
vendored
@ -268,7 +268,8 @@ func (*ListPidsRequest) ProtoMessage() {}
|
|||||||
func (*ListPidsRequest) Descriptor() ([]byte, []int) { return fileDescriptorTasks, []int{18} }
|
func (*ListPidsRequest) Descriptor() ([]byte, []int) { return fileDescriptorTasks, []int{18} }
|
||||||
|
|
||||||
type ListPidsResponse struct {
|
type ListPidsResponse struct {
|
||||||
Pids []uint32 `protobuf:"varint,1,rep,packed,name=pids" json:"pids,omitempty"`
|
// Processes includes the process ID and additional process information
|
||||||
|
Processes []*containerd_v1_types.ProcessInfo `protobuf:"bytes,1,rep,name=processes" json:"processes,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *ListPidsResponse) Reset() { *m = ListPidsResponse{} }
|
func (m *ListPidsResponse) Reset() { *m = ListPidsResponse{} }
|
||||||
@ -1646,22 +1647,17 @@ func (m *ListPidsResponse) MarshalTo(dAtA []byte) (int, error) {
|
|||||||
_ = i
|
_ = i
|
||||||
var l int
|
var l int
|
||||||
_ = l
|
_ = l
|
||||||
if len(m.Pids) > 0 {
|
if len(m.Processes) > 0 {
|
||||||
dAtA7 := make([]byte, len(m.Pids)*10)
|
for _, msg := range m.Processes {
|
||||||
var j6 int
|
|
||||||
for _, num := range m.Pids {
|
|
||||||
for num >= 1<<7 {
|
|
||||||
dAtA7[j6] = uint8(uint64(num)&0x7f | 0x80)
|
|
||||||
num >>= 7
|
|
||||||
j6++
|
|
||||||
}
|
|
||||||
dAtA7[j6] = uint8(num)
|
|
||||||
j6++
|
|
||||||
}
|
|
||||||
dAtA[i] = 0xa
|
dAtA[i] = 0xa
|
||||||
i++
|
i++
|
||||||
i = encodeVarintTasks(dAtA, i, uint64(j6))
|
i = encodeVarintTasks(dAtA, i, uint64(msg.Size()))
|
||||||
i += copy(dAtA[i:], dAtA7[:j6])
|
n, err := msg.MarshalTo(dAtA[i:])
|
||||||
|
if err != nil {
|
||||||
|
return 0, err
|
||||||
|
}
|
||||||
|
i += n
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return i, nil
|
return i, nil
|
||||||
}
|
}
|
||||||
@ -1697,11 +1693,11 @@ func (m *CheckpointTaskRequest) MarshalTo(dAtA []byte) (int, error) {
|
|||||||
dAtA[i] = 0x1a
|
dAtA[i] = 0x1a
|
||||||
i++
|
i++
|
||||||
i = encodeVarintTasks(dAtA, i, uint64(m.Options.Size()))
|
i = encodeVarintTasks(dAtA, i, uint64(m.Options.Size()))
|
||||||
n8, err := m.Options.MarshalTo(dAtA[i:])
|
n6, err := m.Options.MarshalTo(dAtA[i:])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
i += n8
|
i += n6
|
||||||
}
|
}
|
||||||
return i, nil
|
return i, nil
|
||||||
}
|
}
|
||||||
@ -1761,11 +1757,11 @@ func (m *UpdateTaskRequest) MarshalTo(dAtA []byte) (int, error) {
|
|||||||
dAtA[i] = 0x12
|
dAtA[i] = 0x12
|
||||||
i++
|
i++
|
||||||
i = encodeVarintTasks(dAtA, i, uint64(m.Resources.Size()))
|
i = encodeVarintTasks(dAtA, i, uint64(m.Resources.Size()))
|
||||||
n9, err := m.Resources.MarshalTo(dAtA[i:])
|
n7, err := m.Resources.MarshalTo(dAtA[i:])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
i += n9
|
i += n7
|
||||||
}
|
}
|
||||||
return i, nil
|
return i, nil
|
||||||
}
|
}
|
||||||
@ -1886,11 +1882,11 @@ func (m *WaitResponse) MarshalTo(dAtA []byte) (int, error) {
|
|||||||
dAtA[i] = 0x12
|
dAtA[i] = 0x12
|
||||||
i++
|
i++
|
||||||
i = encodeVarintTasks(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdTime(m.ExitedAt)))
|
i = encodeVarintTasks(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdTime(m.ExitedAt)))
|
||||||
n10, err := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.ExitedAt, dAtA[i:])
|
n8, err := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.ExitedAt, dAtA[i:])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
i += n10
|
i += n8
|
||||||
return i, nil
|
return i, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2213,12 +2209,11 @@ func (m *ListPidsRequest) Size() (n int) {
|
|||||||
func (m *ListPidsResponse) Size() (n int) {
|
func (m *ListPidsResponse) Size() (n int) {
|
||||||
var l int
|
var l int
|
||||||
_ = l
|
_ = l
|
||||||
if len(m.Pids) > 0 {
|
if len(m.Processes) > 0 {
|
||||||
l = 0
|
for _, e := range m.Processes {
|
||||||
for _, e := range m.Pids {
|
l = e.Size()
|
||||||
l += sovTasks(uint64(e))
|
n += 1 + l + sovTasks(uint64(l))
|
||||||
}
|
}
|
||||||
n += 1 + sovTasks(uint64(l)) + l
|
|
||||||
}
|
}
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
@ -2551,7 +2546,7 @@ func (this *ListPidsResponse) String() string {
|
|||||||
return "nil"
|
return "nil"
|
||||||
}
|
}
|
||||||
s := strings.Join([]string{`&ListPidsResponse{`,
|
s := strings.Join([]string{`&ListPidsResponse{`,
|
||||||
`Pids:` + fmt.Sprintf("%v", this.Pids) + `,`,
|
`Processes:` + strings.Replace(fmt.Sprintf("%v", this.Processes), "ProcessInfo", "containerd_v1_types.ProcessInfo", 1) + `,`,
|
||||||
`}`,
|
`}`,
|
||||||
}, "")
|
}, "")
|
||||||
return s
|
return s
|
||||||
@ -4868,8 +4863,10 @@ func (m *ListPidsResponse) Unmarshal(dAtA []byte) error {
|
|||||||
}
|
}
|
||||||
switch fieldNum {
|
switch fieldNum {
|
||||||
case 1:
|
case 1:
|
||||||
if wireType == 0 {
|
if wireType != 2 {
|
||||||
var v uint32
|
return fmt.Errorf("proto: wrong wireType = %d for field Processes", wireType)
|
||||||
|
}
|
||||||
|
var msglen int
|
||||||
for shift := uint(0); ; shift += 7 {
|
for shift := uint(0); ; shift += 7 {
|
||||||
if shift >= 64 {
|
if shift >= 64 {
|
||||||
return ErrIntOverflowTasks
|
return ErrIntOverflowTasks
|
||||||
@ -4879,56 +4876,23 @@ func (m *ListPidsResponse) Unmarshal(dAtA []byte) error {
|
|||||||
}
|
}
|
||||||
b := dAtA[iNdEx]
|
b := dAtA[iNdEx]
|
||||||
iNdEx++
|
iNdEx++
|
||||||
v |= (uint32(b) & 0x7F) << shift
|
msglen |= (int(b) & 0x7F) << shift
|
||||||
if b < 0x80 {
|
if b < 0x80 {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
m.Pids = append(m.Pids, v)
|
if msglen < 0 {
|
||||||
} else if wireType == 2 {
|
|
||||||
var packedLen int
|
|
||||||
for shift := uint(0); ; shift += 7 {
|
|
||||||
if shift >= 64 {
|
|
||||||
return ErrIntOverflowTasks
|
|
||||||
}
|
|
||||||
if iNdEx >= l {
|
|
||||||
return io.ErrUnexpectedEOF
|
|
||||||
}
|
|
||||||
b := dAtA[iNdEx]
|
|
||||||
iNdEx++
|
|
||||||
packedLen |= (int(b) & 0x7F) << shift
|
|
||||||
if b < 0x80 {
|
|
||||||
break
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if packedLen < 0 {
|
|
||||||
return ErrInvalidLengthTasks
|
return ErrInvalidLengthTasks
|
||||||
}
|
}
|
||||||
postIndex := iNdEx + packedLen
|
postIndex := iNdEx + msglen
|
||||||
if postIndex > l {
|
if postIndex > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
for iNdEx < postIndex {
|
m.Processes = append(m.Processes, &containerd_v1_types.ProcessInfo{})
|
||||||
var v uint32
|
if err := m.Processes[len(m.Processes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
||||||
for shift := uint(0); ; shift += 7 {
|
return err
|
||||||
if shift >= 64 {
|
|
||||||
return ErrIntOverflowTasks
|
|
||||||
}
|
|
||||||
if iNdEx >= l {
|
|
||||||
return io.ErrUnexpectedEOF
|
|
||||||
}
|
|
||||||
b := dAtA[iNdEx]
|
|
||||||
iNdEx++
|
|
||||||
v |= (uint32(b) & 0x7F) << shift
|
|
||||||
if b < 0x80 {
|
|
||||||
break
|
|
||||||
}
|
|
||||||
}
|
|
||||||
m.Pids = append(m.Pids, v)
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
return fmt.Errorf("proto: wrong wireType = %d for field Pids", wireType)
|
|
||||||
}
|
}
|
||||||
|
iNdEx = postIndex
|
||||||
default:
|
default:
|
||||||
iNdEx = preIndex
|
iNdEx = preIndex
|
||||||
skippy, err := skipTasks(dAtA[iNdEx:])
|
skippy, err := skipTasks(dAtA[iNdEx:])
|
||||||
@ -5761,88 +5725,88 @@ func init() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var fileDescriptorTasks = []byte{
|
var fileDescriptorTasks = []byte{
|
||||||
// 1313 bytes of a gzipped FileDescriptorProto
|
// 1317 bytes of a gzipped FileDescriptorProto
|
||||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0x5b, 0x6f, 0x1b, 0x45,
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0x5b, 0x6f, 0x1b, 0x45,
|
||||||
0x14, 0xee, 0xfa, 0xee, 0xe3, 0xa4, 0x4d, 0x86, 0x34, 0x98, 0xa5, 0x8a, 0xc3, 0x22, 0x21, 0x13,
|
0x1b, 0xee, 0xfa, 0xec, 0xd7, 0x49, 0x9b, 0xec, 0x97, 0xe6, 0x33, 0x4b, 0x15, 0x87, 0xe5, 0x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, 0xe4, 0x25,
|
||||||
0x86, 0xf9, 0x6f, 0x42, 0xef, 0x0d, 0x68, 0xb5, 0x16, 0x54, 0x23, 0x4c, 0x83, 0x7e, 0xe4, 0x62,
|
0xad, 0x60, 0xfe, 0x04, 0xf3, 0x5f, 0x87, 0xfe, 0x5b, 0xe0, 0x75, 0x2d, 0xa8, 0x46, 0x88, 0x92,
|
||||||
0x2a, 0xb8, 0x1a, 0x77, 0xa8, 0x63, 0x98, 0xb1, 0x02, 0x97, 0xef, 0x49, 0x51, 0x1b, 0xef, 0x5c,
|
0x7e, 0xe4, 0x21, 0x2a, 0xb0, 0x1a, 0x77, 0xa9, 0x63, 0x31, 0x73, 0x05, 0xae, 0x3e, 0x90, 0x04,
|
||||||
0x87, 0xb2, 0xac, 0xee, 0xf2, 0x28, 0x55, 0x3b, 0x9e, 0xf2, 0x84, 0x4a, 0xb0, 0x49, 0xad, 0x2f,
|
0x38, 0xf6, 0x5c, 0x87, 0xb2, 0x9c, 0x04, 0xf2, 0x2a, 0x55, 0x27, 0xde, 0xf2, 0xe4, 0x4b, 0x64,
|
||||||
0x2b, 0x4d, 0xac, 0xce, 0x5d, 0x3f, 0x45, 0x1f, 0x0a, 0x80, 0x1d, 0x03, 0x8d, 0x1d, 0xa8, 0x7d,
|
0x93, 0xb9, 0x50, 0x56, 0xfc, 0x59, 0xdd, 0xbb, 0x7e, 0x0a, 0x97, 0x14, 0x02, 0x4e, 0x2c, 0x68,
|
||||||
0xe7, 0x90, 0x8b, 0xef, 0x87, 0x11, 0xcc, 0xc8, 0x7d, 0x54, 0xac, 0x43, 0xda, 0x42, 0x9b, 0xac,
|
0xee, 0x40, 0xed, 0x5b, 0x17, 0x5f, 0xfe, 0xec, 0x8c, 0x60, 0x46, 0xfa, 0x51, 0xb1, 0x0e, 0xf1,
|
||||||
0x2d, 0x72, 0xaf, 0xa3, 0x2d, 0x5a, 0x2f, 0x67, 0xa0, 0x28, 0xba, 0x21, 0xda, 0x83, 0x92, 0xd4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|
||||||
0x56, 0xe0, 0xd5, 0x13, 0x99, 0x93, 0x4d, 0x86, 0x15, 0x97, 0x6e, 0x4d, 0x8d, 0x57, 0x1b, 0xb5,
|
0x29, 0x24, 0x13, 0xdc, 0x0a, 0xbc, 0xd3, 0xea, 0xd6, 0x64, 0x95, 0x61, 0x76, 0x66, 0xd8, 0x53,
|
||||||
0xa1, 0xc0, 0x05, 0x14, 0xca, 0x88, 0x2d, 0x25, 0xb2, 0xf4, 0xc5, 0x91, 0xe4, 0xde, 0xe0, 0x3f,
|
0xcb, 0x2b, 0x47, 0x6d, 0x28, 0x70, 0xb2, 0xa5, 0x67, 0xc4, 0x96, 0x22, 0x64, 0xc6, 0xe2, 0x48,
|
||||||
0xc0, 0xd1, 0x16, 0x14, 0xf8, 0x53, 0x42, 0x19, 0x79, 0x38, 0x2a, 0x8e, 0xc6, 0x7a, 0x7c, 0x08,
|
0x72, 0x6f, 0xf0, 0x1f, 0xeb, 0xfa, 0x16, 0x14, 0x78, 0x29, 0xe9, 0x19, 0x79, 0x38, 0x4a, 0xa4,
|
||||||
0xd5, 0x44, 0x37, 0x64, 0x51, 0x31, 0x2c, 0x30, 0xc6, 0x3a, 0xbd, 0x0f, 0x65, 0xd5, 0xf1, 0x51,
|
0xc6, 0x5a, 0x7c, 0x0c, 0xd5, 0x84, 0x63, 0x64, 0x41, 0x31, 0x4c, 0x46, 0xc6, 0x1a, 0x7d, 0x08,
|
||||||
0xc6, 0x7d, 0x9f, 0x14, 0x06, 0x13, 0x1c, 0x16, 0x45, 0x07, 0xcf, 0x8a, 0x70, 0xb8, 0xcd, 0x8f,
|
0x65, 0xc5, 0x0e, 0xf4, 0x8c, 0xf7, 0x3e, 0x49, 0x22, 0x26, 0x18, 0x2c, 0x8a, 0x69, 0x9f, 0x15,
|
||||||
0x75, 0xf8, 0x00, 0x4a, 0xb2, 0x95, 0x67, 0x3d, 0x9a, 0x91, 0x86, 0x3f, 0xd6, 0x25, 0x81, 0x4a,
|
0xe1, 0x30, 0x25, 0x18, 0x6b, 0xf0, 0x11, 0x94, 0xe4, 0xd8, 0xcf, 0x2a, 0x9a, 0x11, 0x72, 0x30,
|
||||||
0xdc, 0x8d, 0xd1, 0xf5, 0xec, 0x1c, 0x49, 0x35, 0x7f, 0xdd, 0x9c, 0x16, 0xae, 0x32, 0xea, 0x19,
|
0xd6, 0x24, 0x86, 0x4a, 0x3c, 0xb9, 0xf5, 0x9b, 0xd9, 0x39, 0x92, 0x22, 0x0a, 0x86, 0x35, 0xad,
|
||||||
0x40, 0xaa, 0x5f, 0xde, 0xcc, 0xa0, 0xf8, 0xb4, 0xce, 0xaf, 0x7f, 0x7a, 0x36, 0x23, 0xb5, 0xf1,
|
0xb8, 0xca, 0xa8, 0x17, 0x00, 0xa9, 0x79, 0x79, 0x3b, 0x03, 0xe2, 0xd3, 0x26, 0xbf, 0xf1, 0xc9,
|
||||||
0x03, 0x28, 0xc9, 0x86, 0x98, 0x45, 0xdb, 0x48, 0xdb, 0x1c, 0x4b, 0xdb, 0x0e, 0x94, 0x55, 0xeb,
|
0xd9, 0x94, 0x94, 0xe3, 0x47, 0x50, 0x92, 0x03, 0x31, 0x0b, 0xb6, 0x91, 0xb1, 0x39, 0x16, 0xb6,
|
||||||
0xca, 0xca, 0x95, 0x93, 0xdd, 0x50, 0xbf, 0x3e, 0x25, 0x5a, 0x85, 0xfe, 0x03, 0x14, 0x78, 0xcf,
|
0x1d, 0x28, 0xab, 0xd1, 0x95, 0x95, 0x2b, 0x27, 0xa7, 0xa1, 0x71, 0x73, 0x4a, 0x69, 0x15, 0xfa,
|
||||||
0xc9, 0x7a, 0x85, 0xa9, 0xfe, 0xa7, 0xaf, 0x4c, 0x03, 0x95, 0xee, 0x57, 0xbf, 0x3d, 0x7c, 0xb5,
|
0xf7, 0x50, 0xe0, 0x33, 0x27, 0xab, 0x0a, 0x53, 0xf3, 0xcf, 0x58, 0x99, 0x46, 0x54, 0x9a, 0x5f,
|
||||||
0x74, 0xe9, 0xcf, 0x57, 0x4b, 0x97, 0x7e, 0x1d, 0x2c, 0x69, 0x87, 0x83, 0x25, 0xed, 0x8f, 0xc1,
|
0xfd, 0xe6, 0xf0, 0xcd, 0xd2, 0x95, 0x3f, 0xde, 0x2c, 0x5d, 0xf9, 0x65, 0xb0, 0xa4, 0x1d, 0x0e,
|
||||||
0x92, 0xf6, 0xcf, 0x60, 0x49, 0x7b, 0x7c, 0xe7, 0xf5, 0xfe, 0x5a, 0x77, 0x5b, 0x0c, 0x9e, 0x94,
|
0x96, 0xb4, 0xdf, 0x07, 0x4b, 0xda, 0xdf, 0x83, 0x25, 0xed, 0xe9, 0xbd, 0xf3, 0xfd, 0x65, 0xef,
|
||||||
0x04, 0x5d, 0x37, 0xff, 0x0b, 0x00, 0x00, 0xff, 0xff, 0xe9, 0xe2, 0x8e, 0x41, 0xf4, 0x13, 0x00,
|
0xae, 0x58, 0x3c, 0x2b, 0x09, 0xb8, 0x6e, 0xff, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x67, 0xc5, 0x63,
|
||||||
0x00,
|
0x32, 0x20, 0x14, 0x00, 0x00,
|
||||||
}
|
}
|
||||||
|
5
vendor/github.com/containerd/containerd/api/services/tasks/v1/tasks.proto
generated
vendored
5
vendor/github.com/containerd/containerd/api/services/tasks/v1/tasks.proto
generated
vendored
@ -170,8 +170,9 @@ message ListPidsRequest {
|
|||||||
string container_id = 1;
|
string container_id = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
message ListPidsResponse{
|
message ListPidsResponse {
|
||||||
repeated uint32 pids = 1;
|
// Processes includes the process ID and additional process information
|
||||||
|
repeated containerd.v1.types.ProcessInfo processes = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
message CheckpointTaskRequest {
|
message CheckpointTaskRequest {
|
||||||
|
243
vendor/github.com/containerd/containerd/api/types/task/task.pb.go
generated
vendored
243
vendor/github.com/containerd/containerd/api/types/task/task.pb.go
generated
vendored
@ -10,6 +10,7 @@
|
|||||||
|
|
||||||
It has these top-level messages:
|
It has these top-level messages:
|
||||||
Process
|
Process
|
||||||
|
ProcessInfo
|
||||||
*/
|
*/
|
||||||
package task
|
package task
|
||||||
|
|
||||||
@ -18,6 +19,7 @@ import fmt "fmt"
|
|||||||
import math "math"
|
import math "math"
|
||||||
import _ "github.com/gogo/protobuf/gogoproto"
|
import _ "github.com/gogo/protobuf/gogoproto"
|
||||||
import _ "github.com/gogo/protobuf/types"
|
import _ "github.com/gogo/protobuf/types"
|
||||||
|
import google_protobuf2 "github.com/gogo/protobuf/types"
|
||||||
|
|
||||||
import time "time"
|
import time "time"
|
||||||
|
|
||||||
@ -90,8 +92,22 @@ func (m *Process) Reset() { *m = Process{} }
|
|||||||
func (*Process) ProtoMessage() {}
|
func (*Process) ProtoMessage() {}
|
||||||
func (*Process) Descriptor() ([]byte, []int) { return fileDescriptorTask, []int{0} }
|
func (*Process) Descriptor() ([]byte, []int) { return fileDescriptorTask, []int{0} }
|
||||||
|
|
||||||
|
type ProcessInfo struct {
|
||||||
|
// PID is the process ID.
|
||||||
|
Pid uint32 `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"`
|
||||||
|
// Info contains additional process information.
|
||||||
|
//
|
||||||
|
// Info varies by platform.
|
||||||
|
Info *google_protobuf2.Any `protobuf:"bytes,2,opt,name=info" json:"info,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *ProcessInfo) Reset() { *m = ProcessInfo{} }
|
||||||
|
func (*ProcessInfo) ProtoMessage() {}
|
||||||
|
func (*ProcessInfo) Descriptor() ([]byte, []int) { return fileDescriptorTask, []int{1} }
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
proto.RegisterType((*Process)(nil), "containerd.v1.types.Process")
|
proto.RegisterType((*Process)(nil), "containerd.v1.types.Process")
|
||||||
|
proto.RegisterType((*ProcessInfo)(nil), "containerd.v1.types.ProcessInfo")
|
||||||
proto.RegisterEnum("containerd.v1.types.Status", Status_name, Status_value)
|
proto.RegisterEnum("containerd.v1.types.Status", Status_name, Status_value)
|
||||||
}
|
}
|
||||||
func (m *Process) Marshal() (dAtA []byte, err error) {
|
func (m *Process) Marshal() (dAtA []byte, err error) {
|
||||||
@ -175,6 +191,39 @@ func (m *Process) MarshalTo(dAtA []byte) (int, error) {
|
|||||||
return i, nil
|
return i, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (m *ProcessInfo) Marshal() (dAtA []byte, err error) {
|
||||||
|
size := m.Size()
|
||||||
|
dAtA = make([]byte, size)
|
||||||
|
n, err := m.MarshalTo(dAtA)
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
return dAtA[:n], nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *ProcessInfo) MarshalTo(dAtA []byte) (int, error) {
|
||||||
|
var i int
|
||||||
|
_ = i
|
||||||
|
var l int
|
||||||
|
_ = l
|
||||||
|
if m.Pid != 0 {
|
||||||
|
dAtA[i] = 0x8
|
||||||
|
i++
|
||||||
|
i = encodeVarintTask(dAtA, i, uint64(m.Pid))
|
||||||
|
}
|
||||||
|
if m.Info != nil {
|
||||||
|
dAtA[i] = 0x12
|
||||||
|
i++
|
||||||
|
i = encodeVarintTask(dAtA, i, uint64(m.Info.Size()))
|
||||||
|
n2, err := m.Info.MarshalTo(dAtA[i:])
|
||||||
|
if err != nil {
|
||||||
|
return 0, err
|
||||||
|
}
|
||||||
|
i += n2
|
||||||
|
}
|
||||||
|
return i, nil
|
||||||
|
}
|
||||||
|
|
||||||
func encodeFixed64Task(dAtA []byte, offset int, v uint64) int {
|
func encodeFixed64Task(dAtA []byte, offset int, v uint64) int {
|
||||||
dAtA[offset] = uint8(v)
|
dAtA[offset] = uint8(v)
|
||||||
dAtA[offset+1] = uint8(v >> 8)
|
dAtA[offset+1] = uint8(v >> 8)
|
||||||
@ -242,6 +291,19 @@ func (m *Process) Size() (n int) {
|
|||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (m *ProcessInfo) Size() (n int) {
|
||||||
|
var l int
|
||||||
|
_ = l
|
||||||
|
if m.Pid != 0 {
|
||||||
|
n += 1 + sovTask(uint64(m.Pid))
|
||||||
|
}
|
||||||
|
if m.Info != nil {
|
||||||
|
l = m.Info.Size()
|
||||||
|
n += 1 + l + sovTask(uint64(l))
|
||||||
|
}
|
||||||
|
return n
|
||||||
|
}
|
||||||
|
|
||||||
func sovTask(x uint64) (n int) {
|
func sovTask(x uint64) (n int) {
|
||||||
for {
|
for {
|
||||||
n++
|
n++
|
||||||
@ -274,6 +336,17 @@ func (this *Process) String() string {
|
|||||||
}, "")
|
}, "")
|
||||||
return s
|
return s
|
||||||
}
|
}
|
||||||
|
func (this *ProcessInfo) String() string {
|
||||||
|
if this == nil {
|
||||||
|
return "nil"
|
||||||
|
}
|
||||||
|
s := strings.Join([]string{`&ProcessInfo{`,
|
||||||
|
`Pid:` + fmt.Sprintf("%v", this.Pid) + `,`,
|
||||||
|
`Info:` + strings.Replace(fmt.Sprintf("%v", this.Info), "Any", "google_protobuf2.Any", 1) + `,`,
|
||||||
|
`}`,
|
||||||
|
}, "")
|
||||||
|
return s
|
||||||
|
}
|
||||||
func valueToStringTask(v interface{}) string {
|
func valueToStringTask(v interface{}) string {
|
||||||
rv := reflect.ValueOf(v)
|
rv := reflect.ValueOf(v)
|
||||||
if rv.IsNil() {
|
if rv.IsNil() {
|
||||||
@ -584,6 +657,108 @@ func (m *Process) Unmarshal(dAtA []byte) error {
|
|||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
func (m *ProcessInfo) Unmarshal(dAtA []byte) error {
|
||||||
|
l := len(dAtA)
|
||||||
|
iNdEx := 0
|
||||||
|
for iNdEx < l {
|
||||||
|
preIndex := iNdEx
|
||||||
|
var wire uint64
|
||||||
|
for shift := uint(0); ; shift += 7 {
|
||||||
|
if shift >= 64 {
|
||||||
|
return ErrIntOverflowTask
|
||||||
|
}
|
||||||
|
if iNdEx >= l {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
b := dAtA[iNdEx]
|
||||||
|
iNdEx++
|
||||||
|
wire |= (uint64(b) & 0x7F) << shift
|
||||||
|
if b < 0x80 {
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
fieldNum := int32(wire >> 3)
|
||||||
|
wireType := int(wire & 0x7)
|
||||||
|
if wireType == 4 {
|
||||||
|
return fmt.Errorf("proto: ProcessInfo: wiretype end group for non-group")
|
||||||
|
}
|
||||||
|
if fieldNum <= 0 {
|
||||||
|
return fmt.Errorf("proto: ProcessInfo: illegal tag %d (wire type %d)", fieldNum, wire)
|
||||||
|
}
|
||||||
|
switch fieldNum {
|
||||||
|
case 1:
|
||||||
|
if wireType != 0 {
|
||||||
|
return fmt.Errorf("proto: wrong wireType = %d for field Pid", wireType)
|
||||||
|
}
|
||||||
|
m.Pid = 0
|
||||||
|
for shift := uint(0); ; shift += 7 {
|
||||||
|
if shift >= 64 {
|
||||||
|
return ErrIntOverflowTask
|
||||||
|
}
|
||||||
|
if iNdEx >= l {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
b := dAtA[iNdEx]
|
||||||
|
iNdEx++
|
||||||
|
m.Pid |= (uint32(b) & 0x7F) << shift
|
||||||
|
if b < 0x80 {
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 2:
|
||||||
|
if wireType != 2 {
|
||||||
|
return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType)
|
||||||
|
}
|
||||||
|
var msglen int
|
||||||
|
for shift := uint(0); ; shift += 7 {
|
||||||
|
if shift >= 64 {
|
||||||
|
return ErrIntOverflowTask
|
||||||
|
}
|
||||||
|
if iNdEx >= l {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
b := dAtA[iNdEx]
|
||||||
|
iNdEx++
|
||||||
|
msglen |= (int(b) & 0x7F) << shift
|
||||||
|
if b < 0x80 {
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if msglen < 0 {
|
||||||
|
return ErrInvalidLengthTask
|
||||||
|
}
|
||||||
|
postIndex := iNdEx + msglen
|
||||||
|
if postIndex > l {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
if m.Info == nil {
|
||||||
|
m.Info = &google_protobuf2.Any{}
|
||||||
|
}
|
||||||
|
if err := m.Info.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
iNdEx = postIndex
|
||||||
|
default:
|
||||||
|
iNdEx = preIndex
|
||||||
|
skippy, err := skipTask(dAtA[iNdEx:])
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
if skippy < 0 {
|
||||||
|
return ErrInvalidLengthTask
|
||||||
|
}
|
||||||
|
if (iNdEx + skippy) > l {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
iNdEx += skippy
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if iNdEx > l {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
func skipTask(dAtA []byte) (n int, err error) {
|
func skipTask(dAtA []byte) (n int, err error) {
|
||||||
l := len(dAtA)
|
l := len(dAtA)
|
||||||
iNdEx := 0
|
iNdEx := 0
|
||||||
@ -694,37 +869,39 @@ func init() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var fileDescriptorTask = []byte{
|
var fileDescriptorTask = []byte{
|
||||||
// 503 bytes of a gzipped FileDescriptorProto
|
// 543 bytes of a gzipped FileDescriptorProto
|
||||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x90, 0x3d, 0x6f, 0xd3, 0x40,
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x90, 0xcf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xec, 0xea, 0x35, 0x7d,
|
0x72, 0x35, 0x1a, 0x0d, 0x07, 0xf2, 0xd1, 0x21, 0x1f, 0x33, 0x1a, 0xc7, 0x28, 0x54, 0x9e, 0x42,
|
||||||
0x73, 0x73, 0x6f, 0xd7, 0x7e, 0xdd, 0xdb, 0xb5, 0x4f, 0xb9, 0x0d, 0x36, 0xb9, 0x0d, 0x7e, 0xe4,
|
0x71, 0xd4, 0x9d, 0x8e, 0x87, 0x03, 0xf9, 0x58, 0x93, 0x6f, 0xef, 0xcc, 0x93, 0x12, 0x8f, 0x82,
|
||||||
0x36, 0xf8, 0x93, 0xdb, 0x60, 0xa9, 0x17, 0xab, 0xb9, 0xfc, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x14,
|
0x2c, 0x2d, 0xa7, 0x73, 0xca, 0xa7, 0xd7, 0x0f, 0x6f, 0x73, 0x8c, 0x49, 0xa4, 0x9d, 0x7d, 0xfc,
|
||||||
0xf3, 0xee, 0x85, 0xe8, 0x02, 0x00, 0x00,
|
0xac, 0xd7, 0xbe, 0x7e, 0xd1, 0xab, 0xdf, 0xf4, 0xd4, 0xcd, 0xbd, 0x5e, 0xfb, 0x71, 0xaf, 0xd7,
|
||||||
|
0x3e, 0xe4, 0x3a, 0xd8, 0xe4, 0x3a, 0xf8, 0x96, 0xeb, 0xe0, 0x57, 0xae, 0x83, 0xb9, 0x58, 0xc4,
|
||||||
|
0x70, 0xf9, 0x3b, 0x00, 0x00, 0xff, 0xff, 0x19, 0xf7, 0x5b, 0x8f, 0x4e, 0x03, 0x00, 0x00,
|
||||||
}
|
}
|
||||||
|
10
vendor/github.com/containerd/containerd/api/types/task/task.proto
generated
vendored
10
vendor/github.com/containerd/containerd/api/types/task/task.proto
generated
vendored
@ -4,6 +4,7 @@ package containerd.v1.types;
|
|||||||
|
|
||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
import "google/protobuf/timestamp.proto";
|
import "google/protobuf/timestamp.proto";
|
||||||
|
import "google/protobuf/any.proto";
|
||||||
|
|
||||||
enum Status {
|
enum Status {
|
||||||
option (gogoproto.goproto_enum_prefix) = false;
|
option (gogoproto.goproto_enum_prefix) = false;
|
||||||
@ -29,3 +30,12 @@ message Process {
|
|||||||
uint32 exit_status = 9;
|
uint32 exit_status = 9;
|
||||||
google.protobuf.Timestamp exited_at = 10 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false];
|
google.protobuf.Timestamp exited_at = 10 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message ProcessInfo {
|
||||||
|
// PID is the process ID.
|
||||||
|
uint32 pid = 1;
|
||||||
|
// Info contains additional process information.
|
||||||
|
//
|
||||||
|
// Info varies by platform.
|
||||||
|
google.protobuf.Any info = 2;
|
||||||
|
}
|
||||||
|
3
vendor/github.com/containerd/containerd/container.go
generated
vendored
3
vendor/github.com/containerd/containerd/container.go
generated
vendored
@ -32,6 +32,9 @@ type Container interface {
|
|||||||
//
|
//
|
||||||
// If IOAttach options are passed the client will reattach to the IO for the running
|
// If IOAttach options are passed the client will reattach to the IO for the running
|
||||||
// task. If no task exists for the container a NotFound error is returned
|
// task. If no task exists for the container a NotFound error is returned
|
||||||
|
//
|
||||||
|
// Clients must make sure that only one reader is attached to the task and consuming
|
||||||
|
// the output from the task's fifos
|
||||||
Task(context.Context, IOAttach) (Task, error)
|
Task(context.Context, IOAttach) (Task, error)
|
||||||
// Image returns the image that the container is based on
|
// Image returns the image that the container is based on
|
||||||
Image(context.Context) (Image, error)
|
Image(context.Context) (Image, error)
|
||||||
|
4
vendor/github.com/containerd/containerd/io.go
generated
vendored
4
vendor/github.com/containerd/containerd/io.go
generated
vendored
@ -68,6 +68,10 @@ func (c *cio) Close() error {
|
|||||||
type IOCreation func(id string) (IO, error)
|
type IOCreation func(id string) (IO, error)
|
||||||
|
|
||||||
// IOAttach allows callers to reattach to running tasks
|
// IOAttach allows callers to reattach to running tasks
|
||||||
|
//
|
||||||
|
// There should only be one reader for a task's IO set
|
||||||
|
// because fifo's can only be read from one reader or the output
|
||||||
|
// will be sent only to the first reads
|
||||||
type IOAttach func(*FIFOSet) (IO, error)
|
type IOAttach func(*FIFOSet) (IO, error)
|
||||||
|
|
||||||
// NewIO returns an IOCreation that will provide IO sets without a terminal
|
// NewIO returns an IOCreation that will provide IO sets without a terminal
|
||||||
|
121
vendor/github.com/containerd/containerd/linux/runcopts/runc.pb.go
generated
vendored
121
vendor/github.com/containerd/containerd/linux/runcopts/runc.pb.go
generated
vendored
@ -57,6 +57,8 @@ type CreateOptions struct {
|
|||||||
CgroupsMode string `protobuf:"bytes,7,opt,name=cgroups_mode,json=cgroupsMode,proto3" json:"cgroups_mode,omitempty"`
|
CgroupsMode string `protobuf:"bytes,7,opt,name=cgroups_mode,json=cgroupsMode,proto3" json:"cgroups_mode,omitempty"`
|
||||||
NoNewKeyring bool `protobuf:"varint,8,opt,name=no_new_keyring,json=noNewKeyring,proto3" json:"no_new_keyring,omitempty"`
|
NoNewKeyring bool `protobuf:"varint,8,opt,name=no_new_keyring,json=noNewKeyring,proto3" json:"no_new_keyring,omitempty"`
|
||||||
ShimCgroup string `protobuf:"bytes,9,opt,name=shim_cgroup,json=shimCgroup,proto3" json:"shim_cgroup,omitempty"`
|
ShimCgroup string `protobuf:"bytes,9,opt,name=shim_cgroup,json=shimCgroup,proto3" json:"shim_cgroup,omitempty"`
|
||||||
|
IoUid uint32 `protobuf:"varint,10,opt,name=io_uid,json=ioUid,proto3" json:"io_uid,omitempty"`
|
||||||
|
IoGid uint32 `protobuf:"varint,11,opt,name=io_gid,json=ioGid,proto3" json:"io_gid,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *CreateOptions) Reset() { *m = CreateOptions{} }
|
func (m *CreateOptions) Reset() { *m = CreateOptions{} }
|
||||||
@ -230,6 +232,16 @@ func (m *CreateOptions) MarshalTo(dAtA []byte) (int, error) {
|
|||||||
i = encodeVarintRunc(dAtA, i, uint64(len(m.ShimCgroup)))
|
i = encodeVarintRunc(dAtA, i, uint64(len(m.ShimCgroup)))
|
||||||
i += copy(dAtA[i:], m.ShimCgroup)
|
i += copy(dAtA[i:], m.ShimCgroup)
|
||||||
}
|
}
|
||||||
|
if m.IoUid != 0 {
|
||||||
|
dAtA[i] = 0x50
|
||||||
|
i++
|
||||||
|
i = encodeVarintRunc(dAtA, i, uint64(m.IoUid))
|
||||||
|
}
|
||||||
|
if m.IoGid != 0 {
|
||||||
|
dAtA[i] = 0x58
|
||||||
|
i++
|
||||||
|
i = encodeVarintRunc(dAtA, i, uint64(m.IoGid))
|
||||||
|
}
|
||||||
return i, nil
|
return i, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -405,6 +417,12 @@ func (m *CreateOptions) Size() (n int) {
|
|||||||
if l > 0 {
|
if l > 0 {
|
||||||
n += 1 + l + sovRunc(uint64(l))
|
n += 1 + l + sovRunc(uint64(l))
|
||||||
}
|
}
|
||||||
|
if m.IoUid != 0 {
|
||||||
|
n += 1 + sovRunc(uint64(m.IoUid))
|
||||||
|
}
|
||||||
|
if m.IoGid != 0 {
|
||||||
|
n += 1 + sovRunc(uint64(m.IoGid))
|
||||||
|
}
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -479,6 +497,8 @@ func (this *CreateOptions) String() string {
|
|||||||
`CgroupsMode:` + fmt.Sprintf("%v", this.CgroupsMode) + `,`,
|
`CgroupsMode:` + fmt.Sprintf("%v", this.CgroupsMode) + `,`,
|
||||||
`NoNewKeyring:` + fmt.Sprintf("%v", this.NoNewKeyring) + `,`,
|
`NoNewKeyring:` + fmt.Sprintf("%v", this.NoNewKeyring) + `,`,
|
||||||
`ShimCgroup:` + fmt.Sprintf("%v", this.ShimCgroup) + `,`,
|
`ShimCgroup:` + fmt.Sprintf("%v", this.ShimCgroup) + `,`,
|
||||||
|
`IoUid:` + fmt.Sprintf("%v", this.IoUid) + `,`,
|
||||||
|
`IoGid:` + fmt.Sprintf("%v", this.IoGid) + `,`,
|
||||||
`}`,
|
`}`,
|
||||||
}, "")
|
}, "")
|
||||||
return s
|
return s
|
||||||
@ -900,6 +920,44 @@ func (m *CreateOptions) Unmarshal(dAtA []byte) error {
|
|||||||
}
|
}
|
||||||
m.ShimCgroup = string(dAtA[iNdEx:postIndex])
|
m.ShimCgroup = string(dAtA[iNdEx:postIndex])
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
|
case 10:
|
||||||
|
if wireType != 0 {
|
||||||
|
return fmt.Errorf("proto: wrong wireType = %d for field IoUid", wireType)
|
||||||
|
}
|
||||||
|
m.IoUid = 0
|
||||||
|
for shift := uint(0); ; shift += 7 {
|
||||||
|
if shift >= 64 {
|
||||||
|
return ErrIntOverflowRunc
|
||||||
|
}
|
||||||
|
if iNdEx >= l {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
b := dAtA[iNdEx]
|
||||||
|
iNdEx++
|
||||||
|
m.IoUid |= (uint32(b) & 0x7F) << shift
|
||||||
|
if b < 0x80 {
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 11:
|
||||||
|
if wireType != 0 {
|
||||||
|
return fmt.Errorf("proto: wrong wireType = %d for field IoGid", wireType)
|
||||||
|
}
|
||||||
|
m.IoGid = 0
|
||||||
|
for shift := uint(0); ; shift += 7 {
|
||||||
|
if shift >= 64 {
|
||||||
|
return ErrIntOverflowRunc
|
||||||
|
}
|
||||||
|
if iNdEx >= l {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
b := dAtA[iNdEx]
|
||||||
|
iNdEx++
|
||||||
|
m.IoGid |= (uint32(b) & 0x7F) << shift
|
||||||
|
if b < 0x80 {
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
iNdEx = preIndex
|
iNdEx = preIndex
|
||||||
skippy, err := skipRunc(dAtA[iNdEx:])
|
skippy, err := skipRunc(dAtA[iNdEx:])
|
||||||
@ -1239,35 +1297,36 @@ func init() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var fileDescriptorRunc = []byte{
|
var fileDescriptorRunc = []byte{
|
||||||
// 467 bytes of a gzipped FileDescriptorProto
|
// 495 bytes of a gzipped FileDescriptorProto
|
||||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x93, 0x41, 0x6f, 0xd3, 0x40,
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x93, 0x31, 0x6f, 0xd3, 0x40,
|
||||||
0x10, 0x85, 0xbb, 0x6d, 0x69, 0x9d, 0x4d, 0x53, 0x60, 0xa1, 0x92, 0x29, 0xc2, 0x84, 0x08, 0xa4,
|
0x14, 0xc7, 0x7b, 0xb4, 0x4d, 0x9c, 0x4b, 0x53, 0xe0, 0x20, 0xd2, 0x51, 0x84, 0x09, 0x11, 0x48,
|
||||||
0x70, 0x49, 0x24, 0xb8, 0x20, 0xb8, 0x91, 0x23, 0x50, 0x2a, 0x03, 0x17, 0x2e, 0x2b, 0x77, 0x33,
|
0x61, 0x49, 0x24, 0x58, 0x10, 0x6c, 0x64, 0x60, 0x00, 0x4a, 0x65, 0xe8, 0xc2, 0x72, 0x72, 0xcf,
|
||||||
0x24, 0xab, 0xd8, 0x33, 0xab, 0xdd, 0x35, 0x75, 0x6e, 0xfc, 0x02, 0x7e, 0x57, 0x8f, 0x88, 0x13,
|
0x87, 0xf3, 0x94, 0xf8, 0xde, 0xe9, 0xee, 0x4c, 0x93, 0xad, 0x9f, 0x80, 0xcf, 0xd5, 0x91, 0x91,
|
||||||
0x47, 0x9a, 0x3f, 0x02, 0xf2, 0xda, 0x2e, 0x5c, 0xb9, 0x72, 0x7b, 0xf3, 0xbd, 0xb1, 0xe7, 0xe9,
|
0x91, 0xe6, 0x8b, 0x80, 0x7c, 0xb6, 0x0b, 0x2b,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xd0, 0xdb, 0xf3, 0x85, 0x92, 0x4b, 0x83, 0xa0,
|
||||||
0xc2, 0xbe, 0x6d, 0x12, 0xf6, 0x73, 0x93, 0xb0, 0x8f, 0xcf, 0xfe, 0xf1, 0xa9, 0xbd, 0xe8, 0xc4,
|
0x7d, 0xfb, 0x0c, 0x8c, 0xee, 0xa9, 0x35, 0xb4, 0xe9, 0x07, 0xfd, 0xbf, 0xc6, 0xfe, 0x3a, 0xb9,
|
||||||
0xd9, 0x5e, 0x78, 0x42, 0x4f, 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0xe6, 0x26, 0x29, 0x60, 0xad,
|
0xbc, 0x8a, 0x77, 0x7e, 0x5c, 0xc5, 0x3b, 0x17, 0xdb, 0x98, 0x5c, 0x6e, 0x63, 0xf2, 0x7d, 0x1b,
|
||||||
0x03, 0x00, 0x00,
|
0x93, 0x9f, 0xdb, 0x98, 0x7c, 0x7e, 0xf1, 0x8f, 0x87, 0xf9, 0xaa, 0x15, 0x67, 0x9d, 0x70, 0x70,
|
||||||
|
0xcf, 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0xbe, 0xbb, 0xf0, 0x6c, 0xdb, 0x03, 0x00, 0x00,
|
||||||
}
|
}
|
||||||
|
2
vendor/github.com/containerd/containerd/linux/runcopts/runc.proto
generated
vendored
2
vendor/github.com/containerd/containerd/linux/runcopts/runc.proto
generated
vendored
@ -23,6 +23,8 @@ message CreateOptions {
|
|||||||
string cgroups_mode = 7;
|
string cgroups_mode = 7;
|
||||||
bool no_new_keyring = 8;
|
bool no_new_keyring = 8;
|
||||||
string shim_cgroup = 9;
|
string shim_cgroup = 9;
|
||||||
|
uint32 io_uid = 10;
|
||||||
|
uint32 io_gid = 11;
|
||||||
}
|
}
|
||||||
|
|
||||||
message CheckpointOptions {
|
message CheckpointOptions {
|
||||||
|
22
vendor/github.com/containerd/containerd/metadata/db.go
generated
vendored
22
vendor/github.com/containerd/containerd/metadata/db.go
generated
vendored
@ -27,12 +27,19 @@ const (
|
|||||||
dbVersion = 1
|
dbVersion = 1
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// DB represents a metadata database backed by a bolt
|
||||||
|
// database. The database is fully namespaced and stores
|
||||||
|
// image, container, namespace, snapshot, and content data
|
||||||
|
// while proxying data shared across namespaces to backend
|
||||||
|
// datastores for content and snapshots.
|
||||||
type DB struct {
|
type DB struct {
|
||||||
db *bolt.DB
|
db *bolt.DB
|
||||||
ss map[string]snapshot.Snapshotter
|
ss map[string]snapshot.Snapshotter
|
||||||
cs content.Store
|
cs content.Store
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// NewDB creates a new metadata database using the provided
|
||||||
|
// bolt database, content store, and snapshotters.
|
||||||
func NewDB(db *bolt.DB, cs content.Store, ss map[string]snapshot.Snapshotter) *DB {
|
func NewDB(db *bolt.DB, cs content.Store, ss map[string]snapshot.Snapshotter) *DB {
|
||||||
return &DB{
|
return &DB{
|
||||||
db: db,
|
db: db,
|
||||||
@ -41,6 +48,8 @@ func NewDB(db *bolt.DB, cs content.Store, ss map[string]snapshot.Snapshotter) *D
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Init ensures the database is at the correct version
|
||||||
|
// and performs any needed migrations.
|
||||||
func (m *DB) Init(ctx context.Context) error {
|
func (m *DB) Init(ctx context.Context) error {
|
||||||
// errSkip is used when no migration or version needs to be written
|
// errSkip is used when no migration or version needs to be written
|
||||||
// to the database and the transaction can be immediately rolled
|
// to the database and the transaction can be immediately rolled
|
||||||
@ -54,7 +63,14 @@ func (m *DB) Init(ctx context.Context) error {
|
|||||||
version = 0
|
version = 0
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// i represents the index of the first migration
|
||||||
|
// which must be run to get the database up to date.
|
||||||
|
// The migration's version will be checked in reverse
|
||||||
|
// order, decrementing i for each migration which
|
||||||
|
// represents a version newer than the current
|
||||||
|
// database version
|
||||||
i := len(migrations)
|
i := len(migrations)
|
||||||
|
|
||||||
for ; i > 0; i-- {
|
for ; i > 0; i-- {
|
||||||
migration := migrations[i-1]
|
migration := migrations[i-1]
|
||||||
|
|
||||||
@ -116,6 +132,8 @@ func (m *DB) Init(ctx context.Context) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ContentStore returns a namespaced content store
|
||||||
|
// proxied to a content store.
|
||||||
func (m *DB) ContentStore() content.Store {
|
func (m *DB) ContentStore() content.Store {
|
||||||
if m.cs == nil {
|
if m.cs == nil {
|
||||||
return nil
|
return nil
|
||||||
@ -123,6 +141,8 @@ func (m *DB) ContentStore() content.Store {
|
|||||||
return newContentStore(m, m.cs)
|
return newContentStore(m, m.cs)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Snapshotter returns a namespaced content store for
|
||||||
|
// the requested snapshotter name proxied to a snapshotter.
|
||||||
func (m *DB) Snapshotter(name string) snapshot.Snapshotter {
|
func (m *DB) Snapshotter(name string) snapshot.Snapshotter {
|
||||||
sn, ok := m.ss[name]
|
sn, ok := m.ss[name]
|
||||||
if !ok {
|
if !ok {
|
||||||
@ -131,10 +151,12 @@ func (m *DB) Snapshotter(name string) snapshot.Snapshotter {
|
|||||||
return newSnapshotter(m, name, sn)
|
return newSnapshotter(m, name, sn)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// View runs a readonly transaction on the metadata store.
|
||||||
func (m *DB) View(fn func(*bolt.Tx) error) error {
|
func (m *DB) View(fn func(*bolt.Tx) error) error {
|
||||||
return m.db.View(fn)
|
return m.db.View(fn)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Update runs a writable transation on the metadata store.
|
||||||
func (m *DB) Update(fn func(*bolt.Tx) error) error {
|
func (m *DB) Update(fn func(*bolt.Tx) error) error {
|
||||||
return m.db.Update(fn)
|
return m.db.Update(fn)
|
||||||
}
|
}
|
||||||
|
10
vendor/github.com/containerd/containerd/metadata/migrations.go
generated
vendored
10
vendor/github.com/containerd/containerd/metadata/migrations.go
generated
vendored
@ -8,6 +8,16 @@ type migration struct {
|
|||||||
migrate func(*bolt.Tx) error
|
migrate func(*bolt.Tx) error
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// migrations stores the list of database migrations
|
||||||
|
// for each update to the database schema. The migrations
|
||||||
|
// array MUST be ordered by version from least to greatest.
|
||||||
|
// The last entry in the array should correspond to the
|
||||||
|
// schemaVersion and dbVersion constants.
|
||||||
|
// A migration test MUST be added for each migration in
|
||||||
|
// the array.
|
||||||
|
// The migrate function can safely assume the version
|
||||||
|
// of the data it is migrating from is the previous version
|
||||||
|
// of the database.
|
||||||
var migrations = []migration{
|
var migrations = []migration{
|
||||||
{
|
{
|
||||||
schema: "v1",
|
schema: "v1",
|
||||||
|
11
vendor/github.com/containerd/containerd/mount/lookup_unix.go
generated
vendored
11
vendor/github.com/containerd/containerd/mount/lookup_unix.go
generated
vendored
@ -4,6 +4,9 @@ package mount
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"path/filepath"
|
||||||
|
"sort"
|
||||||
|
"strings"
|
||||||
"syscall"
|
"syscall"
|
||||||
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
@ -12,6 +15,7 @@ import (
|
|||||||
// Lookup returns the mount info corresponds to the path.
|
// Lookup returns the mount info corresponds to the path.
|
||||||
func Lookup(dir string) (Info, error) {
|
func Lookup(dir string) (Info, error) {
|
||||||
var dirStat syscall.Stat_t
|
var dirStat syscall.Stat_t
|
||||||
|
dir = filepath.Clean(dir)
|
||||||
if err := syscall.Stat(dir, &dirStat); err != nil {
|
if err := syscall.Stat(dir, &dirStat); err != nil {
|
||||||
return Info{}, errors.Wrapf(err, "failed to access %q", dir)
|
return Info{}, errors.Wrapf(err, "failed to access %q", dir)
|
||||||
}
|
}
|
||||||
@ -20,6 +24,11 @@ func Lookup(dir string) (Info, error) {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return Info{}, err
|
return Info{}, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Sort descending order by Info.Mountpoint
|
||||||
|
sort.Slice(mounts, func(i, j int) bool {
|
||||||
|
return mounts[j].Mountpoint < mounts[i].Mountpoint
|
||||||
|
})
|
||||||
for _, m := range mounts {
|
for _, m := range mounts {
|
||||||
// Note that m.{Major, Minor} are generally unreliable for our purpose here
|
// Note that m.{Major, Minor} are generally unreliable for our purpose here
|
||||||
// https://www.spinics.net/lists/linux-btrfs/msg58908.html
|
// https://www.spinics.net/lists/linux-btrfs/msg58908.html
|
||||||
@ -28,7 +37,7 @@ func Lookup(dir string) (Info, error) {
|
|||||||
// may fail; ignore err
|
// may fail; ignore err
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if st.Dev == dirStat.Dev {
|
if st.Dev == dirStat.Dev && strings.HasPrefix(dir, m.Mountpoint) {
|
||||||
return m, nil
|
return m, nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
2
vendor/github.com/containerd/containerd/spec.go
generated
vendored
2
vendor/github.com/containerd/containerd/spec.go
generated
vendored
@ -10,7 +10,7 @@ import (
|
|||||||
// GenerateSpec will generate a default spec from the provided image
|
// GenerateSpec will generate a default spec from the provided image
|
||||||
// for use as a containerd container
|
// for use as a containerd container
|
||||||
func GenerateSpec(ctx context.Context, client *Client, c *containers.Container, opts ...SpecOpts) (*specs.Spec, error) {
|
func GenerateSpec(ctx context.Context, client *Client, c *containers.Container, opts ...SpecOpts) (*specs.Spec, error) {
|
||||||
s, err := createDefaultSpec()
|
s, err := createDefaultSpec(ctx, c.ID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
2
vendor/github.com/containerd/containerd/spec_opts.go
generated
vendored
2
vendor/github.com/containerd/containerd/spec_opts.go
generated
vendored
@ -38,7 +38,7 @@ func WithHostname(name string) SpecOpts {
|
|||||||
// WithNewSpec generates a new spec for a new container
|
// WithNewSpec generates a new spec for a new container
|
||||||
func WithNewSpec(opts ...SpecOpts) NewContainerOpts {
|
func WithNewSpec(opts ...SpecOpts) NewContainerOpts {
|
||||||
return func(ctx context.Context, client *Client, c *containers.Container) error {
|
return func(ctx context.Context, client *Client, c *containers.Container) error {
|
||||||
s, err := createDefaultSpec()
|
s, err := createDefaultSpec(ctx, c.ID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
10
vendor/github.com/containerd/containerd/spec_unix.go
generated
vendored
10
vendor/github.com/containerd/containerd/spec_unix.go
generated
vendored
@ -3,6 +3,7 @@
|
|||||||
package containerd
|
package containerd
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"context"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
@ -11,6 +12,7 @@ import (
|
|||||||
"golang.org/x/sys/unix"
|
"golang.org/x/sys/unix"
|
||||||
|
|
||||||
"github.com/containerd/containerd/mount"
|
"github.com/containerd/containerd/mount"
|
||||||
|
"github.com/containerd/containerd/namespaces"
|
||||||
specs "github.com/opencontainers/runtime-spec/specs-go"
|
specs "github.com/opencontainers/runtime-spec/specs-go"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -64,7 +66,11 @@ func defaultNamespaces() []specs.LinuxNamespace {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func createDefaultSpec() (*specs.Spec, error) {
|
func createDefaultSpec(ctx context.Context, id string) (*specs.Spec, error) {
|
||||||
|
ns, err := namespaces.NamespaceRequired(ctx)
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
s := &specs.Spec{
|
s := &specs.Spec{
|
||||||
Version: specs.Version,
|
Version: specs.Version,
|
||||||
Root: &specs.Root{
|
Root: &specs.Root{
|
||||||
@ -154,7 +160,7 @@ func createDefaultSpec() (*specs.Spec, error) {
|
|||||||
"/proc/sys",
|
"/proc/sys",
|
||||||
"/proc/sysrq-trigger",
|
"/proc/sysrq-trigger",
|
||||||
},
|
},
|
||||||
// TODO (@crosbymichael) make sure we don't have have two containers in the same cgroup
|
CgroupsPath: filepath.Join("/", ns, id),
|
||||||
Resources: &specs.LinuxResources{
|
Resources: &specs.LinuxResources{
|
||||||
Devices: []specs.LinuxDeviceCgroup{
|
Devices: []specs.LinuxDeviceCgroup{
|
||||||
{
|
{
|
||||||
|
8
vendor/github.com/containerd/containerd/spec_windows.go
generated
vendored
8
vendor/github.com/containerd/containerd/spec_windows.go
generated
vendored
@ -1,8 +1,12 @@
|
|||||||
package containerd
|
package containerd
|
||||||
|
|
||||||
import specs "github.com/opencontainers/runtime-spec/specs-go"
|
import (
|
||||||
|
"context"
|
||||||
|
|
||||||
func createDefaultSpec() (*specs.Spec, error) {
|
specs "github.com/opencontainers/runtime-spec/specs-go"
|
||||||
|
)
|
||||||
|
|
||||||
|
func createDefaultSpec(ctx context.Context, id string) (*specs.Spec, error) {
|
||||||
return &specs.Spec{
|
return &specs.Spec{
|
||||||
Version: specs.Version,
|
Version: specs.Version,
|
||||||
Root: &specs.Root{},
|
Root: &specs.Root{},
|
||||||
|
19
vendor/github.com/containerd/containerd/task.go
generated
vendored
19
vendor/github.com/containerd/containerd/task.go
generated
vendored
@ -20,6 +20,7 @@ import (
|
|||||||
"github.com/containerd/containerd/plugin"
|
"github.com/containerd/containerd/plugin"
|
||||||
"github.com/containerd/containerd/rootfs"
|
"github.com/containerd/containerd/rootfs"
|
||||||
"github.com/containerd/typeurl"
|
"github.com/containerd/typeurl"
|
||||||
|
google_protobuf "github.com/gogo/protobuf/types"
|
||||||
digest "github.com/opencontainers/go-digest"
|
digest "github.com/opencontainers/go-digest"
|
||||||
"github.com/opencontainers/image-spec/specs-go/v1"
|
"github.com/opencontainers/image-spec/specs-go/v1"
|
||||||
specs "github.com/opencontainers/runtime-spec/specs-go"
|
specs "github.com/opencontainers/runtime-spec/specs-go"
|
||||||
@ -41,6 +42,14 @@ type Status struct {
|
|||||||
ExitTime time.Time
|
ExitTime time.Time
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ProcessInfo struct {
|
||||||
|
// Pid is the process ID
|
||||||
|
Pid uint32
|
||||||
|
// Info includes additional process information
|
||||||
|
// Info varies by platform
|
||||||
|
Info *google_protobuf.Any
|
||||||
|
}
|
||||||
|
|
||||||
// ProcessStatus returns a human readable status for the Process representing its current status
|
// ProcessStatus returns a human readable status for the Process representing its current status
|
||||||
type ProcessStatus string
|
type ProcessStatus string
|
||||||
|
|
||||||
@ -107,7 +116,7 @@ type Task interface {
|
|||||||
// Exec creates a new process inside the task
|
// Exec creates a new process inside the task
|
||||||
Exec(context.Context, string, *specs.Process, IOCreation) (Process, error)
|
Exec(context.Context, string, *specs.Process, IOCreation) (Process, error)
|
||||||
// Pids returns a list of system specific process ids inside the task
|
// Pids returns a list of system specific process ids inside the task
|
||||||
Pids(context.Context) ([]uint32, error)
|
Pids(context.Context) ([]ProcessInfo, error)
|
||||||
// Checkpoint serializes the runtime and memory information of a task into an
|
// Checkpoint serializes the runtime and memory information of a task into an
|
||||||
// OCI Index that can be push and pulled from a remote resource.
|
// OCI Index that can be push and pulled from a remote resource.
|
||||||
//
|
//
|
||||||
@ -294,14 +303,18 @@ func (t *task) Exec(ctx context.Context, id string, spec *specs.Process, ioCreat
|
|||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (t *task) Pids(ctx context.Context) ([]uint32, error) {
|
func (t *task) Pids(ctx context.Context) ([]ProcessInfo, error) {
|
||||||
response, err := t.client.TaskService().ListPids(ctx, &tasks.ListPidsRequest{
|
response, err := t.client.TaskService().ListPids(ctx, &tasks.ListPidsRequest{
|
||||||
ContainerID: t.id,
|
ContainerID: t.id,
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, errdefs.FromGRPC(err)
|
return nil, errdefs.FromGRPC(err)
|
||||||
}
|
}
|
||||||
return response.Pids, nil
|
var processList []ProcessInfo
|
||||||
|
for _, p := range response.Processes {
|
||||||
|
processList = append(processList, ProcessInfo(*p))
|
||||||
|
}
|
||||||
|
return processList, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (t *task) CloseIO(ctx context.Context, opts ...IOCloserOpts) error {
|
func (t *task) CloseIO(ctx context.Context, opts ...IOCloserOpts) error {
|
||||||
|
4
vendor/github.com/containerd/containerd/vendor.conf
generated
vendored
4
vendor/github.com/containerd/containerd/vendor.conf
generated
vendored
@ -1,7 +1,7 @@
|
|||||||
github.com/coreos/go-systemd 48702e0da86bd25e76cfef347e2adeb434a0d0a6
|
github.com/coreos/go-systemd 48702e0da86bd25e76cfef347e2adeb434a0d0a6
|
||||||
github.com/containerd/go-runc b3c048c028ddd789c6f9510c597f8b9c62f25359
|
github.com/containerd/go-runc 633fd07c086ff591adaa2849278764771d791f6f
|
||||||
github.com/containerd/console 84eeaae905fa414d03e07bcd6c8d3f19e7cf180e
|
github.com/containerd/console 84eeaae905fa414d03e07bcd6c8d3f19e7cf180e
|
||||||
github.com/containerd/cgroups 5933ab4dc4f7caa3a73a1dc141bd11f42b5c9163
|
github.com/containerd/cgroups 9c238e632e80d94f71a067c3deb9b34b1886ef18
|
||||||
github.com/containerd/typeurl f6943554a7e7e88b3c14aad190bf05932da84788
|
github.com/containerd/typeurl f6943554a7e7e88b3c14aad190bf05932da84788
|
||||||
github.com/docker/go-metrics 8fd5772bf1584597834c6f7961a530f06cbfbb87
|
github.com/docker/go-metrics 8fd5772bf1584597834c6f7961a530f06cbfbb87
|
||||||
github.com/docker/go-events 9461782956ad83b30282bf90e31fa6a70c255ba9
|
github.com/docker/go-events 9461782956ad83b30282bf90e31fa6a70c255ba9
|
||||||
|
6
vendor/k8s.io/kubernetes/pkg/api/types.go
generated
vendored
6
vendor/k8s.io/kubernetes/pkg/api/types.go
generated
vendored
@ -1238,7 +1238,7 @@ type AzureDiskVolumeSource struct {
|
|||||||
// the ReadOnly setting in VolumeMounts.
|
// the ReadOnly setting in VolumeMounts.
|
||||||
// +optional
|
// +optional
|
||||||
ReadOnly *bool
|
ReadOnly *bool
|
||||||
// Expected values Shared: mulitple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared
|
// Expected values Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared
|
||||||
Kind *AzureDataDiskKind
|
Kind *AzureDataDiskKind
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3117,7 +3117,7 @@ type NodeConfigSource struct {
|
|||||||
type DaemonEndpoint struct {
|
type DaemonEndpoint struct {
|
||||||
/*
|
/*
|
||||||
The port tag was not properly in quotes in earlier releases, so it must be
|
The port tag was not properly in quotes in earlier releases, so it must be
|
||||||
uppercased for backwards compat (since it was falling back to var name of
|
uppercase for backwards compatibility (since it was falling back to var name of
|
||||||
'Port').
|
'Port').
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -4043,7 +4043,7 @@ const (
|
|||||||
// BasicAuthPasswordKey is the key of the password or token for SecretTypeBasicAuth secrets
|
// BasicAuthPasswordKey is the key of the password or token for SecretTypeBasicAuth secrets
|
||||||
BasicAuthPasswordKey = "password"
|
BasicAuthPasswordKey = "password"
|
||||||
|
|
||||||
// SecretTypeSSHAuth contains data needed for SSH authetication.
|
// SecretTypeSSHAuth contains data needed for SSH authentication.
|
||||||
//
|
//
|
||||||
// Required field:
|
// Required field:
|
||||||
// - Secret.Data["ssh-privatekey"] - private SSH key needed for authentication
|
// - Secret.Data["ssh-privatekey"] - private SSH key needed for authentication
|
||||||
|
Loading…
Reference in New Issue
Block a user