cmd/ctrd-protobuild: create proper command for building protos
After trying to explain the complexities of developing with protobuf, I have now created a command that correctly calculates the import paths for each package and runs the protobuf command. The Makefile has been updated accordingly, expect we now no longer use `go generate`. A new target `protos` has been defined. We alias the two, for the lazy. We leave `go generate` in place for cases where we will actually use `go generate`. Signed-off-by: Stephen J Day <stephen.day@docker.com>
This commit is contained in:
parent
6bb8d5a589
commit
83e7610194
17 changed files with 493 additions and 287 deletions
|
@ -1,12 +1,12 @@
|
|||
// Code generated by protoc-gen-gogo.
|
||||
// source: container.proto
|
||||
// source: github.com/docker/containerd/api/types/container/container.proto
|
||||
// DO NOT EDIT!
|
||||
|
||||
/*
|
||||
Package container is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
container.proto
|
||||
github.com/docker/containerd/api/types/container/container.proto
|
||||
|
||||
It has these top-level messages:
|
||||
Container
|
||||
|
@ -433,22 +433,24 @@ var (
|
|||
ErrIntOverflowContainer = fmt.Errorf("proto: integer overflow")
|
||||
)
|
||||
|
||||
func init() { proto.RegisterFile("container.proto", fileDescriptorContainer) }
|
||||
func init() {
|
||||
proto.RegisterFile("github.com/docker/containerd/api/types/container/container.proto", fileDescriptorContainer)
|
||||
}
|
||||
|
||||
var fileDescriptorContainer = []byte{
|
||||
// 216 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe2, 0xe2, 0x4f, 0xce, 0xcf, 0x2b,
|
||||
0x49, 0xcc, 0xcc, 0x4b, 0x2d, 0xd2, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x86, 0x0b, 0xa4,
|
||||
0xe8, 0x95, 0x19, 0xea, 0x95, 0x54, 0x16, 0xa4, 0x16, 0x4b, 0x89, 0xa4, 0xe7, 0xa7, 0xe7, 0x83,
|
||||
0xe5, 0xf5, 0x41, 0x2c, 0x88, 0x52, 0x29, 0x8b, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4,
|
||||
0xfc, 0x5c, 0xfd, 0x94, 0xfc, 0xe4, 0xec, 0xd4, 0x22, 0x7d, 0x84, 0x66, 0xfd, 0xc4, 0x82, 0x4c,
|
||||
0x7d, 0xb0, 0x6e, 0xfd, 0xe2, 0x92, 0xc4, 0x92, 0x54, 0x08, 0x09, 0xd1, 0xa9, 0x94, 0xcb, 0xc5,
|
||||
0xe9, 0x0c, 0x53, 0x29, 0x24, 0xc6, 0xc5, 0x94, 0x99, 0x22, 0xc1, 0xa8, 0xc0, 0xa8, 0xc1, 0xe9,
|
||||
0xc4, 0xf6, 0xe8, 0x9e, 0x3c, 0x93, 0xa7, 0x4b, 0x10, 0x53, 0x66, 0x8a, 0x90, 0x18, 0x17, 0x5b,
|
||||
0x52, 0x69, 0x5e, 0x4a, 0x4e, 0xaa, 0x04, 0x13, 0x48, 0x2e, 0x08, 0xca, 0x13, 0x32, 0xe0, 0x62,
|
||||
0x05, 0x9b, 0x25, 0xc1, 0xa2, 0xc0, 0xa8, 0xc1, 0x67, 0x24, 0xa5, 0x87, 0xc5, 0xc5, 0x7a, 0xc1,
|
||||
0x20, 0x15, 0x41, 0x10, 0x85, 0x4e, 0x32, 0x27, 0x1e, 0xca, 0x31, 0xdc, 0x78, 0x28, 0xc7, 0xf0,
|
||||
0xe1, 0xa1, 0x1c, 0x63, 0xc3, 0x23, 0x39, 0xc6, 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c, 0x92, 0x63,
|
||||
0x7c, 0xf0, 0x48, 0x8e, 0x31, 0x89, 0x0d, 0xec, 0x26, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff,
|
||||
0x85, 0x4e, 0xbe, 0x56, 0x0b, 0x01, 0x00, 0x00,
|
||||
// 219 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe2, 0x72, 0x48, 0xcf, 0x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x92, 0x63, 0xbc,
|
||||
0xf0, 0x48, 0x8e, 0xf1, 0xc1, 0x23, 0x39, 0xc6, 0x24, 0x36, 0xb0, 0x9b, 0x8c, 0x01, 0x01, 0x00,
|
||||
0x00, 0xff, 0xff, 0x4c, 0xd0, 0x44, 0x85, 0x3c, 0x01, 0x00, 0x00,
|
||||
}
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
// Code generated by tools/gen-gen-go.sh
|
||||
// DO NOT EDIT!
|
||||
|
||||
package container
|
||||
|
||||
//go:generate protoc -I.:/home/suda/gopath/src/github.com/docker/containerd/vendor:/home/suda/gopath/src/github.com/docker/containerd/vendor/github.com/gogo/protobuf:/home/suda/gopath/src/github.com/docker/containerd/../../..:/usr/local/include --gogoctrd_out=plugins=grpc,import_path=github.com/docker/containerd/api/types/container,Mgogoproto/gogo.proto=github.com/gogo/protobuf/gogoproto,Mgoogle/protobuf/descriptor.proto=github.com/gogo/protobuf/protoc-gen-gogo/descriptor:. container.proto
|
|
@ -1,6 +0,0 @@
|
|||
// Code generated by tools/gen-gen-go.sh
|
||||
// DO NOT EDIT!
|
||||
|
||||
package mount
|
||||
|
||||
//go:generate protoc -I.:/home/suda/gopath/src/github.com/docker/containerd/vendor:/home/suda/gopath/src/github.com/docker/containerd/vendor/github.com/gogo/protobuf:/home/suda/gopath/src/github.com/docker/containerd/../../..:/usr/local/include --gogoctrd_out=plugins=grpc,import_path=github.com/docker/containerd/api/types/mount,Mgogoproto/gogo.proto=github.com/gogo/protobuf/gogoproto,Mgoogle/protobuf/descriptor.proto=github.com/gogo/protobuf/protoc-gen-gogo/descriptor:. mount.proto
|
|
@ -1,12 +1,12 @@
|
|||
// Code generated by protoc-gen-gogo.
|
||||
// source: mount.proto
|
||||
// source: github.com/docker/containerd/api/types/mount/mount.proto
|
||||
// DO NOT EDIT!
|
||||
|
||||
/*
|
||||
Package mount is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
mount.proto
|
||||
github.com/docker/containerd/api/types/mount/mount.proto
|
||||
|
||||
It has these top-level messages:
|
||||
Mount
|
||||
|
@ -509,21 +509,24 @@ var (
|
|||
ErrIntOverflowMount = fmt.Errorf("proto: integer overflow")
|
||||
)
|
||||
|
||||
func init() { proto.RegisterFile("mount.proto", fileDescriptorMount) }
|
||||
func init() {
|
||||
proto.RegisterFile("github.com/docker/containerd/api/types/mount/mount.proto", fileDescriptorMount)
|
||||
}
|
||||
|
||||
var fileDescriptorMount = []byte{
|
||||
// 196 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe2, 0xe2, 0xce, 0xcd, 0x2f, 0xcd,
|
||||
0x2b, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x4e, 0xce, 0xcf, 0x2b, 0x49, 0xcc, 0xcc,
|
||||
0x4b, 0x2d, 0x4a, 0xd1, 0x2b, 0x33, 0xd4, 0x2b, 0xa9, 0x2c, 0x48, 0x2d, 0x96, 0xd2, 0x4d, 0xcf,
|
||||
0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xcf, 0x4f, 0xcf, 0xd7, 0x07, 0xab,
|
||||
0x4d, 0x2a, 0x4d, 0x03, 0xf3, 0xc0, 0x1c, 0x30, 0x0b, 0x62, 0x86, 0x52, 0x2a, 0x17, 0xab, 0x2f,
|
||||
0xc8, 0x48, 0x21, 0x21, 0x2e, 0x16, 0x90, 0x01, 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0x9c, 0x41, 0x60,
|
||||
0xb6, 0x90, 0x18, 0x17, 0x5b, 0x71, 0x7e, 0x69, 0x51, 0x72, 0xaa, 0x04, 0x13, 0x58, 0x14, 0xca,
|
||||
0x03, 0x89, 0x97, 0x24, 0x16, 0xa5, 0xa7, 0x96, 0x48, 0x30, 0x43, 0xc4, 0x21, 0x3c, 0x21, 0x09,
|
||||
0x2e, 0xf6, 0xfc, 0x82, 0x92, 0xcc, 0xfc, 0xbc, 0x62, 0x09, 0x16, 0x05, 0x66, 0x0d, 0xce, 0x20,
|
||||
0x18, 0xd7, 0x49, 0xe6, 0xc4, 0x43, 0x39, 0x86, 0x1b, 0x0f, 0xe5, 0x18, 0x3e, 0x3c, 0x94, 0x63,
|
||||
0x6c, 0x78, 0x24, 0xc7, 0x78, 0xe2, 0x91, 0x1c, 0xe3, 0x85, 0x47, 0x72, 0x8c, 0x0f, 0x1e, 0xc9,
|
||||
0x31, 0x26, 0xb1, 0x81, 0xdd, 0x62, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0xce, 0xd6, 0xd6, 0x24,
|
||||
0xde, 0x00, 0x00, 0x00,
|
||||
// 217 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe2, 0xb2, 0x48, 0xcf, 0x2c, 0xc9,
|
||||
0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xc9, 0x4f, 0xce, 0x4e, 0x2d, 0xd2, 0x4f, 0xce,
|
||||
0xcf, 0x2b, 0x49, 0xcc, 0xcc, 0x4b, 0x2d, 0x4a, 0xd1, 0x4f, 0x2c, 0xc8, 0xd4, 0x2f, 0xa9, 0x2c,
|
||||
0x48, 0x2d, 0xd6, 0xcf, 0xcd, 0x2f, 0xcd, 0x2b, 0x81, 0x90, 0x7a, 0x05, 0x45, 0xf9, 0x25, 0xf9,
|
||||
0x42, 0xc2, 0x08, 0x75, 0x7a, 0x65, 0x86, 0x7a, 0x60, 0x65, 0x52, 0xba, 0x48, 0xc6, 0xa5, 0xe7,
|
||||
0xa7, 0xe7, 0xeb, 0x83, 0xd5, 0x26, 0x95, 0xa6, 0x81, 0x79, 0x60, 0x0e, 0x98, 0x05, 0x31, 0x43,
|
||||
0x29, 0x95, 0x8b, 0xd5, 0x17, 0x64, 0xa4, 0x90, 0x10, 0x17, 0x0b, 0xc8, 0x00, 0x09, 0x46, 0x05,
|
||||
0x46, 0x0d, 0xce, 0x20, 0x30, 0x5b, 0x48, 0x8c, 0x8b, 0xad, 0x38, 0xbf, 0xb4, 0x28, 0x39, 0x55,
|
||||
0x82, 0x09, 0x2c, 0x0a, 0xe5, 0x81, 0xc4, 0x4b, 0x12, 0x8b, 0xd2, 0x53, 0x4b, 0x24, 0x98, 0x21,
|
||||
0xe2, 0x10, 0x9e, 0x90, 0x04, 0x17, 0x7b, 0x7e, 0x41, 0x49, 0x66, 0x7e, 0x5e, 0xb1, 0x04, 0x8b,
|
||||
0x02, 0xb3, 0x06, 0x67, 0x10, 0x8c, 0xeb, 0x24, 0x73, 0xe2, 0xa1, 0x1c, 0xc3, 0x8d, 0x87, 0x72,
|
||||
0x0c, 0x1f, 0x1e, 0xca, 0x31, 0x36, 0x3c, 0x92, 0x63, 0x3c, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, 0x23,
|
||||
0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0x93, 0xd8, 0xc0, 0x6e, 0x31, 0x06, 0x04, 0x00, 0x00, 0xff,
|
||||
0xff, 0x9f, 0x5a, 0xf3, 0x3d, 0x0b, 0x01, 0x00, 0x00,
|
||||
}
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
// Code generated by tools/gen-gen-go.sh
|
||||
// DO NOT EDIT!
|
||||
|
||||
package process
|
||||
|
||||
//go:generate protoc -I.:/home/suda/gopath/src/github.com/docker/containerd/vendor:/home/suda/gopath/src/github.com/docker/containerd/vendor/github.com/gogo/protobuf:/home/suda/gopath/src/github.com/docker/containerd/../../..:/usr/local/include --gogoctrd_out=plugins=grpc,import_path=github.com/docker/containerd/api/types/process,Mgogoproto/gogo.proto=github.com/gogo/protobuf/gogoproto,Mgoogle/protobuf/descriptor.proto=github.com/gogo/protobuf/protoc-gen-gogo/descriptor:. process.proto
|
|
@ -1,12 +1,12 @@
|
|||
// Code generated by protoc-gen-gogo.
|
||||
// source: process.proto
|
||||
// source: github.com/docker/containerd/api/types/process/process.proto
|
||||
// DO NOT EDIT!
|
||||
|
||||
/*
|
||||
Package process is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
process.proto
|
||||
github.com/docker/containerd/api/types/process/process.proto
|
||||
|
||||
It has these top-level messages:
|
||||
Process
|
||||
|
@ -645,27 +645,29 @@ var (
|
|||
ErrIntOverflowProcess = fmt.Errorf("proto: integer overflow")
|
||||
)
|
||||
|
||||
func init() { proto.RegisterFile("process.proto", fileDescriptorProcess) }
|
||||
func init() {
|
||||
proto.RegisterFile("github.com/docker/containerd/api/types/process/process.proto", fileDescriptorProcess)
|
||||
}
|
||||
|
||||
var fileDescriptorProcess = []byte{
|
||||
// 296 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x8c, 0x90, 0xbd, 0x4e, 0xc3, 0x30,
|
||||
0x14, 0x85, 0x7b, 0xe9, 0x5f, 0x70, 0x55, 0x84, 0xcc, 0x62, 0x22, 0x64, 0x2c, 0xa6, 0x2c, 0x38,
|
||||
0x50, 0x24, 0xc4, 0xcc, 0x13, 0xa0, 0x54, 0xcc, 0x28, 0x75, 0xac, 0x62, 0x41, 0xe3, 0xc8, 0x76,
|
||||
0x5a, 0xd8, 0x78, 0xbc, 0x8e, 0x8c, 0x8c, 0x24, 0x4f, 0x00, 0x6f, 0x80, 0xec, 0x48, 0xb0, 0x74,
|
||||
0x60, 0xb1, 0xce, 0x3d, 0xfa, 0xee, 0xd1, 0xb9, 0x46, 0xd3, 0xca, 0x68, 0x21, 0xad, 0xe5, 0x95,
|
||||
0xd1, 0x4e, 0xe3, 0x23, 0xa1, 0x4b, 0x97, 0xab, 0x52, 0x9a, 0x82, 0xaf, 0x2f, 0xb9, 0x7b, 0xad,
|
||||
0xa4, 0x8d, 0xaf, 0x97, 0xca, 0x3d, 0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0x16, 0xa3, 0xf0, 0x31, 0x57, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff,
|
||||
0x04, 0x02, 0x48, 0xdc, 0xb0, 0x01, 0x00, 0x00,
|
||||
// 300 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x8c, 0x90, 0xbf, 0x4e, 0xc3, 0x30,
|
||||
0x10, 0xc6, 0x7b, 0xf4, 0x2f, 0xae, 0x40, 0xc8, 0x2c, 0x26, 0x42, 0xc6, 0x62, 0xca, 0x82, 0x03,
|
||||
0x45, 0x42, 0x0c, 0x4c, 0x3c, 0x01, 0x4a, 0xc5, 0x8c, 0x52, 0xc7, 0x2a, 0x16, 0x34, 0x8e, 0x6c,
|
||||
0xa7, 0x85, 0x8d, 0xc7, 0xeb, 0xc8, 0xc8, 0x48, 0xf2, 0x04, 0xf0, 0x06, 0xc8, 0x8e, 0x54, 0x96,
|
||||
0x0e, 0x5d, 0xce, 0x77, 0x9f, 0x7e, 0xf7, 0xe9, 0x3b, 0xa3, 0xbb, 0xb9, 0x72, 0xcf, 0xd5, 0x8c,
|
||||
0x0b, 0xbd, 0x48, 0x72, 0x2d, 0x5e, 0xa4, 0x49, 0x84, 0x2e, 0x5c, 0xa6, 0x0a, 0x69, 0xf2, 0x24,
|
||||
0x2b, 0x55, 0xe2, 0xde, 0x4b, 0x69, 0x93, 0xd2, 0x68, 0x21, 0xed, 0xe6, 0xe5, 0xa5, 0xd1, 0x4e,
|
||||
0xe3, 0xe3, 0x7f, 0x96, 0x2f, 0xaf, 0x78, 0x40, 0xa3, 0x9b, 0x1d, 0x2d, 0x2b, 0x2b, 0x4d, 0x28,
|
||||
0xad, 0x59, 0x74, 0xbb, 0xe3, 0x9e, 0x75, 0x99, 0x93, 0x6d, 0x6d, 0x37, 0xcf, 0x7f, 0x01, 0x0d,
|
||||
0x1f, 0xda, 0x60, 0xf8, 0x08, 0x75, 0x4b, 0x95, 0x13, 0x60, 0x10, 0x1f, 0xa4, 0xbe, 0xc5, 0x18,
|
||||
0xf5, 0x32, 0x33, 0xb7, 0x64, 0x8f, 0x75, 0xe3, 0xfd, 0x34, 0xf4, 0x9e, 0x92, 0xc5, 0x92, 0x74,
|
||||
0x83, 0xe4, 0x5b, 0x7c, 0x81, 0x7a, 0x3e, 0x0b, 0xe9, 0x31, 0x88, 0xc7, 0x93, 0x13, 0xbe, 0xe5,
|
||||
0x32, 0xfe, 0x68, 0xa5, 0x49, 0x03, 0xe6, 0x0d, 0xc4, 0x2a, 0x27, 0x7d, 0x06, 0xde, 0x40, 0xac,
|
||||
0x72, 0x1c, 0xa1, 0x91, 0x93, 0x66, 0xa1, 0x8a, 0xec, 0x95, 0x0c, 0x18, 0xc4, 0xa3, 0x74, 0x33,
|
||||
0xe3, 0x4b, 0xd4, 0x0f, 0x79, 0xc9, 0x90, 0x41, 0x7c, 0x38, 0x89, 0xb6, 0xba, 0x4f, 0x3d, 0x91,
|
||||
0xb6, 0x20, 0x3e, 0x43, 0x63, 0xf9, 0xa6, 0xdc, 0x93, 0x9f, 0x2a, 0x4b, 0x46, 0xe1, 0x1c, 0xe4,
|
||||
0xa5, 0x69, 0x50, 0xee, 0x4f, 0xd7, 0x35, 0xed, 0x7c, 0xd5, 0xb4, 0xf3, 0x53, 0x53, 0xf8, 0x68,
|
||||
0x28, 0xac, 0x1b, 0x0a, 0x9f, 0x0d, 0x85, 0xef, 0x86, 0xc2, 0x6c, 0x10, 0x3e, 0xe6, 0xfa, 0x2f,
|
||||
0x00, 0x00, 0xff, 0xff, 0xdc, 0xc2, 0xb3, 0x39, 0xdf, 0x01, 0x00, 0x00,
|
||||
}
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
// Code generated by tools/gen-gen-go.sh
|
||||
// DO NOT EDIT!
|
||||
|
||||
package state
|
||||
|
||||
//go:generate protoc -I.:/home/suda/gopath/src/github.com/docker/containerd/vendor:/home/suda/gopath/src/github.com/docker/containerd/vendor/github.com/gogo/protobuf:/home/suda/gopath/src/github.com/docker/containerd/../../..:/usr/local/include --gogoctrd_out=plugins=grpc,import_path=github.com/docker/containerd/api/types/state,Mgogoproto/gogo.proto=github.com/gogo/protobuf/gogoproto,Mgoogle/protobuf/descriptor.proto=github.com/gogo/protobuf/protoc-gen-gogo/descriptor:. state.proto
|
|
@ -1,12 +1,12 @@
|
|||
// Code generated by protoc-gen-gogo.
|
||||
// source: state.proto
|
||||
// source: github.com/docker/containerd/api/types/state/state.proto
|
||||
// DO NOT EDIT!
|
||||
|
||||
/*
|
||||
Package state is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
state.proto
|
||||
github.com/docker/containerd/api/types/state/state.proto
|
||||
|
||||
It has these top-level messages:
|
||||
*/
|
||||
|
@ -62,18 +62,22 @@ func init() {
|
|||
proto.RegisterEnum("containerd.v1.types.State", State_name, State_value)
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("state.proto", fileDescriptorState) }
|
||||
func init() {
|
||||
proto.RegisterFile("github.com/docker/containerd/api/types/state/state.proto", fileDescriptorState)
|
||||
}
|
||||
|
||||
var fileDescriptorState = []byte{
|
||||
// 159 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe2, 0xe2, 0x2e, 0x2e, 0x49, 0x2c,
|
||||
0x49, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x4e, 0xce, 0xcf, 0x2b, 0x49, 0xcc, 0xcc,
|
||||
0x4b, 0x2d, 0x4a, 0xd1, 0x2b, 0x33, 0xd4, 0x2b, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x72, 0xe7, 0x62,
|
||||
0x0d, 0x06, 0xa9, 0x11, 0xe2, 0xe6, 0x62, 0x0f, 0xf5, 0xf3, 0xf6, 0xf3, 0x0f, 0xf7, 0x13, 0x60,
|
||||
0x00, 0x71, 0x9c, 0x83, 0x5c, 0x1d, 0x43, 0x5c, 0x5d, 0x04, 0x18, 0x41, 0x9c, 0xa0, 0x50, 0x3f,
|
||||
0x3f, 0x4f, 0x3f, 0x77, 0x01, 0x26, 0x10, 0x27, 0x38, 0xc4, 0x3f, 0x20, 0xc0, 0xd5, 0x45, 0x80,
|
||||
0x59, 0x88, 0x8b, 0x8b, 0x2d, 0xc0, 0x31, 0x34, 0xd8, 0xd5, 0x45, 0x80, 0xc5, 0x49, 0xe6, 0xc4,
|
||||
0x43, 0x39, 0x86, 0x1b, 0x0f, 0xe5, 0x18, 0x3e, 0x3c, 0x94, 0x63, 0x6c, 0x78, 0x24, 0xc7, 0x78,
|
||||
0xe2, 0x91, 0x1c, 0xe3, 0x85, 0x47, 0x72, 0x8c, 0x0f, 0x1e, 0xc9, 0x31, 0x26, 0xb1, 0x81, 0x9d,
|
||||
0x60, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x5a, 0xfd, 0xe3, 0xd8, 0x91, 0x00, 0x00, 0x00,
|
||||
// 189 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe2, 0xb2, 0x48, 0xcf, 0x2c, 0xc9,
|
||||
0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xc9, 0x4f, 0xce, 0x4e, 0x2d, 0xd2, 0x4f, 0xce,
|
||||
0xcf, 0x2b, 0x49, 0xcc, 0xcc, 0x4b, 0x2d, 0x4a, 0xd1, 0x4f, 0x2c, 0xc8, 0xd4, 0x2f, 0xa9, 0x2c,
|
||||
0x48, 0x2d, 0xd6, 0x2f, 0x2e, 0x49, 0x2c, 0x49, 0x85, 0x90, 0x7a, 0x05, 0x45, 0xf9, 0x25, 0xf9,
|
||||
0x42, 0xc2, 0x08, 0x75, 0x7a, 0x65, 0x86, 0x7a, 0x60, 0x65, 0x5a, 0xee, 0x5c, 0xac, 0xc1, 0x20,
|
||||
0x35, 0x42, 0xdc, 0x5c, 0xec, 0xa1, 0x7e, 0xde, 0x7e, 0xfe, 0xe1, 0x7e, 0x02, 0x0c, 0x20, 0x8e,
|
||||
0x73, 0x90, 0xab, 0x63, 0x88, 0xab, 0x8b, 0x00, 0x23, 0x88, 0x13, 0x14, 0xea, 0xe7, 0xe7, 0xe9,
|
||||
0xe7, 0x2e, 0xc0, 0x04, 0xe2, 0x04, 0x87, 0xf8, 0x07, 0x04, 0xb8, 0xba, 0x08, 0x30, 0x0b, 0x71,
|
||||
0x71, 0xb1, 0x05, 0x38, 0x86, 0x06, 0xbb, 0xba, 0x08, 0xb0, 0x38, 0xc9, 0x9c, 0x78, 0x28, 0xc7,
|
||||
0x70, 0xe3, 0xa1, 0x1c, 0xc3, 0x87, 0x87, 0x72, 0x8c, 0x0d, 0x8f, 0xe4, 0x18, 0x4f, 0x3c, 0x92,
|
||||
0x63, 0xbc, 0xf0, 0x48, 0x8e, 0xf1, 0xc1, 0x23, 0x39, 0xc6, 0x24, 0x36, 0xb0, 0x13, 0x8c, 0x01,
|
||||
0x01, 0x00, 0x00, 0xff, 0xff, 0x41, 0x75, 0xb8, 0xe9, 0xbe, 0x00, 0x00, 0x00,
|
||||
}
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
// Code generated by tools/gen-gen-go.sh
|
||||
// DO NOT EDIT!
|
||||
|
||||
package user
|
||||
|
||||
//go:generate protoc -I.:/home/suda/gopath/src/github.com/docker/containerd/vendor:/home/suda/gopath/src/github.com/docker/containerd/vendor/github.com/gogo/protobuf:/home/suda/gopath/src/github.com/docker/containerd/../../..:/usr/local/include --gogoctrd_out=plugins=grpc,import_path=github.com/docker/containerd/api/types/user,Mgogoproto/gogo.proto=github.com/gogo/protobuf/gogoproto,Mgoogle/protobuf/descriptor.proto=github.com/gogo/protobuf/protoc-gen-gogo/descriptor:. user.proto
|
|
@ -1,12 +1,12 @@
|
|||
// Code generated by protoc-gen-gogo.
|
||||
// source: user.proto
|
||||
// source: github.com/docker/containerd/api/types/user/user.proto
|
||||
// DO NOT EDIT!
|
||||
|
||||
/*
|
||||
Package user is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
user.proto
|
||||
github.com/docker/containerd/api/types/user/user.proto
|
||||
|
||||
It has these top-level messages:
|
||||
User
|
||||
|
@ -466,19 +466,22 @@ var (
|
|||
ErrIntOverflowUser = fmt.Errorf("proto: integer overflow")
|
||||
)
|
||||
|
||||
func init() { proto.RegisterFile("user.proto", fileDescriptorUser) }
|
||||
func init() {
|
||||
proto.RegisterFile("github.com/docker/containerd/api/types/user/user.proto", fileDescriptorUser)
|
||||
}
|
||||
|
||||
var fileDescriptorUser = []byte{
|
||||
// 162 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe2, 0xe2, 0x2a, 0x2d, 0x4e, 0x2d,
|
||||
0xd2, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x4e, 0xce, 0xcf, 0x2b, 0x49, 0xcc, 0xcc, 0x4b,
|
||||
0x2d, 0x4a, 0xd1, 0x2b, 0x33, 0xd4, 0x2b, 0xa9, 0x2c, 0x48, 0x2d, 0x56, 0x0a, 0xe6, 0x62, 0x09,
|
||||
0x2d, 0x4e, 0x2d, 0x12, 0x12, 0xe0, 0x62, 0x2e, 0xcd, 0x4c, 0x91, 0x60, 0x54, 0x60, 0xd4, 0xe0,
|
||||
0x0d, 0x02, 0x31, 0x41, 0x22, 0xe9, 0x99, 0x29, 0x12, 0x4c, 0x10, 0x91, 0xf4, 0xcc, 0x14, 0x21,
|
||||
0x75, 0x2e, 0xfe, 0xc4, 0x94, 0x94, 0xcc, 0x92, 0xcc, 0xfc, 0xbc, 0xc4, 0x9c, 0xf8, 0xf4, 0xcc,
|
||||
0x94, 0x62, 0x09, 0x66, 0x05, 0x66, 0x0d, 0xde, 0x20, 0x3e, 0x84, 0xb0, 0x7b, 0x66, 0x4a, 0xb1,
|
||||
0x93, 0xcc, 0x89, 0x87, 0x72, 0x0c, 0x37, 0x1e, 0xca, 0x31, 0x7c, 0x78, 0x28, 0xc7, 0xd8, 0xf0,
|
||||
0x48, 0x8e, 0xf1, 0xc4, 0x23, 0x39, 0xc6, 0x0b, 0x8f, 0xe4, 0x18, 0x1f, 0x3c, 0x92, 0x63, 0x4c,
|
||||
0x62, 0x03, 0x3b, 0xc7, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0x28, 0xf0, 0x6e, 0xd2, 0x9c, 0x00,
|
||||
0x00, 0x00,
|
||||
// 192 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe2, 0x32, 0x4b, 0xcf, 0x2c, 0xc9,
|
||||
0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xc9, 0x4f, 0xce, 0x4e, 0x2d, 0xd2, 0x4f, 0xce,
|
||||
0xcf, 0x2b, 0x49, 0xcc, 0xcc, 0x4b, 0x2d, 0x4a, 0xd1, 0x4f, 0x2c, 0xc8, 0xd4, 0x2f, 0xa9, 0x2c,
|
||||
0x48, 0x2d, 0xd6, 0x2f, 0x2d, 0x4e, 0x2d, 0x02, 0x13, 0x7a, 0x05, 0x45, 0xf9, 0x25, 0xf9, 0x42,
|
||||
0xc2, 0x08, 0x55, 0x7a, 0x65, 0x86, 0x7a, 0x60, 0x45, 0x4a, 0xc1, 0x5c, 0x2c, 0xa1, 0xc5, 0xa9,
|
||||
0x45, 0x42, 0x02, 0x5c, 0xcc, 0xa5, 0x99, 0x29, 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0xbc, 0x41, 0x20,
|
||||
0x26, 0x48, 0x24, 0x3d, 0x33, 0x45, 0x82, 0x09, 0x22, 0x92, 0x9e, 0x99, 0x22, 0xa4, 0xce, 0xc5,
|
||||
0x9f, 0x98, 0x92, 0x92, 0x59, 0x92, 0x99, 0x9f, 0x97, 0x98, 0x13, 0x9f, 0x9e, 0x99, 0x52, 0x2c,
|
||||
0xc1, 0xac, 0xc0, 0xac, 0xc1, 0x1b, 0xc4, 0x87, 0x10, 0x76, 0xcf, 0x4c, 0x29, 0x76, 0x92, 0x39,
|
||||
0xf1, 0x50, 0x8e, 0xe1, 0xc6, 0x43, 0x39, 0x86, 0x0f, 0x0f, 0xe5, 0x18, 0x1b, 0x1e, 0xc9, 0x31,
|
||||
0x9e, 0x78, 0x24, 0xc7, 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x49, 0x6c, 0x60,
|
||||
0xe7, 0x18, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0xee, 0x98, 0x21, 0x51, 0xc8, 0x00, 0x00, 0x00,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue