Merge pull request #2278 from stevvooe/remove-google-rpc
protobuf: remove generated google/rpc files
This commit is contained in:
commit
076cf7f16e
@ -12,7 +12,7 @@ plugins = ["grpc", "fieldpath"]
|
|||||||
# Paths that should be treated as include roots in relation to the vendor
|
# Paths that should be treated as include roots in relation to the vendor
|
||||||
# directory. These will be calculated with the vendor directory nearest the
|
# directory. These will be calculated with the vendor directory nearest the
|
||||||
# target package.
|
# target package.
|
||||||
packages = ["github.com/gogo/protobuf"]
|
packages = ["github.com/gogo/protobuf", "github.com/gogo/googleapis"]
|
||||||
|
|
||||||
# Paths that will be added untouched to the end of the includes. We use
|
# Paths that will be added untouched to the end of the includes. We use
|
||||||
# `/usr/local/include` to pickup the common install location of protobuf.
|
# `/usr/local/include` to pickup the common install location of protobuf.
|
||||||
@ -29,7 +29,7 @@ plugins = ["grpc", "fieldpath"]
|
|||||||
"google/protobuf/field_mask.proto" = "github.com/gogo/protobuf/types"
|
"google/protobuf/field_mask.proto" = "github.com/gogo/protobuf/types"
|
||||||
"google/protobuf/timestamp.proto" = "github.com/gogo/protobuf/types"
|
"google/protobuf/timestamp.proto" = "github.com/gogo/protobuf/types"
|
||||||
"google/protobuf/duration.proto" = "github.com/gogo/protobuf/types"
|
"google/protobuf/duration.proto" = "github.com/gogo/protobuf/types"
|
||||||
"google/rpc/status.proto" = "github.com/containerd/containerd/protobuf/google/rpc"
|
"google/rpc/status.proto" = "github.com/gogo/googleapis/google/rpc"
|
||||||
|
|
||||||
[[overrides]]
|
[[overrides]]
|
||||||
prefixes = ["github.com/containerd/containerd/api/events"]
|
prefixes = ["github.com/containerd/containerd/api/events"]
|
||||||
|
@ -48,11 +48,11 @@ import google_protobuf "github.com/gogo/protobuf/types"
|
|||||||
// skipping weak import gogoproto "github.com/gogo/protobuf/gogoproto"
|
// skipping weak import gogoproto "github.com/gogo/protobuf/gogoproto"
|
||||||
// skipping weak import containerd_plugin "github.com/containerd/containerd/protobuf/plugin"
|
// skipping weak import containerd_plugin "github.com/containerd/containerd/protobuf/plugin"
|
||||||
|
|
||||||
import github_com_containerd_typeurl "github.com/containerd/typeurl"
|
import typeurl "github.com/containerd/typeurl"
|
||||||
|
|
||||||
import strings "strings"
|
import strings "strings"
|
||||||
import reflect "reflect"
|
import reflect "reflect"
|
||||||
import github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
|
import sortkeys "github.com/gogo/protobuf/sortkeys"
|
||||||
|
|
||||||
import io "io"
|
import io "io"
|
||||||
|
|
||||||
@ -153,7 +153,7 @@ func (m *ContainerCreate_Runtime) Field(fieldpath []string) (string, bool) {
|
|||||||
case "name":
|
case "name":
|
||||||
return string(m.Name), len(m.Name) > 0
|
return string(m.Name), len(m.Name) > 0
|
||||||
case "options":
|
case "options":
|
||||||
decoded, err := github_com_containerd_typeurl.UnmarshalAny(m.Options)
|
decoded, err := typeurl.UnmarshalAny(m.Options)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "", false
|
return "", false
|
||||||
}
|
}
|
||||||
@ -478,7 +478,7 @@ func (this *ContainerUpdate) String() string {
|
|||||||
for k, _ := range this.Labels {
|
for k, _ := range this.Labels {
|
||||||
keysForLabels = append(keysForLabels, k)
|
keysForLabels = append(keysForLabels, k)
|
||||||
}
|
}
|
||||||
github_com_gogo_protobuf_sortkeys.Strings(keysForLabels)
|
sortkeys.Strings(keysForLabels)
|
||||||
mapStringForLabels := "map[string]string{"
|
mapStringForLabels := "map[string]string{"
|
||||||
for _, k := range keysForLabels {
|
for _, k := range keysForLabels {
|
||||||
mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
|
mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
|
||||||
|
@ -11,7 +11,7 @@ import math "math"
|
|||||||
|
|
||||||
import strings "strings"
|
import strings "strings"
|
||||||
import reflect "reflect"
|
import reflect "reflect"
|
||||||
import github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
|
import sortkeys "github.com/gogo/protobuf/sortkeys"
|
||||||
|
|
||||||
import io "io"
|
import io "io"
|
||||||
|
|
||||||
@ -291,7 +291,7 @@ func (this *ImageCreate) String() string {
|
|||||||
for k, _ := range this.Labels {
|
for k, _ := range this.Labels {
|
||||||
keysForLabels = append(keysForLabels, k)
|
keysForLabels = append(keysForLabels, k)
|
||||||
}
|
}
|
||||||
github_com_gogo_protobuf_sortkeys.Strings(keysForLabels)
|
sortkeys.Strings(keysForLabels)
|
||||||
mapStringForLabels := "map[string]string{"
|
mapStringForLabels := "map[string]string{"
|
||||||
for _, k := range keysForLabels {
|
for _, k := range keysForLabels {
|
||||||
mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
|
mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
|
||||||
@ -312,7 +312,7 @@ func (this *ImageUpdate) String() string {
|
|||||||
for k, _ := range this.Labels {
|
for k, _ := range this.Labels {
|
||||||
keysForLabels = append(keysForLabels, k)
|
keysForLabels = append(keysForLabels, k)
|
||||||
}
|
}
|
||||||
github_com_gogo_protobuf_sortkeys.Strings(keysForLabels)
|
sortkeys.Strings(keysForLabels)
|
||||||
mapStringForLabels := "map[string]string{"
|
mapStringForLabels := "map[string]string{"
|
||||||
for _, k := range keysForLabels {
|
for _, k := range keysForLabels {
|
||||||
mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
|
mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
|
||||||
|
@ -12,7 +12,7 @@ import math "math"
|
|||||||
|
|
||||||
import strings "strings"
|
import strings "strings"
|
||||||
import reflect "reflect"
|
import reflect "reflect"
|
||||||
import github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
|
import sortkeys "github.com/gogo/protobuf/sortkeys"
|
||||||
|
|
||||||
import io "io"
|
import io "io"
|
||||||
|
|
||||||
@ -292,7 +292,7 @@ func (this *NamespaceCreate) String() string {
|
|||||||
for k, _ := range this.Labels {
|
for k, _ := range this.Labels {
|
||||||
keysForLabels = append(keysForLabels, k)
|
keysForLabels = append(keysForLabels, k)
|
||||||
}
|
}
|
||||||
github_com_gogo_protobuf_sortkeys.Strings(keysForLabels)
|
sortkeys.Strings(keysForLabels)
|
||||||
mapStringForLabels := "map[string]string{"
|
mapStringForLabels := "map[string]string{"
|
||||||
for _, k := range keysForLabels {
|
for _, k := range keysForLabels {
|
||||||
mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
|
mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
|
||||||
@ -313,7 +313,7 @@ func (this *NamespaceUpdate) String() string {
|
|||||||
for k, _ := range this.Labels {
|
for k, _ := range this.Labels {
|
||||||
keysForLabels = append(keysForLabels, k)
|
keysForLabels = append(keysForLabels, k)
|
||||||
}
|
}
|
||||||
github_com_gogo_protobuf_sortkeys.Strings(keysForLabels)
|
sortkeys.Strings(keysForLabels)
|
||||||
mapStringForLabels := "map[string]string{"
|
mapStringForLabels := "map[string]string{"
|
||||||
for _, k := range keysForLabels {
|
for _, k := range keysForLabels {
|
||||||
mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
|
mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
|
||||||
|
@ -15,7 +15,7 @@ import containerd_types "github.com/containerd/containerd/api/types"
|
|||||||
|
|
||||||
import time "time"
|
import time "time"
|
||||||
|
|
||||||
import github_com_gogo_protobuf_types "github.com/gogo/protobuf/types"
|
import types "github.com/gogo/protobuf/types"
|
||||||
|
|
||||||
import strings "strings"
|
import strings "strings"
|
||||||
import reflect "reflect"
|
import reflect "reflect"
|
||||||
@ -468,8 +468,8 @@ func (m *TaskDelete) MarshalTo(dAtA []byte) (int, error) {
|
|||||||
}
|
}
|
||||||
dAtA[i] = 0x22
|
dAtA[i] = 0x22
|
||||||
i++
|
i++
|
||||||
i = encodeVarintTask(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdTime(m.ExitedAt)))
|
i = encodeVarintTask(dAtA, i, uint64(types.SizeOfStdTime(m.ExitedAt)))
|
||||||
n2, err := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.ExitedAt, dAtA[i:])
|
n2, err := types.StdTimeMarshalTo(m.ExitedAt, dAtA[i:])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
@ -562,8 +562,8 @@ func (m *TaskExit) MarshalTo(dAtA []byte) (int, error) {
|
|||||||
}
|
}
|
||||||
dAtA[i] = 0x2a
|
dAtA[i] = 0x2a
|
||||||
i++
|
i++
|
||||||
i = encodeVarintTask(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdTime(m.ExitedAt)))
|
i = encodeVarintTask(dAtA, i, uint64(types.SizeOfStdTime(m.ExitedAt)))
|
||||||
n3, err := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.ExitedAt, dAtA[i:])
|
n3, err := types.StdTimeMarshalTo(m.ExitedAt, dAtA[i:])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
@ -804,7 +804,7 @@ func (m *TaskDelete) Size() (n int) {
|
|||||||
if m.ExitStatus != 0 {
|
if m.ExitStatus != 0 {
|
||||||
n += 1 + sovTask(uint64(m.ExitStatus))
|
n += 1 + sovTask(uint64(m.ExitStatus))
|
||||||
}
|
}
|
||||||
l = github_com_gogo_protobuf_types.SizeOfStdTime(m.ExitedAt)
|
l = types.SizeOfStdTime(m.ExitedAt)
|
||||||
n += 1 + l + sovTask(uint64(l))
|
n += 1 + l + sovTask(uint64(l))
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
@ -847,7 +847,7 @@ func (m *TaskExit) Size() (n int) {
|
|||||||
if m.ExitStatus != 0 {
|
if m.ExitStatus != 0 {
|
||||||
n += 1 + sovTask(uint64(m.ExitStatus))
|
n += 1 + sovTask(uint64(m.ExitStatus))
|
||||||
}
|
}
|
||||||
l = github_com_gogo_protobuf_types.SizeOfStdTime(m.ExitedAt)
|
l = types.SizeOfStdTime(m.ExitedAt)
|
||||||
n += 1 + l + sovTask(uint64(l))
|
n += 1 + l + sovTask(uint64(l))
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
@ -1518,7 +1518,7 @@ func (m *TaskDelete) Unmarshal(dAtA []byte) error {
|
|||||||
if postIndex > l {
|
if postIndex > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.ExitedAt, dAtA[iNdEx:postIndex]); err != nil {
|
if err := types.StdTimeUnmarshal(&m.ExitedAt, dAtA[iNdEx:postIndex]); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
@ -1851,7 +1851,7 @@ func (m *TaskExit) Unmarshal(dAtA []byte) error {
|
|||||||
if postIndex > l {
|
if postIndex > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.ExitedAt, dAtA[iNdEx:postIndex]); err != nil {
|
if err := types.StdTimeUnmarshal(&m.ExitedAt, dAtA[iNdEx:postIndex]); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
|
@ -2305,7 +2305,7 @@ file {
|
|||||||
java_package: "com.google.rpc"
|
java_package: "com.google.rpc"
|
||||||
java_outer_classname: "StatusProto"
|
java_outer_classname: "StatusProto"
|
||||||
java_multiple_files: true
|
java_multiple_files: true
|
||||||
go_package: "github.com/containerd/containerd/protobuf/google/rpc;rpc"
|
go_package: "rpc"
|
||||||
objc_class_prefix: "RPC"
|
objc_class_prefix: "RPC"
|
||||||
}
|
}
|
||||||
syntax: "proto3"
|
syntax: "proto3"
|
||||||
|
@ -33,16 +33,14 @@ import _ "github.com/gogo/protobuf/types"
|
|||||||
|
|
||||||
import time "time"
|
import time "time"
|
||||||
|
|
||||||
import (
|
import context "golang.org/x/net/context"
|
||||||
context "golang.org/x/net/context"
|
import grpc "google.golang.org/grpc"
|
||||||
grpc "google.golang.org/grpc"
|
|
||||||
)
|
|
||||||
|
|
||||||
import github_com_gogo_protobuf_types "github.com/gogo/protobuf/types"
|
import types "github.com/gogo/protobuf/types"
|
||||||
|
|
||||||
import strings "strings"
|
import strings "strings"
|
||||||
import reflect "reflect"
|
import reflect "reflect"
|
||||||
import github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
|
import sortkeys "github.com/gogo/protobuf/sortkeys"
|
||||||
|
|
||||||
import io "io"
|
import io "io"
|
||||||
|
|
||||||
@ -516,16 +514,16 @@ func (m *Container) MarshalTo(dAtA []byte) (int, error) {
|
|||||||
}
|
}
|
||||||
dAtA[i] = 0x42
|
dAtA[i] = 0x42
|
||||||
i++
|
i++
|
||||||
i = encodeVarintContainers(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdTime(m.CreatedAt)))
|
i = encodeVarintContainers(dAtA, i, uint64(types.SizeOfStdTime(m.CreatedAt)))
|
||||||
n3, err := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.CreatedAt, dAtA[i:])
|
n3, err := types.StdTimeMarshalTo(m.CreatedAt, dAtA[i:])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
i += n3
|
i += n3
|
||||||
dAtA[i] = 0x4a
|
dAtA[i] = 0x4a
|
||||||
i++
|
i++
|
||||||
i = encodeVarintContainers(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdTime(m.UpdatedAt)))
|
i = encodeVarintContainers(dAtA, i, uint64(types.SizeOfStdTime(m.UpdatedAt)))
|
||||||
n4, err := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.UpdatedAt, dAtA[i:])
|
n4, err := types.StdTimeMarshalTo(m.UpdatedAt, dAtA[i:])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
@ -888,9 +886,9 @@ func (m *Container) Size() (n int) {
|
|||||||
if l > 0 {
|
if l > 0 {
|
||||||
n += 1 + l + sovContainers(uint64(l))
|
n += 1 + l + sovContainers(uint64(l))
|
||||||
}
|
}
|
||||||
l = github_com_gogo_protobuf_types.SizeOfStdTime(m.CreatedAt)
|
l = types.SizeOfStdTime(m.CreatedAt)
|
||||||
n += 1 + l + sovContainers(uint64(l))
|
n += 1 + l + sovContainers(uint64(l))
|
||||||
l = github_com_gogo_protobuf_types.SizeOfStdTime(m.UpdatedAt)
|
l = types.SizeOfStdTime(m.UpdatedAt)
|
||||||
n += 1 + l + sovContainers(uint64(l))
|
n += 1 + l + sovContainers(uint64(l))
|
||||||
if len(m.Extensions) > 0 {
|
if len(m.Extensions) > 0 {
|
||||||
for k, v := range m.Extensions {
|
for k, v := range m.Extensions {
|
||||||
@ -1027,7 +1025,7 @@ func (this *Container) String() string {
|
|||||||
for k, _ := range this.Labels {
|
for k, _ := range this.Labels {
|
||||||
keysForLabels = append(keysForLabels, k)
|
keysForLabels = append(keysForLabels, k)
|
||||||
}
|
}
|
||||||
github_com_gogo_protobuf_sortkeys.Strings(keysForLabels)
|
sortkeys.Strings(keysForLabels)
|
||||||
mapStringForLabels := "map[string]string{"
|
mapStringForLabels := "map[string]string{"
|
||||||
for _, k := range keysForLabels {
|
for _, k := range keysForLabels {
|
||||||
mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
|
mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
|
||||||
@ -1037,7 +1035,7 @@ func (this *Container) String() string {
|
|||||||
for k, _ := range this.Extensions {
|
for k, _ := range this.Extensions {
|
||||||
keysForExtensions = append(keysForExtensions, k)
|
keysForExtensions = append(keysForExtensions, k)
|
||||||
}
|
}
|
||||||
github_com_gogo_protobuf_sortkeys.Strings(keysForExtensions)
|
sortkeys.Strings(keysForExtensions)
|
||||||
mapStringForExtensions := "map[string]google_protobuf1.Any{"
|
mapStringForExtensions := "map[string]google_protobuf1.Any{"
|
||||||
for _, k := range keysForExtensions {
|
for _, k := range keysForExtensions {
|
||||||
mapStringForExtensions += fmt.Sprintf("%v: %v,", k, this.Extensions[k])
|
mapStringForExtensions += fmt.Sprintf("%v: %v,", k, this.Extensions[k])
|
||||||
@ -1523,7 +1521,7 @@ func (m *Container) Unmarshal(dAtA []byte) error {
|
|||||||
if postIndex > l {
|
if postIndex > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.CreatedAt, dAtA[iNdEx:postIndex]); err != nil {
|
if err := types.StdTimeUnmarshal(&m.CreatedAt, dAtA[iNdEx:postIndex]); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
@ -1553,7 +1551,7 @@ func (m *Container) Unmarshal(dAtA []byte) error {
|
|||||||
if postIndex > l {
|
if postIndex > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.UpdatedAt, dAtA[iNdEx:postIndex]); err != nil {
|
if err := types.StdTimeUnmarshal(&m.UpdatedAt, dAtA[iNdEx:postIndex]); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
|
@ -41,16 +41,14 @@ import google_protobuf3 "github.com/gogo/protobuf/types"
|
|||||||
import github_com_opencontainers_go_digest "github.com/opencontainers/go-digest"
|
import github_com_opencontainers_go_digest "github.com/opencontainers/go-digest"
|
||||||
import time "time"
|
import time "time"
|
||||||
|
|
||||||
import (
|
import context "golang.org/x/net/context"
|
||||||
context "golang.org/x/net/context"
|
import grpc "google.golang.org/grpc"
|
||||||
grpc "google.golang.org/grpc"
|
|
||||||
)
|
|
||||||
|
|
||||||
import github_com_gogo_protobuf_types "github.com/gogo/protobuf/types"
|
import types "github.com/gogo/protobuf/types"
|
||||||
|
|
||||||
import strings "strings"
|
import strings "strings"
|
||||||
import reflect "reflect"
|
import reflect "reflect"
|
||||||
import github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
|
import sortkeys "github.com/gogo/protobuf/sortkeys"
|
||||||
|
|
||||||
import io "io"
|
import io "io"
|
||||||
|
|
||||||
@ -936,16 +934,16 @@ func (m *Info) MarshalTo(dAtA []byte) (int, error) {
|
|||||||
}
|
}
|
||||||
dAtA[i] = 0x1a
|
dAtA[i] = 0x1a
|
||||||
i++
|
i++
|
||||||
i = encodeVarintContent(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdTime(m.CreatedAt)))
|
i = encodeVarintContent(dAtA, i, uint64(types.SizeOfStdTime(m.CreatedAt)))
|
||||||
n1, err := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.CreatedAt, dAtA[i:])
|
n1, err := types.StdTimeMarshalTo(m.CreatedAt, dAtA[i:])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
i += n1
|
i += n1
|
||||||
dAtA[i] = 0x22
|
dAtA[i] = 0x22
|
||||||
i++
|
i++
|
||||||
i = encodeVarintContent(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdTime(m.UpdatedAt)))
|
i = encodeVarintContent(dAtA, i, uint64(types.SizeOfStdTime(m.UpdatedAt)))
|
||||||
n2, err := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.UpdatedAt, dAtA[i:])
|
n2, err := types.StdTimeMarshalTo(m.UpdatedAt, dAtA[i:])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
@ -1249,16 +1247,16 @@ func (m *Status) MarshalTo(dAtA []byte) (int, error) {
|
|||||||
_ = l
|
_ = l
|
||||||
dAtA[i] = 0xa
|
dAtA[i] = 0xa
|
||||||
i++
|
i++
|
||||||
i = encodeVarintContent(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdTime(m.StartedAt)))
|
i = encodeVarintContent(dAtA, i, uint64(types.SizeOfStdTime(m.StartedAt)))
|
||||||
n7, err := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.StartedAt, dAtA[i:])
|
n7, err := types.StdTimeMarshalTo(m.StartedAt, dAtA[i:])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
i += n7
|
i += n7
|
||||||
dAtA[i] = 0x12
|
dAtA[i] = 0x12
|
||||||
i++
|
i++
|
||||||
i = encodeVarintContent(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdTime(m.UpdatedAt)))
|
i = encodeVarintContent(dAtA, i, uint64(types.SizeOfStdTime(m.UpdatedAt)))
|
||||||
n8, err := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.UpdatedAt, dAtA[i:])
|
n8, err := types.StdTimeMarshalTo(m.UpdatedAt, dAtA[i:])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
@ -1493,16 +1491,16 @@ func (m *WriteContentResponse) MarshalTo(dAtA []byte) (int, error) {
|
|||||||
}
|
}
|
||||||
dAtA[i] = 0x12
|
dAtA[i] = 0x12
|
||||||
i++
|
i++
|
||||||
i = encodeVarintContent(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdTime(m.StartedAt)))
|
i = encodeVarintContent(dAtA, i, uint64(types.SizeOfStdTime(m.StartedAt)))
|
||||||
n10, err := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.StartedAt, dAtA[i:])
|
n10, err := types.StdTimeMarshalTo(m.StartedAt, dAtA[i:])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
i += n10
|
i += n10
|
||||||
dAtA[i] = 0x1a
|
dAtA[i] = 0x1a
|
||||||
i++
|
i++
|
||||||
i = encodeVarintContent(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdTime(m.UpdatedAt)))
|
i = encodeVarintContent(dAtA, i, uint64(types.SizeOfStdTime(m.UpdatedAt)))
|
||||||
n11, err := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.UpdatedAt, dAtA[i:])
|
n11, err := types.StdTimeMarshalTo(m.UpdatedAt, dAtA[i:])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
@ -1569,9 +1567,9 @@ func (m *Info) Size() (n int) {
|
|||||||
if m.Size_ != 0 {
|
if m.Size_ != 0 {
|
||||||
n += 1 + sovContent(uint64(m.Size_))
|
n += 1 + sovContent(uint64(m.Size_))
|
||||||
}
|
}
|
||||||
l = github_com_gogo_protobuf_types.SizeOfStdTime(m.CreatedAt)
|
l = types.SizeOfStdTime(m.CreatedAt)
|
||||||
n += 1 + l + sovContent(uint64(l))
|
n += 1 + l + sovContent(uint64(l))
|
||||||
l = github_com_gogo_protobuf_types.SizeOfStdTime(m.UpdatedAt)
|
l = types.SizeOfStdTime(m.UpdatedAt)
|
||||||
n += 1 + l + sovContent(uint64(l))
|
n += 1 + l + sovContent(uint64(l))
|
||||||
if len(m.Labels) > 0 {
|
if len(m.Labels) > 0 {
|
||||||
for k, v := range m.Labels {
|
for k, v := range m.Labels {
|
||||||
@ -1688,9 +1686,9 @@ func (m *ReadContentResponse) Size() (n int) {
|
|||||||
func (m *Status) Size() (n int) {
|
func (m *Status) Size() (n int) {
|
||||||
var l int
|
var l int
|
||||||
_ = l
|
_ = l
|
||||||
l = github_com_gogo_protobuf_types.SizeOfStdTime(m.StartedAt)
|
l = types.SizeOfStdTime(m.StartedAt)
|
||||||
n += 1 + l + sovContent(uint64(l))
|
n += 1 + l + sovContent(uint64(l))
|
||||||
l = github_com_gogo_protobuf_types.SizeOfStdTime(m.UpdatedAt)
|
l = types.SizeOfStdTime(m.UpdatedAt)
|
||||||
n += 1 + l + sovContent(uint64(l))
|
n += 1 + l + sovContent(uint64(l))
|
||||||
l = len(m.Ref)
|
l = len(m.Ref)
|
||||||
if l > 0 {
|
if l > 0 {
|
||||||
@ -1794,9 +1792,9 @@ func (m *WriteContentResponse) Size() (n int) {
|
|||||||
if m.Action != 0 {
|
if m.Action != 0 {
|
||||||
n += 1 + sovContent(uint64(m.Action))
|
n += 1 + sovContent(uint64(m.Action))
|
||||||
}
|
}
|
||||||
l = github_com_gogo_protobuf_types.SizeOfStdTime(m.StartedAt)
|
l = types.SizeOfStdTime(m.StartedAt)
|
||||||
n += 1 + l + sovContent(uint64(l))
|
n += 1 + l + sovContent(uint64(l))
|
||||||
l = github_com_gogo_protobuf_types.SizeOfStdTime(m.UpdatedAt)
|
l = types.SizeOfStdTime(m.UpdatedAt)
|
||||||
n += 1 + l + sovContent(uint64(l))
|
n += 1 + l + sovContent(uint64(l))
|
||||||
if m.Offset != 0 {
|
if m.Offset != 0 {
|
||||||
n += 1 + sovContent(uint64(m.Offset))
|
n += 1 + sovContent(uint64(m.Offset))
|
||||||
@ -1842,7 +1840,7 @@ func (this *Info) String() string {
|
|||||||
for k, _ := range this.Labels {
|
for k, _ := range this.Labels {
|
||||||
keysForLabels = append(keysForLabels, k)
|
keysForLabels = append(keysForLabels, k)
|
||||||
}
|
}
|
||||||
github_com_gogo_protobuf_sortkeys.Strings(keysForLabels)
|
sortkeys.Strings(keysForLabels)
|
||||||
mapStringForLabels := "map[string]string{"
|
mapStringForLabels := "map[string]string{"
|
||||||
for _, k := range keysForLabels {
|
for _, k := range keysForLabels {
|
||||||
mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
|
mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
|
||||||
@ -2015,7 +2013,7 @@ func (this *WriteContentRequest) String() string {
|
|||||||
for k, _ := range this.Labels {
|
for k, _ := range this.Labels {
|
||||||
keysForLabels = append(keysForLabels, k)
|
keysForLabels = append(keysForLabels, k)
|
||||||
}
|
}
|
||||||
github_com_gogo_protobuf_sortkeys.Strings(keysForLabels)
|
sortkeys.Strings(keysForLabels)
|
||||||
mapStringForLabels := "map[string]string{"
|
mapStringForLabels := "map[string]string{"
|
||||||
for _, k := range keysForLabels {
|
for _, k := range keysForLabels {
|
||||||
mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
|
mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
|
||||||
@ -2169,7 +2167,7 @@ func (m *Info) Unmarshal(dAtA []byte) error {
|
|||||||
if postIndex > l {
|
if postIndex > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.CreatedAt, dAtA[iNdEx:postIndex]); err != nil {
|
if err := types.StdTimeUnmarshal(&m.CreatedAt, dAtA[iNdEx:postIndex]); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
@ -2199,7 +2197,7 @@ func (m *Info) Unmarshal(dAtA []byte) error {
|
|||||||
if postIndex > l {
|
if postIndex > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.UpdatedAt, dAtA[iNdEx:postIndex]); err != nil {
|
if err := types.StdTimeUnmarshal(&m.UpdatedAt, dAtA[iNdEx:postIndex]); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
@ -3205,7 +3203,7 @@ func (m *Status) Unmarshal(dAtA []byte) error {
|
|||||||
if postIndex > l {
|
if postIndex > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.StartedAt, dAtA[iNdEx:postIndex]); err != nil {
|
if err := types.StdTimeUnmarshal(&m.StartedAt, dAtA[iNdEx:postIndex]); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
@ -3235,7 +3233,7 @@ func (m *Status) Unmarshal(dAtA []byte) error {
|
|||||||
if postIndex > l {
|
if postIndex > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.UpdatedAt, dAtA[iNdEx:postIndex]); err != nil {
|
if err := types.StdTimeUnmarshal(&m.UpdatedAt, dAtA[iNdEx:postIndex]); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
@ -4066,7 +4064,7 @@ func (m *WriteContentResponse) Unmarshal(dAtA []byte) error {
|
|||||||
if postIndex > l {
|
if postIndex > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.StartedAt, dAtA[iNdEx:postIndex]); err != nil {
|
if err := types.StdTimeUnmarshal(&m.StartedAt, dAtA[iNdEx:postIndex]); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
@ -4096,7 +4094,7 @@ func (m *WriteContentResponse) Unmarshal(dAtA []byte) error {
|
|||||||
if postIndex > l {
|
if postIndex > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.UpdatedAt, dAtA[iNdEx:postIndex]); err != nil {
|
if err := types.StdTimeUnmarshal(&m.UpdatedAt, dAtA[iNdEx:postIndex]); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
|
@ -23,14 +23,12 @@ import math "math"
|
|||||||
import containerd_types "github.com/containerd/containerd/api/types"
|
import containerd_types "github.com/containerd/containerd/api/types"
|
||||||
import containerd_types1 "github.com/containerd/containerd/api/types"
|
import containerd_types1 "github.com/containerd/containerd/api/types"
|
||||||
|
|
||||||
import (
|
import context "golang.org/x/net/context"
|
||||||
context "golang.org/x/net/context"
|
import grpc "google.golang.org/grpc"
|
||||||
grpc "google.golang.org/grpc"
|
|
||||||
)
|
|
||||||
|
|
||||||
import strings "strings"
|
import strings "strings"
|
||||||
import reflect "reflect"
|
import reflect "reflect"
|
||||||
import github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
|
import sortkeys "github.com/gogo/protobuf/sortkeys"
|
||||||
|
|
||||||
import io "io"
|
import io "io"
|
||||||
|
|
||||||
@ -507,7 +505,7 @@ func (this *DiffRequest) String() string {
|
|||||||
for k, _ := range this.Labels {
|
for k, _ := range this.Labels {
|
||||||
keysForLabels = append(keysForLabels, k)
|
keysForLabels = append(keysForLabels, k)
|
||||||
}
|
}
|
||||||
github_com_gogo_protobuf_sortkeys.Strings(keysForLabels)
|
sortkeys.Strings(keysForLabels)
|
||||||
mapStringForLabels := "map[string]string{"
|
mapStringForLabels := "map[string]string{"
|
||||||
for _, k := range keysForLabels {
|
for _, k := range keysForLabels {
|
||||||
mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
|
mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
|
||||||
|
@ -27,14 +27,12 @@ import _ "github.com/gogo/protobuf/types"
|
|||||||
|
|
||||||
import time "time"
|
import time "time"
|
||||||
|
|
||||||
import github_com_containerd_typeurl "github.com/containerd/typeurl"
|
import typeurl "github.com/containerd/typeurl"
|
||||||
|
|
||||||
import (
|
import context "golang.org/x/net/context"
|
||||||
context "golang.org/x/net/context"
|
import grpc "google.golang.org/grpc"
|
||||||
grpc "google.golang.org/grpc"
|
|
||||||
)
|
|
||||||
|
|
||||||
import github_com_gogo_protobuf_types "github.com/gogo/protobuf/types"
|
import types "github.com/gogo/protobuf/types"
|
||||||
|
|
||||||
import strings "strings"
|
import strings "strings"
|
||||||
import reflect "reflect"
|
import reflect "reflect"
|
||||||
@ -110,7 +108,7 @@ func (m *Envelope) Field(fieldpath []string) (string, bool) {
|
|||||||
case "topic":
|
case "topic":
|
||||||
return string(m.Topic), len(m.Topic) > 0
|
return string(m.Topic), len(m.Topic) > 0
|
||||||
case "event":
|
case "event":
|
||||||
decoded, err := github_com_containerd_typeurl.UnmarshalAny(m.Event)
|
decoded, err := typeurl.UnmarshalAny(m.Event)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "", false
|
return "", false
|
||||||
}
|
}
|
||||||
@ -434,8 +432,8 @@ func (m *Envelope) MarshalTo(dAtA []byte) (int, error) {
|
|||||||
_ = l
|
_ = l
|
||||||
dAtA[i] = 0xa
|
dAtA[i] = 0xa
|
||||||
i++
|
i++
|
||||||
i = encodeVarintEvents(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdTime(m.Timestamp)))
|
i = encodeVarintEvents(dAtA, i, uint64(types.SizeOfStdTime(m.Timestamp)))
|
||||||
n3, err := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Timestamp, dAtA[i:])
|
n3, err := types.StdTimeMarshalTo(m.Timestamp, dAtA[i:])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
@ -513,7 +511,7 @@ func (m *SubscribeRequest) Size() (n int) {
|
|||||||
func (m *Envelope) Size() (n int) {
|
func (m *Envelope) Size() (n int) {
|
||||||
var l int
|
var l int
|
||||||
_ = l
|
_ = l
|
||||||
l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Timestamp)
|
l = types.SizeOfStdTime(m.Timestamp)
|
||||||
n += 1 + l + sovEvents(uint64(l))
|
n += 1 + l + sovEvents(uint64(l))
|
||||||
l = len(m.Namespace)
|
l = len(m.Namespace)
|
||||||
if l > 0 {
|
if l > 0 {
|
||||||
@ -924,7 +922,7 @@ func (m *Envelope) Unmarshal(dAtA []byte) error {
|
|||||||
if postIndex > l {
|
if postIndex > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.Timestamp, dAtA[iNdEx:postIndex]); err != nil {
|
if err := types.StdTimeUnmarshal(&m.Timestamp, dAtA[iNdEx:postIndex]); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
|
@ -33,16 +33,14 @@ import containerd_types "github.com/containerd/containerd/api/types"
|
|||||||
|
|
||||||
import time "time"
|
import time "time"
|
||||||
|
|
||||||
import (
|
import context "golang.org/x/net/context"
|
||||||
context "golang.org/x/net/context"
|
import grpc "google.golang.org/grpc"
|
||||||
grpc "google.golang.org/grpc"
|
|
||||||
)
|
|
||||||
|
|
||||||
import github_com_gogo_protobuf_types "github.com/gogo/protobuf/types"
|
import types "github.com/gogo/protobuf/types"
|
||||||
|
|
||||||
import strings "strings"
|
import strings "strings"
|
||||||
import reflect "reflect"
|
import reflect "reflect"
|
||||||
import github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
|
import sortkeys "github.com/gogo/protobuf/sortkeys"
|
||||||
|
|
||||||
import io "io"
|
import io "io"
|
||||||
|
|
||||||
@ -455,16 +453,16 @@ func (m *Image) MarshalTo(dAtA []byte) (int, error) {
|
|||||||
i += n1
|
i += n1
|
||||||
dAtA[i] = 0x3a
|
dAtA[i] = 0x3a
|
||||||
i++
|
i++
|
||||||
i = encodeVarintImages(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdTime(m.CreatedAt)))
|
i = encodeVarintImages(dAtA, i, uint64(types.SizeOfStdTime(m.CreatedAt)))
|
||||||
n2, err := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.CreatedAt, dAtA[i:])
|
n2, err := types.StdTimeMarshalTo(m.CreatedAt, dAtA[i:])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
i += n2
|
i += n2
|
||||||
dAtA[i] = 0x42
|
dAtA[i] = 0x42
|
||||||
i++
|
i++
|
||||||
i = encodeVarintImages(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdTime(m.UpdatedAt)))
|
i = encodeVarintImages(dAtA, i, uint64(types.SizeOfStdTime(m.UpdatedAt)))
|
||||||
n3, err := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.UpdatedAt, dAtA[i:])
|
n3, err := types.StdTimeMarshalTo(m.UpdatedAt, dAtA[i:])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
@ -761,9 +759,9 @@ func (m *Image) Size() (n int) {
|
|||||||
}
|
}
|
||||||
l = m.Target.Size()
|
l = m.Target.Size()
|
||||||
n += 1 + l + sovImages(uint64(l))
|
n += 1 + l + sovImages(uint64(l))
|
||||||
l = github_com_gogo_protobuf_types.SizeOfStdTime(m.CreatedAt)
|
l = types.SizeOfStdTime(m.CreatedAt)
|
||||||
n += 1 + l + sovImages(uint64(l))
|
n += 1 + l + sovImages(uint64(l))
|
||||||
l = github_com_gogo_protobuf_types.SizeOfStdTime(m.UpdatedAt)
|
l = types.SizeOfStdTime(m.UpdatedAt)
|
||||||
n += 1 + l + sovImages(uint64(l))
|
n += 1 + l + sovImages(uint64(l))
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
@ -882,7 +880,7 @@ func (this *Image) String() string {
|
|||||||
for k, _ := range this.Labels {
|
for k, _ := range this.Labels {
|
||||||
keysForLabels = append(keysForLabels, k)
|
keysForLabels = append(keysForLabels, k)
|
||||||
}
|
}
|
||||||
github_com_gogo_protobuf_sortkeys.Strings(keysForLabels)
|
sortkeys.Strings(keysForLabels)
|
||||||
mapStringForLabels := "map[string]string{"
|
mapStringForLabels := "map[string]string{"
|
||||||
for _, k := range keysForLabels {
|
for _, k := range keysForLabels {
|
||||||
mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
|
mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
|
||||||
@ -1230,7 +1228,7 @@ func (m *Image) Unmarshal(dAtA []byte) error {
|
|||||||
if postIndex > l {
|
if postIndex > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.CreatedAt, dAtA[iNdEx:postIndex]); err != nil {
|
if err := types.StdTimeUnmarshal(&m.CreatedAt, dAtA[iNdEx:postIndex]); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
@ -1260,7 +1258,7 @@ func (m *Image) Unmarshal(dAtA []byte) error {
|
|||||||
if postIndex > l {
|
if postIndex > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.UpdatedAt, dAtA[iNdEx:postIndex]); err != nil {
|
if err := types.StdTimeUnmarshal(&m.UpdatedAt, dAtA[iNdEx:postIndex]); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
|
@ -18,18 +18,16 @@ import proto "github.com/gogo/protobuf/proto"
|
|||||||
import fmt "fmt"
|
import fmt "fmt"
|
||||||
import math "math"
|
import math "math"
|
||||||
import containerd_types "github.com/containerd/containerd/api/types"
|
import containerd_types "github.com/containerd/containerd/api/types"
|
||||||
import google_rpc "github.com/containerd/containerd/protobuf/google/rpc"
|
import google_rpc "github.com/gogo/googleapis/google/rpc"
|
||||||
|
|
||||||
// skipping weak import gogoproto "github.com/gogo/protobuf/gogoproto"
|
// skipping weak import gogoproto "github.com/gogo/protobuf/gogoproto"
|
||||||
|
|
||||||
import (
|
import context "golang.org/x/net/context"
|
||||||
context "golang.org/x/net/context"
|
import grpc "google.golang.org/grpc"
|
||||||
grpc "google.golang.org/grpc"
|
|
||||||
)
|
|
||||||
|
|
||||||
import strings "strings"
|
import strings "strings"
|
||||||
import reflect "reflect"
|
import reflect "reflect"
|
||||||
import github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
|
import sortkeys "github.com/gogo/protobuf/sortkeys"
|
||||||
|
|
||||||
import io "io"
|
import io "io"
|
||||||
|
|
||||||
@ -460,7 +458,7 @@ func (this *Plugin) String() string {
|
|||||||
for k, _ := range this.Exports {
|
for k, _ := range this.Exports {
|
||||||
keysForExports = append(keysForExports, k)
|
keysForExports = append(keysForExports, k)
|
||||||
}
|
}
|
||||||
github_com_gogo_protobuf_sortkeys.Strings(keysForExports)
|
sortkeys.Strings(keysForExports)
|
||||||
mapStringForExports := "map[string]string{"
|
mapStringForExports := "map[string]string{"
|
||||||
for _, k := range keysForExports {
|
for _, k := range keysForExports {
|
||||||
mapStringForExports += fmt.Sprintf("%v: %v,", k, this.Exports[k])
|
mapStringForExports += fmt.Sprintf("%v: %v,", k, this.Exports[k])
|
||||||
|
@ -27,16 +27,14 @@ import _ "github.com/gogo/protobuf/types"
|
|||||||
|
|
||||||
import time "time"
|
import time "time"
|
||||||
|
|
||||||
import (
|
import context "golang.org/x/net/context"
|
||||||
context "golang.org/x/net/context"
|
import grpc "google.golang.org/grpc"
|
||||||
grpc "google.golang.org/grpc"
|
|
||||||
)
|
|
||||||
|
|
||||||
import github_com_gogo_protobuf_types "github.com/gogo/protobuf/types"
|
import types "github.com/gogo/protobuf/types"
|
||||||
|
|
||||||
import strings "strings"
|
import strings "strings"
|
||||||
import reflect "reflect"
|
import reflect "reflect"
|
||||||
import github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
|
import sortkeys "github.com/gogo/protobuf/sortkeys"
|
||||||
|
|
||||||
import io "io"
|
import io "io"
|
||||||
|
|
||||||
@ -290,8 +288,8 @@ func (m *Lease) MarshalTo(dAtA []byte) (int, error) {
|
|||||||
}
|
}
|
||||||
dAtA[i] = 0x12
|
dAtA[i] = 0x12
|
||||||
i++
|
i++
|
||||||
i = encodeVarintLeases(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdTime(m.CreatedAt)))
|
i = encodeVarintLeases(dAtA, i, uint64(types.SizeOfStdTime(m.CreatedAt)))
|
||||||
n1, err := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.CreatedAt, dAtA[i:])
|
n1, err := types.StdTimeMarshalTo(m.CreatedAt, dAtA[i:])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
@ -488,7 +486,7 @@ func (m *Lease) Size() (n int) {
|
|||||||
if l > 0 {
|
if l > 0 {
|
||||||
n += 1 + l + sovLeases(uint64(l))
|
n += 1 + l + sovLeases(uint64(l))
|
||||||
}
|
}
|
||||||
l = github_com_gogo_protobuf_types.SizeOfStdTime(m.CreatedAt)
|
l = types.SizeOfStdTime(m.CreatedAt)
|
||||||
n += 1 + l + sovLeases(uint64(l))
|
n += 1 + l + sovLeases(uint64(l))
|
||||||
if len(m.Labels) > 0 {
|
if len(m.Labels) > 0 {
|
||||||
for k, v := range m.Labels {
|
for k, v := range m.Labels {
|
||||||
@ -584,7 +582,7 @@ func (this *Lease) String() string {
|
|||||||
for k, _ := range this.Labels {
|
for k, _ := range this.Labels {
|
||||||
keysForLabels = append(keysForLabels, k)
|
keysForLabels = append(keysForLabels, k)
|
||||||
}
|
}
|
||||||
github_com_gogo_protobuf_sortkeys.Strings(keysForLabels)
|
sortkeys.Strings(keysForLabels)
|
||||||
mapStringForLabels := "map[string]string{"
|
mapStringForLabels := "map[string]string{"
|
||||||
for _, k := range keysForLabels {
|
for _, k := range keysForLabels {
|
||||||
mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
|
mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
|
||||||
@ -606,7 +604,7 @@ func (this *CreateRequest) String() string {
|
|||||||
for k, _ := range this.Labels {
|
for k, _ := range this.Labels {
|
||||||
keysForLabels = append(keysForLabels, k)
|
keysForLabels = append(keysForLabels, k)
|
||||||
}
|
}
|
||||||
github_com_gogo_protobuf_sortkeys.Strings(keysForLabels)
|
sortkeys.Strings(keysForLabels)
|
||||||
mapStringForLabels := "map[string]string{"
|
mapStringForLabels := "map[string]string{"
|
||||||
for _, k := range keysForLabels {
|
for _, k := range keysForLabels {
|
||||||
mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
|
mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
|
||||||
@ -751,7 +749,7 @@ func (m *Lease) Unmarshal(dAtA []byte) error {
|
|||||||
if postIndex > l {
|
if postIndex > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.CreatedAt, dAtA[iNdEx:postIndex]); err != nil {
|
if err := types.StdTimeUnmarshal(&m.CreatedAt, dAtA[iNdEx:postIndex]); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
|
@ -29,14 +29,12 @@ import math "math"
|
|||||||
import google_protobuf1 "github.com/gogo/protobuf/types"
|
import google_protobuf1 "github.com/gogo/protobuf/types"
|
||||||
import google_protobuf2 "github.com/gogo/protobuf/types"
|
import google_protobuf2 "github.com/gogo/protobuf/types"
|
||||||
|
|
||||||
import (
|
import context "golang.org/x/net/context"
|
||||||
context "golang.org/x/net/context"
|
import grpc "google.golang.org/grpc"
|
||||||
grpc "google.golang.org/grpc"
|
|
||||||
)
|
|
||||||
|
|
||||||
import strings "strings"
|
import strings "strings"
|
||||||
import reflect "reflect"
|
import reflect "reflect"
|
||||||
import github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
|
import sortkeys "github.com/gogo/protobuf/sortkeys"
|
||||||
|
|
||||||
import io "io"
|
import io "io"
|
||||||
|
|
||||||
@ -787,7 +785,7 @@ func (this *Namespace) String() string {
|
|||||||
for k, _ := range this.Labels {
|
for k, _ := range this.Labels {
|
||||||
keysForLabels = append(keysForLabels, k)
|
keysForLabels = append(keysForLabels, k)
|
||||||
}
|
}
|
||||||
github_com_gogo_protobuf_sortkeys.Strings(keysForLabels)
|
sortkeys.Strings(keysForLabels)
|
||||||
mapStringForLabels := "map[string]string{"
|
mapStringForLabels := "map[string]string{"
|
||||||
for _, k := range keysForLabels {
|
for _, k := range keysForLabels {
|
||||||
mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
|
mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
|
||||||
|
@ -40,16 +40,14 @@ import containerd_types "github.com/containerd/containerd/api/types"
|
|||||||
|
|
||||||
import time "time"
|
import time "time"
|
||||||
|
|
||||||
import (
|
import context "golang.org/x/net/context"
|
||||||
context "golang.org/x/net/context"
|
import grpc "google.golang.org/grpc"
|
||||||
grpc "google.golang.org/grpc"
|
|
||||||
)
|
|
||||||
|
|
||||||
import github_com_gogo_protobuf_types "github.com/gogo/protobuf/types"
|
import types "github.com/gogo/protobuf/types"
|
||||||
|
|
||||||
import strings "strings"
|
import strings "strings"
|
||||||
import reflect "reflect"
|
import reflect "reflect"
|
||||||
import github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
|
import sortkeys "github.com/gogo/protobuf/sortkeys"
|
||||||
|
|
||||||
import io "io"
|
import io "io"
|
||||||
|
|
||||||
@ -1027,16 +1025,16 @@ func (m *Info) MarshalTo(dAtA []byte) (int, error) {
|
|||||||
}
|
}
|
||||||
dAtA[i] = 0x22
|
dAtA[i] = 0x22
|
||||||
i++
|
i++
|
||||||
i = encodeVarintSnapshots(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdTime(m.CreatedAt)))
|
i = encodeVarintSnapshots(dAtA, i, uint64(types.SizeOfStdTime(m.CreatedAt)))
|
||||||
n1, err := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.CreatedAt, dAtA[i:])
|
n1, err := types.StdTimeMarshalTo(m.CreatedAt, dAtA[i:])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
i += n1
|
i += n1
|
||||||
dAtA[i] = 0x2a
|
dAtA[i] = 0x2a
|
||||||
i++
|
i++
|
||||||
i = encodeVarintSnapshots(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdTime(m.UpdatedAt)))
|
i = encodeVarintSnapshots(dAtA, i, uint64(types.SizeOfStdTime(m.UpdatedAt)))
|
||||||
n2, err := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.UpdatedAt, dAtA[i:])
|
n2, err := types.StdTimeMarshalTo(m.UpdatedAt, dAtA[i:])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
@ -1446,9 +1444,9 @@ func (m *Info) Size() (n int) {
|
|||||||
if m.Kind != 0 {
|
if m.Kind != 0 {
|
||||||
n += 1 + sovSnapshots(uint64(m.Kind))
|
n += 1 + sovSnapshots(uint64(m.Kind))
|
||||||
}
|
}
|
||||||
l = github_com_gogo_protobuf_types.SizeOfStdTime(m.CreatedAt)
|
l = types.SizeOfStdTime(m.CreatedAt)
|
||||||
n += 1 + l + sovSnapshots(uint64(l))
|
n += 1 + l + sovSnapshots(uint64(l))
|
||||||
l = github_com_gogo_protobuf_types.SizeOfStdTime(m.UpdatedAt)
|
l = types.SizeOfStdTime(m.UpdatedAt)
|
||||||
n += 1 + l + sovSnapshots(uint64(l))
|
n += 1 + l + sovSnapshots(uint64(l))
|
||||||
if len(m.Labels) > 0 {
|
if len(m.Labels) > 0 {
|
||||||
for k, v := range m.Labels {
|
for k, v := range m.Labels {
|
||||||
@ -1562,7 +1560,7 @@ func (this *PrepareSnapshotRequest) String() string {
|
|||||||
for k, _ := range this.Labels {
|
for k, _ := range this.Labels {
|
||||||
keysForLabels = append(keysForLabels, k)
|
keysForLabels = append(keysForLabels, k)
|
||||||
}
|
}
|
||||||
github_com_gogo_protobuf_sortkeys.Strings(keysForLabels)
|
sortkeys.Strings(keysForLabels)
|
||||||
mapStringForLabels := "map[string]string{"
|
mapStringForLabels := "map[string]string{"
|
||||||
for _, k := range keysForLabels {
|
for _, k := range keysForLabels {
|
||||||
mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
|
mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
|
||||||
@ -1595,7 +1593,7 @@ func (this *ViewSnapshotRequest) String() string {
|
|||||||
for k, _ := range this.Labels {
|
for k, _ := range this.Labels {
|
||||||
keysForLabels = append(keysForLabels, k)
|
keysForLabels = append(keysForLabels, k)
|
||||||
}
|
}
|
||||||
github_com_gogo_protobuf_sortkeys.Strings(keysForLabels)
|
sortkeys.Strings(keysForLabels)
|
||||||
mapStringForLabels := "map[string]string{"
|
mapStringForLabels := "map[string]string{"
|
||||||
for _, k := range keysForLabels {
|
for _, k := range keysForLabels {
|
||||||
mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
|
mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
|
||||||
@ -1660,7 +1658,7 @@ func (this *CommitSnapshotRequest) String() string {
|
|||||||
for k, _ := range this.Labels {
|
for k, _ := range this.Labels {
|
||||||
keysForLabels = append(keysForLabels, k)
|
keysForLabels = append(keysForLabels, k)
|
||||||
}
|
}
|
||||||
github_com_gogo_protobuf_sortkeys.Strings(keysForLabels)
|
sortkeys.Strings(keysForLabels)
|
||||||
mapStringForLabels := "map[string]string{"
|
mapStringForLabels := "map[string]string{"
|
||||||
for _, k := range keysForLabels {
|
for _, k := range keysForLabels {
|
||||||
mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
|
mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
|
||||||
@ -1694,7 +1692,7 @@ func (this *Info) String() string {
|
|||||||
for k, _ := range this.Labels {
|
for k, _ := range this.Labels {
|
||||||
keysForLabels = append(keysForLabels, k)
|
keysForLabels = append(keysForLabels, k)
|
||||||
}
|
}
|
||||||
github_com_gogo_protobuf_sortkeys.Strings(keysForLabels)
|
sortkeys.Strings(keysForLabels)
|
||||||
mapStringForLabels := "map[string]string{"
|
mapStringForLabels := "map[string]string{"
|
||||||
for _, k := range keysForLabels {
|
for _, k := range keysForLabels {
|
||||||
mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
|
mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
|
||||||
@ -3257,7 +3255,7 @@ func (m *Info) Unmarshal(dAtA []byte) error {
|
|||||||
if postIndex > l {
|
if postIndex > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.CreatedAt, dAtA[iNdEx:postIndex]); err != nil {
|
if err := types.StdTimeUnmarshal(&m.CreatedAt, dAtA[iNdEx:postIndex]); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
@ -3287,7 +3285,7 @@ func (m *Info) Unmarshal(dAtA []byte) error {
|
|||||||
if postIndex > l {
|
if postIndex > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.UpdatedAt, dAtA[iNdEx:postIndex]); err != nil {
|
if err := types.StdTimeUnmarshal(&m.UpdatedAt, dAtA[iNdEx:postIndex]); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
|
@ -54,12 +54,10 @@ import _ "github.com/gogo/protobuf/types"
|
|||||||
import time "time"
|
import time "time"
|
||||||
import github_com_opencontainers_go_digest "github.com/opencontainers/go-digest"
|
import github_com_opencontainers_go_digest "github.com/opencontainers/go-digest"
|
||||||
|
|
||||||
import (
|
import context "golang.org/x/net/context"
|
||||||
context "golang.org/x/net/context"
|
import grpc "google.golang.org/grpc"
|
||||||
grpc "google.golang.org/grpc"
|
|
||||||
)
|
|
||||||
|
|
||||||
import github_com_gogo_protobuf_types "github.com/gogo/protobuf/types"
|
import types "github.com/gogo/protobuf/types"
|
||||||
|
|
||||||
import strings "strings"
|
import strings "strings"
|
||||||
import reflect "reflect"
|
import reflect "reflect"
|
||||||
@ -1198,8 +1196,8 @@ func (m *DeleteResponse) MarshalTo(dAtA []byte) (int, error) {
|
|||||||
}
|
}
|
||||||
dAtA[i] = 0x22
|
dAtA[i] = 0x22
|
||||||
i++
|
i++
|
||||||
i = encodeVarintTasks(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdTime(m.ExitedAt)))
|
i = encodeVarintTasks(dAtA, i, uint64(types.SizeOfStdTime(m.ExitedAt)))
|
||||||
n3, err := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.ExitedAt, dAtA[i:])
|
n3, err := types.StdTimeMarshalTo(m.ExitedAt, dAtA[i:])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
@ -1881,8 +1879,8 @@ 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(types.SizeOfStdTime(m.ExitedAt)))
|
||||||
n8, err := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.ExitedAt, dAtA[i:])
|
n8, err := types.StdTimeMarshalTo(m.ExitedAt, dAtA[i:])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
@ -1997,7 +1995,7 @@ func (m *DeleteResponse) Size() (n int) {
|
|||||||
if m.ExitStatus != 0 {
|
if m.ExitStatus != 0 {
|
||||||
n += 1 + sovTasks(uint64(m.ExitStatus))
|
n += 1 + sovTasks(uint64(m.ExitStatus))
|
||||||
}
|
}
|
||||||
l = github_com_gogo_protobuf_types.SizeOfStdTime(m.ExitedAt)
|
l = types.SizeOfStdTime(m.ExitedAt)
|
||||||
n += 1 + l + sovTasks(uint64(l))
|
n += 1 + l + sovTasks(uint64(l))
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
@ -2288,7 +2286,7 @@ func (m *WaitResponse) Size() (n int) {
|
|||||||
if m.ExitStatus != 0 {
|
if m.ExitStatus != 0 {
|
||||||
n += 1 + sovTasks(uint64(m.ExitStatus))
|
n += 1 + sovTasks(uint64(m.ExitStatus))
|
||||||
}
|
}
|
||||||
l = github_com_gogo_protobuf_types.SizeOfStdTime(m.ExitedAt)
|
l = types.SizeOfStdTime(m.ExitedAt)
|
||||||
n += 1 + l + sovTasks(uint64(l))
|
n += 1 + l + sovTasks(uint64(l))
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
@ -3375,7 +3373,7 @@ func (m *DeleteResponse) Unmarshal(dAtA []byte) error {
|
|||||||
if postIndex > l {
|
if postIndex > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.ExitedAt, dAtA[iNdEx:postIndex]); err != nil {
|
if err := types.StdTimeUnmarshal(&m.ExitedAt, dAtA[iNdEx:postIndex]); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
@ -5572,7 +5570,7 @@ func (m *WaitResponse) Unmarshal(dAtA []byte) error {
|
|||||||
if postIndex > l {
|
if postIndex > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.ExitedAt, dAtA[iNdEx:postIndex]); err != nil {
|
if err := types.StdTimeUnmarshal(&m.ExitedAt, dAtA[iNdEx:postIndex]); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
|
@ -19,10 +19,8 @@ import google_protobuf "github.com/gogo/protobuf/types"
|
|||||||
|
|
||||||
// skipping weak import gogoproto "github.com/gogo/protobuf/gogoproto"
|
// skipping weak import gogoproto "github.com/gogo/protobuf/gogoproto"
|
||||||
|
|
||||||
import (
|
import context "golang.org/x/net/context"
|
||||||
context "golang.org/x/net/context"
|
import grpc "google.golang.org/grpc"
|
||||||
grpc "google.golang.org/grpc"
|
|
||||||
)
|
|
||||||
|
|
||||||
import strings "strings"
|
import strings "strings"
|
||||||
import reflect "reflect"
|
import reflect "reflect"
|
||||||
|
@ -13,7 +13,7 @@ import _ "github.com/gogo/protobuf/types"
|
|||||||
|
|
||||||
import time "time"
|
import time "time"
|
||||||
|
|
||||||
import github_com_gogo_protobuf_types "github.com/gogo/protobuf/types"
|
import types1 "github.com/gogo/protobuf/types"
|
||||||
|
|
||||||
import strings "strings"
|
import strings "strings"
|
||||||
import reflect "reflect"
|
import reflect "reflect"
|
||||||
@ -56,8 +56,8 @@ func (m *Metric) MarshalTo(dAtA []byte) (int, error) {
|
|||||||
_ = l
|
_ = l
|
||||||
dAtA[i] = 0xa
|
dAtA[i] = 0xa
|
||||||
i++
|
i++
|
||||||
i = encodeVarintMetrics(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdTime(m.Timestamp)))
|
i = encodeVarintMetrics(dAtA, i, uint64(types1.SizeOfStdTime(m.Timestamp)))
|
||||||
n1, err := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Timestamp, dAtA[i:])
|
n1, err := types1.StdTimeMarshalTo(m.Timestamp, dAtA[i:])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
@ -93,7 +93,7 @@ func encodeVarintMetrics(dAtA []byte, offset int, v uint64) int {
|
|||||||
func (m *Metric) Size() (n int) {
|
func (m *Metric) Size() (n int) {
|
||||||
var l int
|
var l int
|
||||||
_ = l
|
_ = l
|
||||||
l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Timestamp)
|
l = types1.SizeOfStdTime(m.Timestamp)
|
||||||
n += 1 + l + sovMetrics(uint64(l))
|
n += 1 + l + sovMetrics(uint64(l))
|
||||||
l = len(m.ID)
|
l = len(m.ID)
|
||||||
if l > 0 {
|
if l > 0 {
|
||||||
@ -194,7 +194,7 @@ func (m *Metric) Unmarshal(dAtA []byte) error {
|
|||||||
if postIndex > l {
|
if postIndex > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.Timestamp, dAtA[iNdEx:postIndex]); err != nil {
|
if err := types1.StdTimeUnmarshal(&m.Timestamp, dAtA[iNdEx:postIndex]); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
|
@ -23,7 +23,7 @@ import google_protobuf2 "github.com/gogo/protobuf/types"
|
|||||||
|
|
||||||
import time "time"
|
import time "time"
|
||||||
|
|
||||||
import github_com_gogo_protobuf_types "github.com/gogo/protobuf/types"
|
import types "github.com/gogo/protobuf/types"
|
||||||
|
|
||||||
import strings "strings"
|
import strings "strings"
|
||||||
import reflect "reflect"
|
import reflect "reflect"
|
||||||
@ -182,8 +182,8 @@ func (m *Process) MarshalTo(dAtA []byte) (int, error) {
|
|||||||
}
|
}
|
||||||
dAtA[i] = 0x52
|
dAtA[i] = 0x52
|
||||||
i++
|
i++
|
||||||
i = encodeVarintTask(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdTime(m.ExitedAt)))
|
i = encodeVarintTask(dAtA, i, uint64(types.SizeOfStdTime(m.ExitedAt)))
|
||||||
n1, err := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.ExitedAt, dAtA[i:])
|
n1, err := types.StdTimeMarshalTo(m.ExitedAt, dAtA[i:])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
@ -268,7 +268,7 @@ func (m *Process) Size() (n int) {
|
|||||||
if m.ExitStatus != 0 {
|
if m.ExitStatus != 0 {
|
||||||
n += 1 + sovTask(uint64(m.ExitStatus))
|
n += 1 + sovTask(uint64(m.ExitStatus))
|
||||||
}
|
}
|
||||||
l = github_com_gogo_protobuf_types.SizeOfStdTime(m.ExitedAt)
|
l = types.SizeOfStdTime(m.ExitedAt)
|
||||||
n += 1 + l + sovTask(uint64(l))
|
n += 1 + l + sovTask(uint64(l))
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
@ -614,7 +614,7 @@ func (m *Process) Unmarshal(dAtA []byte) error {
|
|||||||
if postIndex > l {
|
if postIndex > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.ExitedAt, dAtA[iNdEx:postIndex]); err != nil {
|
if err := types.StdTimeUnmarshal(&m.ExitedAt, dAtA[iNdEx:postIndex]); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
|
@ -44,13 +44,13 @@ import containerd_v1_types "github.com/containerd/containerd/api/types/task"
|
|||||||
|
|
||||||
import time "time"
|
import time "time"
|
||||||
|
|
||||||
import github_com_gogo_protobuf_types "github.com/gogo/protobuf/types"
|
import types "github.com/gogo/protobuf/types"
|
||||||
|
|
||||||
import strings "strings"
|
import strings "strings"
|
||||||
import reflect "reflect"
|
import reflect "reflect"
|
||||||
|
|
||||||
import context "context"
|
import context "context"
|
||||||
import github_com_stevvooe_ttrpc "github.com/stevvooe/ttrpc"
|
import ttrpc "github.com/stevvooe/ttrpc"
|
||||||
|
|
||||||
import io "io"
|
import io "io"
|
||||||
|
|
||||||
@ -429,8 +429,8 @@ func (m *DeleteResponse) MarshalTo(dAtA []byte) (int, error) {
|
|||||||
}
|
}
|
||||||
dAtA[i] = 0x1a
|
dAtA[i] = 0x1a
|
||||||
i++
|
i++
|
||||||
i = encodeVarintShim(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdTime(m.ExitedAt)))
|
i = encodeVarintShim(dAtA, i, uint64(types.SizeOfStdTime(m.ExitedAt)))
|
||||||
n2, err := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.ExitedAt, dAtA[i:])
|
n2, err := types.StdTimeMarshalTo(m.ExitedAt, dAtA[i:])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
@ -672,8 +672,8 @@ func (m *StateResponse) MarshalTo(dAtA []byte) (int, error) {
|
|||||||
}
|
}
|
||||||
dAtA[i] = 0x52
|
dAtA[i] = 0x52
|
||||||
i++
|
i++
|
||||||
i = encodeVarintShim(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdTime(m.ExitedAt)))
|
i = encodeVarintShim(dAtA, i, uint64(types.SizeOfStdTime(m.ExitedAt)))
|
||||||
n4, err := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.ExitedAt, dAtA[i:])
|
n4, err := types.StdTimeMarshalTo(m.ExitedAt, dAtA[i:])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
@ -992,8 +992,8 @@ func (m *WaitResponse) MarshalTo(dAtA []byte) (int, error) {
|
|||||||
}
|
}
|
||||||
dAtA[i] = 0x12
|
dAtA[i] = 0x12
|
||||||
i++
|
i++
|
||||||
i = encodeVarintShim(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdTime(m.ExitedAt)))
|
i = encodeVarintShim(dAtA, i, uint64(types.SizeOfStdTime(m.ExitedAt)))
|
||||||
n7, err := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.ExitedAt, dAtA[i:])
|
n7, err := types.StdTimeMarshalTo(m.ExitedAt, dAtA[i:])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
@ -1079,7 +1079,7 @@ func (m *DeleteResponse) Size() (n int) {
|
|||||||
if m.ExitStatus != 0 {
|
if m.ExitStatus != 0 {
|
||||||
n += 1 + sovShim(uint64(m.ExitStatus))
|
n += 1 + sovShim(uint64(m.ExitStatus))
|
||||||
}
|
}
|
||||||
l = github_com_gogo_protobuf_types.SizeOfStdTime(m.ExitedAt)
|
l = types.SizeOfStdTime(m.ExitedAt)
|
||||||
n += 1 + l + sovShim(uint64(l))
|
n += 1 + l + sovShim(uint64(l))
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
@ -1190,7 +1190,7 @@ func (m *StateResponse) Size() (n int) {
|
|||||||
if m.ExitStatus != 0 {
|
if m.ExitStatus != 0 {
|
||||||
n += 1 + sovShim(uint64(m.ExitStatus))
|
n += 1 + sovShim(uint64(m.ExitStatus))
|
||||||
}
|
}
|
||||||
l = github_com_gogo_protobuf_types.SizeOfStdTime(m.ExitedAt)
|
l = types.SizeOfStdTime(m.ExitedAt)
|
||||||
n += 1 + l + sovShim(uint64(l))
|
n += 1 + l + sovShim(uint64(l))
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
@ -1318,7 +1318,7 @@ func (m *WaitResponse) Size() (n int) {
|
|||||||
if m.ExitStatus != 0 {
|
if m.ExitStatus != 0 {
|
||||||
n += 1 + sovShim(uint64(m.ExitStatus))
|
n += 1 + sovShim(uint64(m.ExitStatus))
|
||||||
}
|
}
|
||||||
l = github_com_gogo_protobuf_types.SizeOfStdTime(m.ExitedAt)
|
l = types.SizeOfStdTime(m.ExitedAt)
|
||||||
n += 1 + l + sovShim(uint64(l))
|
n += 1 + l + sovShim(uint64(l))
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
@ -1597,8 +1597,8 @@ type ShimService interface {
|
|||||||
Wait(ctx context.Context, req *WaitRequest) (*WaitResponse, error)
|
Wait(ctx context.Context, req *WaitRequest) (*WaitResponse, error)
|
||||||
}
|
}
|
||||||
|
|
||||||
func RegisterShimService(srv *github_com_stevvooe_ttrpc.Server, svc ShimService) {
|
func RegisterShimService(srv *ttrpc.Server, svc ShimService) {
|
||||||
srv.Register("containerd.runtime.linux.shim.v1.Shim", map[string]github_com_stevvooe_ttrpc.Method{
|
srv.Register("containerd.runtime.linux.shim.v1.Shim", map[string]ttrpc.Method{
|
||||||
"State": func(ctx context.Context, unmarshal func(interface{}) error) (interface{}, error) {
|
"State": func(ctx context.Context, unmarshal func(interface{}) error) (interface{}, error) {
|
||||||
var req StateRequest
|
var req StateRequest
|
||||||
if err := unmarshal(&req); err != nil {
|
if err := unmarshal(&req); err != nil {
|
||||||
@ -1715,10 +1715,10 @@ func RegisterShimService(srv *github_com_stevvooe_ttrpc.Server, svc ShimService)
|
|||||||
}
|
}
|
||||||
|
|
||||||
type shimClient struct {
|
type shimClient struct {
|
||||||
client *github_com_stevvooe_ttrpc.Client
|
client *ttrpc.Client
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewShimClient(client *github_com_stevvooe_ttrpc.Client) ShimService {
|
func NewShimClient(client *ttrpc.Client) ShimService {
|
||||||
return &shimClient{
|
return &shimClient{
|
||||||
client: client,
|
client: client,
|
||||||
}
|
}
|
||||||
@ -2379,7 +2379,7 @@ func (m *DeleteResponse) Unmarshal(dAtA []byte) error {
|
|||||||
if postIndex > l {
|
if postIndex > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.ExitedAt, dAtA[iNdEx:postIndex]); err != nil {
|
if err := types.StdTimeUnmarshal(&m.ExitedAt, dAtA[iNdEx:postIndex]); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
@ -3225,7 +3225,7 @@ func (m *StateResponse) Unmarshal(dAtA []byte) error {
|
|||||||
if postIndex > l {
|
if postIndex > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.ExitedAt, dAtA[iNdEx:postIndex]); err != nil {
|
if err := types.StdTimeUnmarshal(&m.ExitedAt, dAtA[iNdEx:postIndex]); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
@ -4221,7 +4221,7 @@ func (m *WaitResponse) Unmarshal(dAtA []byte) error {
|
|||||||
if postIndex > l {
|
if postIndex > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.ExitedAt, dAtA[iNdEx:postIndex]); err != nil {
|
if err := types.StdTimeUnmarshal(&m.ExitedAt, dAtA[iNdEx:postIndex]); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
|
@ -1,18 +0,0 @@
|
|||||||
This package copies definitions used with GRPC to represent error conditions
|
|
||||||
within GRPC data types. These files are licensed under the provisions outlined
|
|
||||||
at the top of each file.
|
|
||||||
|
|
||||||
## `containerd`
|
|
||||||
|
|
||||||
This is moved from the [googleapis
|
|
||||||
project](https://github.com/googleapis/googleapis/tree/master/google/rpc) to
|
|
||||||
allow us to regenerate these types for use with gogoprotobuf. We can move this
|
|
||||||
away if google can generate these sensibly.
|
|
||||||
|
|
||||||
These files were imported from changes after
|
|
||||||
7f47d894837ac1701ee555fd5c3d70e5d4a796b1. Updates should not be required.
|
|
||||||
|
|
||||||
The other option is to get these into an upstream project, like gogoprotobuf.
|
|
||||||
|
|
||||||
Note that the `go_package` option has been changed so that they generate
|
|
||||||
correctly in a common package in the containerd project.
|
|
@ -1,17 +0,0 @@
|
|||||||
/*
|
|
||||||
Copyright The containerd Authors.
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
package rpc
|
|
@ -22,7 +22,7 @@ import (
|
|||||||
"github.com/containerd/containerd/errdefs"
|
"github.com/containerd/containerd/errdefs"
|
||||||
"github.com/containerd/containerd/filters"
|
"github.com/containerd/containerd/filters"
|
||||||
"github.com/containerd/containerd/plugin"
|
"github.com/containerd/containerd/plugin"
|
||||||
"github.com/containerd/containerd/protobuf/google/rpc"
|
"github.com/gogo/googleapis/google/rpc"
|
||||||
ptypes "github.com/gogo/protobuf/types"
|
ptypes "github.com/gogo/protobuf/types"
|
||||||
context "golang.org/x/net/context"
|
context "golang.org/x/net/context"
|
||||||
"google.golang.org/grpc"
|
"google.golang.org/grpc"
|
||||||
@ -142,7 +142,7 @@ func pluginsToPB(plugins []*plugin.Plugin) []api.Plugin {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
initErr = &rpc.Status{
|
initErr = &rpc.Status{
|
||||||
Code: int32(rpc.Code_UNKNOWN),
|
Code: int32(rpc.UNKNOWN),
|
||||||
Message: err.Error(),
|
Message: err.Error(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,8 @@ github.com/prometheus/common 89604d197083d4781071d3c65855d24ecfb0a563
|
|||||||
github.com/prometheus/procfs cb4147076ac75738c9a7d279075a253c0cc5acbd
|
github.com/prometheus/procfs cb4147076ac75738c9a7d279075a253c0cc5acbd
|
||||||
github.com/beorn7/perks 4c0e84591b9aa9e6dcfdf3e020114cd81f89d5f9
|
github.com/beorn7/perks 4c0e84591b9aa9e6dcfdf3e020114cd81f89d5f9
|
||||||
github.com/matttproud/golang_protobuf_extensions v1.0.0
|
github.com/matttproud/golang_protobuf_extensions v1.0.0
|
||||||
github.com/gogo/protobuf v0.5
|
github.com/gogo/protobuf v1.0.0
|
||||||
|
github.com/gogo/googleapis 08a7655d27152912db7aaf4f983275eaf8d128ef
|
||||||
github.com/golang/protobuf 1643683e1b54a9e88ad26d98f81400c8c9d9f4f9
|
github.com/golang/protobuf 1643683e1b54a9e88ad26d98f81400c8c9d9f4f9
|
||||||
github.com/opencontainers/runtime-spec v1.0.1
|
github.com/opencontainers/runtime-spec v1.0.1
|
||||||
github.com/opencontainers/runc 69663f0bd4b60df09991c08812a60108003fa340
|
github.com/opencontainers/runc 69663f0bd4b60df09991c08812a60108003fa340
|
||||||
|
5
vendor/github.com/gogo/googleapis/Readme.md
generated
vendored
Normal file
5
vendor/github.com/gogo/googleapis/Readme.md
generated
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# Google APIs generated by gogoprotobuf
|
||||||
|
|
||||||
|
[](https://travis-ci.org/gogo/googleapis)
|
||||||
|
|
||||||
|
The [grpc-example](https://github.com/gogo/grpc-example) includes an example usage of this repository.
|
131
protobuf/google/rpc/code.pb.go → vendor/github.com/gogo/googleapis/google/rpc/code.pb.go
generated
vendored
131
protobuf/google/rpc/code.pb.go → vendor/github.com/gogo/googleapis/google/rpc/code.pb.go
generated
vendored
@ -1,43 +1,19 @@
|
|||||||
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
||||||
// source: github.com/containerd/containerd/protobuf/google/rpc/code.proto
|
// source: google/rpc/code.proto
|
||||||
|
|
||||||
/*
|
|
||||||
Package rpc is a generated protocol buffer package.
|
|
||||||
|
|
||||||
It is generated from these files:
|
|
||||||
github.com/containerd/containerd/protobuf/google/rpc/code.proto
|
|
||||||
github.com/containerd/containerd/protobuf/google/rpc/error_details.proto
|
|
||||||
github.com/containerd/containerd/protobuf/google/rpc/status.proto
|
|
||||||
|
|
||||||
It has these top-level messages:
|
|
||||||
RetryInfo
|
|
||||||
DebugInfo
|
|
||||||
QuotaFailure
|
|
||||||
PreconditionFailure
|
|
||||||
BadRequest
|
|
||||||
RequestInfo
|
|
||||||
ResourceInfo
|
|
||||||
Help
|
|
||||||
LocalizedMessage
|
|
||||||
Status
|
|
||||||
*/
|
|
||||||
package rpc
|
package rpc
|
||||||
|
|
||||||
import proto "github.com/gogo/protobuf/proto"
|
import proto "github.com/gogo/protobuf/proto"
|
||||||
import fmt "fmt"
|
import fmt "fmt"
|
||||||
import math "math"
|
import math "math"
|
||||||
|
|
||||||
|
import strconv "strconv"
|
||||||
|
|
||||||
// Reference imports to suppress errors if they are not otherwise used.
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
var _ = proto.Marshal
|
var _ = proto.Marshal
|
||||||
var _ = fmt.Errorf
|
var _ = fmt.Errorf
|
||||||
var _ = math.Inf
|
var _ = math.Inf
|
||||||
|
|
||||||
// This is a compile-time assertion to ensure that this generated file
|
|
||||||
// is compatible with the proto package it is being compiled against.
|
|
||||||
// A compilation error at this line likely means your copy of the
|
|
||||||
// proto package needs to be updated.
|
|
||||||
const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
|
|
||||||
|
|
||||||
// The canonical error codes for Google APIs.
|
// The canonical error codes for Google APIs.
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
@ -51,11 +27,11 @@ const (
|
|||||||
// Not an error; returned on success
|
// Not an error; returned on success
|
||||||
//
|
//
|
||||||
// HTTP Mapping: 200 OK
|
// HTTP Mapping: 200 OK
|
||||||
Code_OK Code = 0
|
OK Code = 0
|
||||||
// The operation was cancelled, typically by the caller.
|
// The operation was cancelled, typically by the caller.
|
||||||
//
|
//
|
||||||
// HTTP Mapping: 499 Client Closed Request
|
// HTTP Mapping: 499 Client Closed Request
|
||||||
Code_CANCELLED Code = 1
|
CANCELLED Code = 1
|
||||||
// Unknown error. For example, this error may be returned when
|
// Unknown error. For example, this error may be returned when
|
||||||
// a `Status` value received from another address space belongs to
|
// a `Status` value received from another address space belongs to
|
||||||
// an error space that is not known in this address space. Also
|
// an error space that is not known in this address space. Also
|
||||||
@ -63,14 +39,14 @@ const (
|
|||||||
// may be converted to this error.
|
// may be converted to this error.
|
||||||
//
|
//
|
||||||
// HTTP Mapping: 500 Internal Server Error
|
// HTTP Mapping: 500 Internal Server Error
|
||||||
Code_UNKNOWN Code = 2
|
UNKNOWN Code = 2
|
||||||
// The client specified an invalid argument. Note that this differs
|
// The client specified an invalid argument. Note that this differs
|
||||||
// from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments
|
// from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments
|
||||||
// that are problematic regardless of the state of the system
|
// that are problematic regardless of the state of the system
|
||||||
// (e.g., a malformed file name).
|
// (e.g., a malformed file name).
|
||||||
//
|
//
|
||||||
// HTTP Mapping: 400 Bad Request
|
// HTTP Mapping: 400 Bad Request
|
||||||
Code_INVALID_ARGUMENT Code = 3
|
INVALID_ARGUMENT Code = 3
|
||||||
// The deadline expired before the operation could complete. For operations
|
// The deadline expired before the operation could complete. For operations
|
||||||
// that change the state of the system, this error may be returned
|
// that change the state of the system, this error may be returned
|
||||||
// even if the operation has completed successfully. For example, a
|
// even if the operation has completed successfully. For example, a
|
||||||
@ -78,7 +54,7 @@ const (
|
|||||||
// enough for the deadline to expire.
|
// enough for the deadline to expire.
|
||||||
//
|
//
|
||||||
// HTTP Mapping: 504 Gateway Timeout
|
// HTTP Mapping: 504 Gateway Timeout
|
||||||
Code_DEADLINE_EXCEEDED Code = 4
|
DEADLINE_EXCEEDED Code = 4
|
||||||
// Some requested entity (e.g., file or directory) was not found.
|
// Some requested entity (e.g., file or directory) was not found.
|
||||||
//
|
//
|
||||||
// Note to server developers: if a request is denied for an entire class
|
// Note to server developers: if a request is denied for an entire class
|
||||||
@ -88,12 +64,12 @@ const (
|
|||||||
// must be used.
|
// must be used.
|
||||||
//
|
//
|
||||||
// HTTP Mapping: 404 Not Found
|
// HTTP Mapping: 404 Not Found
|
||||||
Code_NOT_FOUND Code = 5
|
NOT_FOUND Code = 5
|
||||||
// The entity that a client attempted to create (e.g., file or directory)
|
// The entity that a client attempted to create (e.g., file or directory)
|
||||||
// already exists.
|
// already exists.
|
||||||
//
|
//
|
||||||
// HTTP Mapping: 409 Conflict
|
// HTTP Mapping: 409 Conflict
|
||||||
Code_ALREADY_EXISTS Code = 6
|
ALREADY_EXISTS Code = 6
|
||||||
// The caller does not have permission to execute the specified
|
// The caller does not have permission to execute the specified
|
||||||
// operation. `PERMISSION_DENIED` must not be used for rejections
|
// operation. `PERMISSION_DENIED` must not be used for rejections
|
||||||
// caused by exhausting some resource (use `RESOURCE_EXHAUSTED`
|
// caused by exhausting some resource (use `RESOURCE_EXHAUSTED`
|
||||||
@ -104,17 +80,17 @@ const (
|
|||||||
// other pre-conditions.
|
// other pre-conditions.
|
||||||
//
|
//
|
||||||
// HTTP Mapping: 403 Forbidden
|
// HTTP Mapping: 403 Forbidden
|
||||||
Code_PERMISSION_DENIED Code = 7
|
PERMISSION_DENIED Code = 7
|
||||||
// The request does not have valid authentication credentials for the
|
// The request does not have valid authentication credentials for the
|
||||||
// operation.
|
// operation.
|
||||||
//
|
//
|
||||||
// HTTP Mapping: 401 Unauthorized
|
// HTTP Mapping: 401 Unauthorized
|
||||||
Code_UNAUTHENTICATED Code = 16
|
UNAUTHENTICATED Code = 16
|
||||||
// Some resource has been exhausted, perhaps a per-user quota, or
|
// Some resource has been exhausted, perhaps a per-user quota, or
|
||||||
// perhaps the entire file system is out of space.
|
// perhaps the entire file system is out of space.
|
||||||
//
|
//
|
||||||
// HTTP Mapping: 429 Too Many Requests
|
// HTTP Mapping: 429 Too Many Requests
|
||||||
Code_RESOURCE_EXHAUSTED Code = 8
|
RESOURCE_EXHAUSTED Code = 8
|
||||||
// The operation was rejected because the system is not in a state
|
// The operation was rejected because the system is not in a state
|
||||||
// required for the operation's execution. For example, the directory
|
// required for the operation's execution. For example, the directory
|
||||||
// to be deleted is non-empty, an rmdir operation is applied to
|
// to be deleted is non-empty, an rmdir operation is applied to
|
||||||
@ -133,7 +109,7 @@ const (
|
|||||||
// the files are deleted from the directory.
|
// the files are deleted from the directory.
|
||||||
//
|
//
|
||||||
// HTTP Mapping: 400 Bad Request
|
// HTTP Mapping: 400 Bad Request
|
||||||
Code_FAILED_PRECONDITION Code = 9
|
FAILED_PRECONDITION Code = 9
|
||||||
// The operation was aborted, typically due to a concurrency issue such as
|
// The operation was aborted, typically due to a concurrency issue such as
|
||||||
// a sequencer check failure or transaction abort.
|
// a sequencer check failure or transaction abort.
|
||||||
//
|
//
|
||||||
@ -141,7 +117,7 @@ const (
|
|||||||
// `ABORTED`, and `UNAVAILABLE`.
|
// `ABORTED`, and `UNAVAILABLE`.
|
||||||
//
|
//
|
||||||
// HTTP Mapping: 409 Conflict
|
// HTTP Mapping: 409 Conflict
|
||||||
Code_ABORTED Code = 10
|
ABORTED Code = 10
|
||||||
// The operation was attempted past the valid range. E.g., seeking or
|
// The operation was attempted past the valid range. E.g., seeking or
|
||||||
// reading past end-of-file.
|
// reading past end-of-file.
|
||||||
//
|
//
|
||||||
@ -159,18 +135,18 @@ const (
|
|||||||
// they are done.
|
// they are done.
|
||||||
//
|
//
|
||||||
// HTTP Mapping: 400 Bad Request
|
// HTTP Mapping: 400 Bad Request
|
||||||
Code_OUT_OF_RANGE Code = 11
|
OUT_OF_RANGE Code = 11
|
||||||
// The operation is not implemented or is not supported/enabled in this
|
// The operation is not implemented or is not supported/enabled in this
|
||||||
// service.
|
// service.
|
||||||
//
|
//
|
||||||
// HTTP Mapping: 501 Not Implemented
|
// HTTP Mapping: 501 Not Implemented
|
||||||
Code_UNIMPLEMENTED Code = 12
|
UNIMPLEMENTED Code = 12
|
||||||
// Internal errors. This means that some invariants expected by the
|
// Internal errors. This means that some invariants expected by the
|
||||||
// underlying system have been broken. This error code is reserved
|
// underlying system have been broken. This error code is reserved
|
||||||
// for serious errors.
|
// for serious errors.
|
||||||
//
|
//
|
||||||
// HTTP Mapping: 500 Internal Server Error
|
// HTTP Mapping: 500 Internal Server Error
|
||||||
Code_INTERNAL Code = 13
|
INTERNAL Code = 13
|
||||||
// The service is currently unavailable. This is most likely a
|
// The service is currently unavailable. This is most likely a
|
||||||
// transient condition, which can be corrected by retrying with
|
// transient condition, which can be corrected by retrying with
|
||||||
// a backoff.
|
// a backoff.
|
||||||
@ -179,11 +155,11 @@ const (
|
|||||||
// `ABORTED`, and `UNAVAILABLE`.
|
// `ABORTED`, and `UNAVAILABLE`.
|
||||||
//
|
//
|
||||||
// HTTP Mapping: 503 Service Unavailable
|
// HTTP Mapping: 503 Service Unavailable
|
||||||
Code_UNAVAILABLE Code = 14
|
UNAVAILABLE Code = 14
|
||||||
// Unrecoverable data loss or corruption.
|
// Unrecoverable data loss or corruption.
|
||||||
//
|
//
|
||||||
// HTTP Mapping: 500 Internal Server Error
|
// HTTP Mapping: 500 Internal Server Error
|
||||||
Code_DATA_LOSS Code = 15
|
DATA_LOSS Code = 15
|
||||||
)
|
)
|
||||||
|
|
||||||
var Code_name = map[int32]string{
|
var Code_name = map[int32]string{
|
||||||
@ -225,45 +201,46 @@ var Code_value = map[string]int32{
|
|||||||
"DATA_LOSS": 15,
|
"DATA_LOSS": 15,
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x Code) String() string {
|
|
||||||
return proto.EnumName(Code_name, int32(x))
|
|
||||||
}
|
|
||||||
func (Code) EnumDescriptor() ([]byte, []int) { return fileDescriptorCode, []int{0} }
|
func (Code) EnumDescriptor() ([]byte, []int) { return fileDescriptorCode, []int{0} }
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
proto.RegisterEnum("google.rpc.Code", Code_name, Code_value)
|
proto.RegisterEnum("google.rpc.Code", Code_name, Code_value)
|
||||||
}
|
}
|
||||||
|
func (x Code) String() string {
|
||||||
func init() {
|
s, ok := Code_name[int32(x)]
|
||||||
proto.RegisterFile("github.com/containerd/containerd/protobuf/google/rpc/code.proto", fileDescriptorCode)
|
if ok {
|
||||||
|
return s
|
||||||
}
|
}
|
||||||
|
return strconv.Itoa(int(x))
|
||||||
|
}
|
||||||
|
|
||||||
|
func init() { proto.RegisterFile("google/rpc/code.proto", fileDescriptorCode) }
|
||||||
|
|
||||||
var fileDescriptorCode = []byte{
|
var fileDescriptorCode = []byte{
|
||||||
// 405 bytes of a gzipped FileDescriptorProto
|
// 393 bytes of a gzipped FileDescriptorProto
|
||||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x91, 0xbb, 0x72, 0x13, 0x31,
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x44, 0x91, 0x3d, 0x6e, 0x13, 0x41,
|
||||||
0x14, 0x86, 0xbd, 0x4e, 0x70, 0x62, 0xf9, 0x76, 0xa2, 0x70, 0xe9, 0xf6, 0x01, 0x28, 0xec, 0x82,
|
0x14, 0xc7, 0x3d, 0x76, 0x70, 0xe2, 0xf1, 0xd7, 0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0x5c, 0x8d, 0x0f, 0x86, 0x14, 0x7f, 0xe4,
|
0x51, 0x43, 0xd9, 0xf7, 0xd7, 0xd0, 0x53, 0x53, 0x39, 0x2a, 0x90, 0x0b, 0x72, 0x8e, 0x0c, 0x08,
|
||||||
0x71, 0xb3, 0xa9, 0x5e, 0x7e, 0x6f, 0x8b, 0xe3, 0xac, 0x5e, 0xae, 0x64, 0x47, 0xb4, 0xed, 0x15,
|
0x35, 0x96, 0xc7, 0x89, 0xaf, 0xd9, 0xbf, 0x61, 0xe8, 0xab, 0xe7, 0x12, 0x2c, 0xdf, 0xa0, 0xb3,
|
||||||
0xb4, 0xe4, 0x40, 0x74, 0x33, 0xe4, 0x8c, 0x8c, 0x21, 0x05, 0x89, 0xec, 0x89, 0x93, 0xc0, 0x57,
|
0xa6, 0xc6, 0x70, 0x99, 0xd6, 0xc4, 0x11, 0x06, 0xea, 0x5c, 0x9e, 0x1a, 0x42, 0xe3, 0x2c, 0x53,
|
||||||
0x6c, 0xdf, 0x31, 0xb4, 0xe5, 0x53, 0x01, 0x9a, 0xaf, 0xd1, 0x68, 0x55, 0xa2, 0xbb, 0x08, 0x73,
|
0x4d, 0xb7, 0x05, 0x91, 0x21, 0x03, 0x47, 0xf9, 0x10, 0xfb, 0x58, 0xaf, 0x7c, 0x62, 0x03, 0xcf,
|
||||||
0x62, 0x0f, 0x47, 0xf2, 0x99, 0x38, 0x53, 0x84, 0xca, 0x68, 0xa6, 0x92, 0x6e, 0x32, 0x22, 0x45,
|
0x94, 0x92, 0x33, 0x74, 0x81, 0xd0, 0xbc, 0xad, 0xe9, 0xd6, 0x56, 0xb1, 0x82, 0x61, 0xde, 0x2c,
|
||||||
0x0a, 0x8e, 0x63, 0x23, 0xb6, 0xbe, 0x9c, 0xd9, 0xc0, 0x0a, 0x9e, 0x48, 0x29, 0x86, 0x68, 0x1c,
|
0x29, 0xac, 0x6d, 0x55, 0x59, 0xcf, 0xb5, 0x21, 0xb6, 0x64, 0xe0, 0x58,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 0x7f, 0x02, 0x00, 0x00, 0xff,
|
||||||
0xb9, 0x3c, 0x5b, 0x74, 0x0e, 0xf6, 0xab, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xf2, 0x0a, 0x2d,
|
0xff, 0x03, 0xd4, 0x27, 0xff, 0xc3, 0x01, 0x00, 0x00,
|
||||||
0x67, 0x06, 0x02, 0x00, 0x00,
|
|
||||||
}
|
}
|
@ -16,7 +16,7 @@ syntax = "proto3";
|
|||||||
|
|
||||||
package google.rpc;
|
package google.rpc;
|
||||||
|
|
||||||
option go_package = "github.com/containerd/containerd/protobuf/google/rpc;rpc";
|
option go_package = "rpc";
|
||||||
option java_multiple_files = true;
|
option java_multiple_files = true;
|
||||||
option java_outer_classname = "CodeProto";
|
option java_outer_classname = "CodeProto";
|
||||||
option java_package = "com.google.rpc";
|
option java_package = "com.google.rpc";
|
File diff suppressed because it is too large
Load Diff
@ -18,7 +18,7 @@ package google.rpc;
|
|||||||
|
|
||||||
import "google/protobuf/duration.proto";
|
import "google/protobuf/duration.proto";
|
||||||
|
|
||||||
option go_package = "github.com/containerd/containerd/protobuf/google/rpc;rpc";
|
option go_package = "rpc";
|
||||||
option java_multiple_files = true;
|
option java_multiple_files = true;
|
||||||
option java_outer_classname = "ErrorDetailsProto";
|
option java_outer_classname = "ErrorDetailsProto";
|
||||||
option java_package = "com.google.rpc";
|
option java_package = "com.google.rpc";
|
294
protobuf/google/rpc/status.pb.go → vendor/github.com/gogo/googleapis/google/rpc/status.pb.go
generated
vendored
294
protobuf/google/rpc/status.pb.go → vendor/github.com/gogo/googleapis/google/rpc/status.pb.go
generated
vendored
@ -1,12 +1,32 @@
|
|||||||
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
||||||
// source: github.com/containerd/containerd/protobuf/google/rpc/status.proto
|
// source: google/rpc/status.proto
|
||||||
|
|
||||||
|
/*
|
||||||
|
Package rpc is a generated protocol buffer package.
|
||||||
|
|
||||||
|
It is generated from these files:
|
||||||
|
google/rpc/status.proto
|
||||||
|
google/rpc/error_details.proto
|
||||||
|
google/rpc/code.proto
|
||||||
|
|
||||||
|
It has these top-level messages:
|
||||||
|
Status
|
||||||
|
RetryInfo
|
||||||
|
DebugInfo
|
||||||
|
QuotaFailure
|
||||||
|
PreconditionFailure
|
||||||
|
BadRequest
|
||||||
|
RequestInfo
|
||||||
|
ResourceInfo
|
||||||
|
Help
|
||||||
|
LocalizedMessage
|
||||||
|
*/
|
||||||
package rpc
|
package rpc
|
||||||
|
|
||||||
import proto "github.com/gogo/protobuf/proto"
|
import proto "github.com/gogo/protobuf/proto"
|
||||||
import fmt "fmt"
|
import fmt "fmt"
|
||||||
import math "math"
|
import math "math"
|
||||||
import google_protobuf1 "github.com/gogo/protobuf/types"
|
import google_protobuf "github.com/gogo/protobuf/types"
|
||||||
|
|
||||||
import strings "strings"
|
import strings "strings"
|
||||||
import reflect "reflect"
|
import reflect "reflect"
|
||||||
@ -18,6 +38,12 @@ var _ = proto.Marshal
|
|||||||
var _ = fmt.Errorf
|
var _ = fmt.Errorf
|
||||||
var _ = math.Inf
|
var _ = math.Inf
|
||||||
|
|
||||||
|
// This is a compile-time assertion to ensure that this generated file
|
||||||
|
// is compatible with the proto package it is being compiled against.
|
||||||
|
// A compilation error at this line likely means your copy of the
|
||||||
|
// proto package needs to be updated.
|
||||||
|
const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
|
||||||
|
|
||||||
// The `Status` type defines a logical error model that is suitable for different
|
// The `Status` type defines a logical error model that is suitable for different
|
||||||
// programming environments, including REST APIs and RPC APIs. It is used by
|
// programming environments, including REST APIs and RPC APIs. It is used by
|
||||||
// [gRPC](https://github.com/grpc). The error model is designed to be:
|
// [gRPC](https://github.com/grpc). The error model is designed to be:
|
||||||
@ -79,16 +105,147 @@ type Status struct {
|
|||||||
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
|
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
|
||||||
// A list of messages that carry the error details. There is a common set of
|
// A list of messages that carry the error details. There is a common set of
|
||||||
// message types for APIs to use.
|
// message types for APIs to use.
|
||||||
Details []*google_protobuf1.Any `protobuf:"bytes,3,rep,name=details" json:"details,omitempty"`
|
Details []*google_protobuf.Any `protobuf:"bytes,3,rep,name=details" json:"details,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Status) Reset() { *m = Status{} }
|
func (m *Status) Reset() { *m = Status{} }
|
||||||
func (*Status) ProtoMessage() {}
|
func (*Status) ProtoMessage() {}
|
||||||
func (*Status) Descriptor() ([]byte, []int) { return fileDescriptorStatus, []int{0} }
|
func (*Status) Descriptor() ([]byte, []int) { return fileDescriptorStatus, []int{0} }
|
||||||
|
|
||||||
|
func (m *Status) GetCode() int32 {
|
||||||
|
if m != nil {
|
||||||
|
return m.Code
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *Status) GetMessage() string {
|
||||||
|
if m != nil {
|
||||||
|
return m.Message
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *Status) GetDetails() []*google_protobuf.Any {
|
||||||
|
if m != nil {
|
||||||
|
return m.Details
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*Status) XXX_MessageName() string {
|
||||||
|
return "google.rpc.Status"
|
||||||
|
}
|
||||||
func init() {
|
func init() {
|
||||||
proto.RegisterType((*Status)(nil), "google.rpc.Status")
|
proto.RegisterType((*Status)(nil), "google.rpc.Status")
|
||||||
}
|
}
|
||||||
|
func (this *Status) Compare(that interface{}) int {
|
||||||
|
if that == nil {
|
||||||
|
if this == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
return 1
|
||||||
|
}
|
||||||
|
|
||||||
|
that1, ok := that.(*Status)
|
||||||
|
if !ok {
|
||||||
|
that2, ok := that.(Status)
|
||||||
|
if ok {
|
||||||
|
that1 = &that2
|
||||||
|
} else {
|
||||||
|
return 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if that1 == nil {
|
||||||
|
if this == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
return 1
|
||||||
|
} else if this == nil {
|
||||||
|
return -1
|
||||||
|
}
|
||||||
|
if this.Code != that1.Code {
|
||||||
|
if this.Code < that1.Code {
|
||||||
|
return -1
|
||||||
|
}
|
||||||
|
return 1
|
||||||
|
}
|
||||||
|
if this.Message != that1.Message {
|
||||||
|
if this.Message < that1.Message {
|
||||||
|
return -1
|
||||||
|
}
|
||||||
|
return 1
|
||||||
|
}
|
||||||
|
if len(this.Details) != len(that1.Details) {
|
||||||
|
if len(this.Details) < len(that1.Details) {
|
||||||
|
return -1
|
||||||
|
}
|
||||||
|
return 1
|
||||||
|
}
|
||||||
|
for i := range this.Details {
|
||||||
|
if c := this.Details[i].Compare(that1.Details[i]); c != 0 {
|
||||||
|
return c
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
func (this *Status) Equal(that interface{}) bool {
|
||||||
|
if that == nil {
|
||||||
|
return this == nil
|
||||||
|
}
|
||||||
|
|
||||||
|
that1, ok := that.(*Status)
|
||||||
|
if !ok {
|
||||||
|
that2, ok := that.(Status)
|
||||||
|
if ok {
|
||||||
|
that1 = &that2
|
||||||
|
} else {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if that1 == nil {
|
||||||
|
return this == nil
|
||||||
|
} else if this == nil {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
if this.Code != that1.Code {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
if this.Message != that1.Message {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
if len(this.Details) != len(that1.Details) {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
for i := range this.Details {
|
||||||
|
if !this.Details[i].Equal(that1.Details[i]) {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
func (this *Status) GoString() string {
|
||||||
|
if this == nil {
|
||||||
|
return "nil"
|
||||||
|
}
|
||||||
|
s := make([]string, 0, 7)
|
||||||
|
s = append(s, "&rpc.Status{")
|
||||||
|
s = append(s, "Code: "+fmt.Sprintf("%#v", this.Code)+",\n")
|
||||||
|
s = append(s, "Message: "+fmt.Sprintf("%#v", this.Message)+",\n")
|
||||||
|
if this.Details != nil {
|
||||||
|
s = append(s, "Details: "+fmt.Sprintf("%#v", this.Details)+",\n")
|
||||||
|
}
|
||||||
|
s = append(s, "}")
|
||||||
|
return strings.Join(s, "")
|
||||||
|
}
|
||||||
|
func valueToGoStringStatus(v interface{}, typ string) string {
|
||||||
|
rv := reflect.ValueOf(v)
|
||||||
|
if rv.IsNil() {
|
||||||
|
return "nil"
|
||||||
|
}
|
||||||
|
pv := reflect.Indirect(rv).Interface()
|
||||||
|
return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv)
|
||||||
|
}
|
||||||
func (m *Status) Marshal() (dAtA []byte, err error) {
|
func (m *Status) Marshal() (dAtA []byte, err error) {
|
||||||
size := m.Size()
|
size := m.Size()
|
||||||
dAtA = make([]byte, size)
|
dAtA = make([]byte, size)
|
||||||
@ -139,6 +296,97 @@ func encodeVarintStatus(dAtA []byte, offset int, v uint64) int {
|
|||||||
dAtA[offset] = uint8(v)
|
dAtA[offset] = uint8(v)
|
||||||
return offset + 1
|
return offset + 1
|
||||||
}
|
}
|
||||||
|
func NewPopulatedStatus(r randyStatus, easy bool) *Status {
|
||||||
|
this := &Status{}
|
||||||
|
this.Code = int32(r.Int31())
|
||||||
|
if r.Intn(2) == 0 {
|
||||||
|
this.Code *= -1
|
||||||
|
}
|
||||||
|
this.Message = string(randStringStatus(r))
|
||||||
|
if r.Intn(10) != 0 {
|
||||||
|
v1 := r.Intn(5)
|
||||||
|
this.Details = make([]*google_protobuf.Any, v1)
|
||||||
|
for i := 0; i < v1; i++ {
|
||||||
|
this.Details[i] = google_protobuf.NewPopulatedAny(r, easy)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if !easy && r.Intn(10) != 0 {
|
||||||
|
}
|
||||||
|
return this
|
||||||
|
}
|
||||||
|
|
||||||
|
type randyStatus interface {
|
||||||
|
Float32() float32
|
||||||
|
Float64() float64
|
||||||
|
Int63() int64
|
||||||
|
Int31() int32
|
||||||
|
Uint32() uint32
|
||||||
|
Intn(n int) int
|
||||||
|
}
|
||||||
|
|
||||||
|
func randUTF8RuneStatus(r randyStatus) rune {
|
||||||
|
ru := r.Intn(62)
|
||||||
|
if ru < 10 {
|
||||||
|
return rune(ru + 48)
|
||||||
|
} else if ru < 36 {
|
||||||
|
return rune(ru + 55)
|
||||||
|
}
|
||||||
|
return rune(ru + 61)
|
||||||
|
}
|
||||||
|
func randStringStatus(r randyStatus) string {
|
||||||
|
v2 := r.Intn(100)
|
||||||
|
tmps := make([]rune, v2)
|
||||||
|
for i := 0; i < v2; i++ {
|
||||||
|
tmps[i] = randUTF8RuneStatus(r)
|
||||||
|
}
|
||||||
|
return string(tmps)
|
||||||
|
}
|
||||||
|
func randUnrecognizedStatus(r randyStatus, maxFieldNumber int) (dAtA []byte) {
|
||||||
|
l := r.Intn(5)
|
||||||
|
for i := 0; i < l; i++ {
|
||||||
|
wire := r.Intn(4)
|
||||||
|
if wire == 3 {
|
||||||
|
wire = 5
|
||||||
|
}
|
||||||
|
fieldNumber := maxFieldNumber + r.Intn(100)
|
||||||
|
dAtA = randFieldStatus(dAtA, r, fieldNumber, wire)
|
||||||
|
}
|
||||||
|
return dAtA
|
||||||
|
}
|
||||||
|
func randFieldStatus(dAtA []byte, r randyStatus, fieldNumber int, wire int) []byte {
|
||||||
|
key := uint32(fieldNumber)<<3 | uint32(wire)
|
||||||
|
switch wire {
|
||||||
|
case 0:
|
||||||
|
dAtA = encodeVarintPopulateStatus(dAtA, uint64(key))
|
||||||
|
v3 := r.Int63()
|
||||||
|
if r.Intn(2) == 0 {
|
||||||
|
v3 *= -1
|
||||||
|
}
|
||||||
|
dAtA = encodeVarintPopulateStatus(dAtA, uint64(v3))
|
||||||
|
case 1:
|
||||||
|
dAtA = encodeVarintPopulateStatus(dAtA, uint64(key))
|
||||||
|
dAtA = append(dAtA, byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)))
|
||||||
|
case 2:
|
||||||
|
dAtA = encodeVarintPopulateStatus(dAtA, uint64(key))
|
||||||
|
ll := r.Intn(100)
|
||||||
|
dAtA = encodeVarintPopulateStatus(dAtA, uint64(ll))
|
||||||
|
for j := 0; j < ll; j++ {
|
||||||
|
dAtA = append(dAtA, byte(r.Intn(256)))
|
||||||
|
}
|
||||||
|
default:
|
||||||
|
dAtA = encodeVarintPopulateStatus(dAtA, uint64(key))
|
||||||
|
dAtA = append(dAtA, byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)))
|
||||||
|
}
|
||||||
|
return dAtA
|
||||||
|
}
|
||||||
|
func encodeVarintPopulateStatus(dAtA []byte, v uint64) []byte {
|
||||||
|
for v >= 1<<7 {
|
||||||
|
dAtA = append(dAtA, uint8(uint64(v)&0x7f|0x80))
|
||||||
|
v >>= 7
|
||||||
|
}
|
||||||
|
dAtA = append(dAtA, uint8(v))
|
||||||
|
return dAtA
|
||||||
|
}
|
||||||
func (m *Status) Size() (n int) {
|
func (m *Status) Size() (n int) {
|
||||||
var l int
|
var l int
|
||||||
_ = l
|
_ = l
|
||||||
@ -178,7 +426,7 @@ func (this *Status) String() string {
|
|||||||
s := strings.Join([]string{`&Status{`,
|
s := strings.Join([]string{`&Status{`,
|
||||||
`Code:` + fmt.Sprintf("%v", this.Code) + `,`,
|
`Code:` + fmt.Sprintf("%v", this.Code) + `,`,
|
||||||
`Message:` + fmt.Sprintf("%v", this.Message) + `,`,
|
`Message:` + fmt.Sprintf("%v", this.Message) + `,`,
|
||||||
`Details:` + strings.Replace(fmt.Sprintf("%v", this.Details), "Any", "google_protobuf1.Any", 1) + `,`,
|
`Details:` + strings.Replace(fmt.Sprintf("%v", this.Details), "Any", "google_protobuf.Any", 1) + `,`,
|
||||||
`}`,
|
`}`,
|
||||||
}, "")
|
}, "")
|
||||||
return s
|
return s
|
||||||
@ -294,7 +542,7 @@ func (m *Status) Unmarshal(dAtA []byte) error {
|
|||||||
if postIndex > l {
|
if postIndex > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
m.Details = append(m.Details, &google_protobuf1.Any{})
|
m.Details = append(m.Details, &google_protobuf.Any{})
|
||||||
if err := m.Details[len(m.Details)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
if err := m.Details[len(m.Details)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
@ -425,25 +673,23 @@ var (
|
|||||||
ErrIntOverflowStatus = fmt.Errorf("proto: integer overflow")
|
ErrIntOverflowStatus = fmt.Errorf("proto: integer overflow")
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() { proto.RegisterFile("google/rpc/status.proto", fileDescriptorStatus) }
|
||||||
proto.RegisterFile("github.com/containerd/containerd/protobuf/google/rpc/status.proto", fileDescriptorStatus)
|
|
||||||
}
|
|
||||||
|
|
||||||
var fileDescriptorStatus = []byte{
|
var fileDescriptorStatus = []byte{
|
||||||
// 236 bytes of a gzipped FileDescriptorProto
|
// 235 bytes of a gzipped FileDescriptorProto
|
||||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x72, 0x4c, 0xcf, 0x2c, 0xc9,
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4f, 0xcf, 0xcf, 0x4f,
|
||||||
0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xce, 0xcf, 0x2b, 0x49, 0xcc, 0xcc, 0x4b, 0x2d,
|
0xcf, 0x49, 0xd5, 0x2f, 0x2a, 0x48, 0xd6, 0x2f, 0x2e, 0x49, 0x2c, 0x29, 0x2d, 0xd6, 0x2b, 0x28,
|
||||||
0x4a, 0x41, 0x66, 0x16, 0x14, 0xe5, 0x97, 0xe4, 0x27, 0x95, 0xa6, 0xe9, 0xa7, 0xe7, 0xe7, 0xa7,
|
0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x82, 0x48, 0xe8, 0x15, 0x15, 0x24, 0x4b, 0x49, 0x42, 0x15, 0x81,
|
||||||
0xe7, 0xa4, 0xea, 0x17, 0x15, 0x24, 0xeb, 0x17, 0x97, 0x24, 0x96, 0x94, 0x16, 0xeb, 0x81, 0xa5,
|
0x65, 0x92, 0x4a, 0xd3, 0xf4, 0x13, 0xf3, 0x2a, 0x21, 0xca, 0x94, 0xd2, 0xb8, 0xd8, 0x82, 0xc1,
|
||||||
0x84, 0xb8, 0x20, 0x12, 0x7a, 0x45, 0x05, 0xc9, 0x52, 0x92, 0x50, 0x45, 0x70, 0x4d, 0x89, 0x79,
|
0xda, 0x84, 0x84, 0xb8, 0x58, 0x92, 0xf3, 0x53, 0x52, 0x25, 0x18, 0x15, 0x18, 0x35, 0x58, 0x83,
|
||||||
0x95, 0x10, 0x65, 0x4a, 0x69, 0x5c, 0x6c, 0xc1, 0x60, 0x6d, 0x42, 0x42, 0x5c, 0x2c, 0xc9, 0xf9,
|
0xc0, 0x6c, 0x21, 0x09, 0x2e, 0xf6, 0xdc, 0xd4, 0xe2, 0xe2, 0xc4, 0xf4, 0x54, 0x09, 0x26, 0x05,
|
||||||
0x29, 0xa9, 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0xac, 0x41, 0x60, 0xb6, 0x90, 0x04, 0x17, 0x7b, 0x6e,
|
0x46, 0x0d, 0xce, 0x20, 0x18, 0x57, 0x48, 0x8f, 0x8b, 0x3d, 0x25, 0xb5, 0x24, 0x31, 0x33, 0xa7,
|
||||||
0x6a, 0x71, 0x71, 0x62, 0x7a, 0xaa, 0x04, 0x93, 0x02, 0xa3, 0x06, 0x67, 0x10, 0x8c, 0x2b, 0xa4,
|
0x58, 0x82, 0x59, 0x81, 0x59, 0x83, 0xdb, 0x48, 0x44, 0x0f, 0x6a, 0x21, 0xcc, 0x12, 0x3d, 0xc7,
|
||||||
0xc7, 0xc5, 0x9e, 0x92, 0x5a, 0x92, 0x98, 0x99, 0x53, 0x2c, 0xc1, 0xac, 0xc0, 0xac, 0xc1, 0x6d,
|
0xbc, 0xca, 0x20, 0x98, 0x22, 0xa7, 0xb8, 0x0b, 0x0f, 0xe5, 0x18, 0x6e, 0x3c, 0x94, 0x63, 0xf8,
|
||||||
0x24, 0xa2, 0x07, 0xb5, 0x10, 0x66, 0x89, 0x9e, 0x63, 0x5e, 0x65, 0x10, 0x4c, 0x91, 0x53, 0xf9,
|
0xf0, 0x50, 0x8e, 0xf1, 0xc7, 0x43, 0x39, 0xc6, 0x86, 0x47, 0x72, 0x8c, 0x2b, 0x1e, 0xc9, 0x31,
|
||||||
0x89, 0x87, 0x72, 0x0c, 0x37, 0x1e, 0xca, 0x31, 0x34, 0x3c, 0x92, 0x63, 0x3c, 0xf1, 0x48, 0x8e,
|
0x9e, 0x78, 0x24, 0xc7, 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x2f, 0x1e, 0xc9,
|
||||||
0xf1, 0xc2, 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0xb9, 0xf8, 0x92, 0xf3, 0x73, 0xf5, 0x10,
|
0x31, 0x7c, 0x00, 0x89, 0x3f, 0x96, 0x63, 0x3c, 0xf1, 0x58, 0x8e, 0x91, 0x8b, 0x2f, 0x39, 0x3f,
|
||||||
0x8e, 0x75, 0xe2, 0x86, 0xb8, 0x27, 0x00, 0x64, 0x4c, 0x00, 0x63, 0x94, 0x05, 0x39, 0x41, 0x61,
|
0x57, 0x0f, 0xe1, 0x11, 0x27, 0x6e, 0x88, 0x5b, 0x03, 0x40, 0x56, 0x04, 0x30, 0x46, 0x31, 0x17,
|
||||||
0x5d, 0x54, 0x90, 0xbc, 0x88, 0x89, 0x39, 0x28, 0xc0, 0x39, 0x89, 0x0d, 0x2c, 0x6d, 0x0c, 0x08,
|
0x15, 0x24, 0x2f, 0x62, 0x62, 0x0e, 0x0a, 0x70, 0x4e, 0x62, 0x03, 0x5b, 0x6b, 0x0c, 0x08, 0x00,
|
||||||
0x00, 0x00, 0xff, 0xff, 0x7d, 0xb3, 0x06, 0x51, 0x53, 0x01, 0x00, 0x00,
|
0x00, 0xff, 0xff, 0xaa, 0x06, 0xa1, 0xaa, 0x10, 0x01, 0x00, 0x00,
|
||||||
}
|
}
|
@ -18,7 +18,7 @@ package google.rpc;
|
|||||||
|
|
||||||
import "google/protobuf/any.proto";
|
import "google/protobuf/any.proto";
|
||||||
|
|
||||||
option go_package = "github.com/containerd/containerd/protobuf/google/rpc;rpc";
|
option go_package = "rpc";
|
||||||
option java_multiple_files = true;
|
option java_multiple_files = true;
|
||||||
option java_outer_classname = "StatusProto";
|
option java_outer_classname = "StatusProto";
|
||||||
option java_package = "com.google.rpc";
|
option java_package = "com.google.rpc";
|
1
vendor/github.com/gogo/protobuf/README
generated
vendored
1
vendor/github.com/gogo/protobuf/README
generated
vendored
@ -123,6 +123,7 @@ When the .proto file specifies `syntax="proto3"`, there are some differences:
|
|||||||
Consider file test.proto, containing
|
Consider file test.proto, containing
|
||||||
|
|
||||||
```proto
|
```proto
|
||||||
|
syntax = "proto2";
|
||||||
package example;
|
package example;
|
||||||
|
|
||||||
enum FOO { X = 17; };
|
enum FOO { X = 17; };
|
||||||
|
25
vendor/github.com/gogo/protobuf/Readme.md
generated
vendored
25
vendor/github.com/gogo/protobuf/Readme.md
generated
vendored
@ -43,7 +43,8 @@ These projects use gogoprotobuf:
|
|||||||
- <a href="https://github.com/heroiclabs/nakama">nakama</a>
|
- <a href="https://github.com/heroiclabs/nakama">nakama</a>
|
||||||
- <a href="https://github.com/src-d/proteus">proteus</a>
|
- <a href="https://github.com/src-d/proteus">proteus</a>
|
||||||
- <a href="https://github.com/go-graphite">carbonzipper stack</a>
|
- <a href="https://github.com/go-graphite">carbonzipper stack</a>
|
||||||
- <a href="https://sendgrid.com/">SendGrid</a>
|
- <a href="https://sendgrid.com/">sendgrid</a>
|
||||||
|
- <a href="https://github.com/zero-os/0-stor">zero-os/0-stor</a>
|
||||||
|
|
||||||
Please let us know if you are using gogoprotobuf by posting on our <a href="https://groups.google.com/forum/#!topic/gogoprotobuf/Brw76BxmFpQ">GoogleGroup</a>.
|
Please let us know if you are using gogoprotobuf by posting on our <a href="https://groups.google.com/forum/#!topic/gogoprotobuf/Brw76BxmFpQ">GoogleGroup</a>.
|
||||||
|
|
||||||
@ -64,10 +65,10 @@ After that you can choose:
|
|||||||
|
|
||||||
### Installation
|
### Installation
|
||||||
|
|
||||||
To install it, you must first have Go (at least version 1.6.3) installed (see [http://golang.org/doc/install](http://golang.org/doc/install)). Go 1.8.3 and 1.9 are continuously tested.
|
To install it, you must first have Go (at least version 1.6.3) installed (see [http://golang.org/doc/install](http://golang.org/doc/install)). Latest patch versions of Go 1.8, 1.9 and 1.10 are continuously tested.
|
||||||
|
|
||||||
Next, install the standard protocol buffer implementation from [https://github.com/google/protobuf](https://github.com/google/protobuf).
|
Next, install the standard protocol buffer implementation from [https://github.com/google/protobuf](https://github.com/google/protobuf).
|
||||||
Most versions from 2.3.1 should not give any problems, but 2.6.1, 3.0.2 and 3.4.0 are continuously tested.
|
Most versions from 2.3.1 should not give any problems, but 2.6.1, 3.0.2 and 3.5.1 are continuously tested.
|
||||||
|
|
||||||
### Speed
|
### Speed
|
||||||
|
|
||||||
@ -98,7 +99,23 @@ Installing any of these binaries is easy. Simply run:
|
|||||||
go get github.com/gogo/protobuf/{binary}
|
go get github.com/gogo/protobuf/{binary}
|
||||||
go get github.com/gogo/protobuf/gogoproto
|
go get github.com/gogo/protobuf/gogoproto
|
||||||
|
|
||||||
These binaries allow you to using gogoprotobuf [extensions](https://github.com/gogo/protobuf/blob/master/extensions.md).
|
These binaries allow you to use gogoprotobuf [extensions](https://github.com/gogo/protobuf/blob/master/extensions.md). You can also use your own binary.
|
||||||
|
|
||||||
|
To generate the code, you also need to set the include path properly.
|
||||||
|
|
||||||
|
protoc -I=. -I=$GOPATH/src -I=$GOPATH/src/github.com/gogo/protobuf/protobuf --{binary}_out=. myproto.proto
|
||||||
|
|
||||||
|
To use proto files from "google/protobuf" you need to add additional args to protoc.
|
||||||
|
|
||||||
|
protoc -I=. -I=$GOPATH/src -I=$GOPATH/src/github.com/gogo/protobuf/protobuf --{binary}_out=\
|
||||||
|
Mgoogle/protobuf/any.proto=github.com/gogo/protobuf/types,\
|
||||||
|
Mgoogle/protobuf/duration.proto=github.com/gogo/protobuf/types,\
|
||||||
|
Mgoogle/protobuf/struct.proto=github.com/gogo/protobuf/types,\
|
||||||
|
Mgoogle/protobuf/timestamp.proto=github.com/gogo/protobuf/types,\
|
||||||
|
Mgoogle/protobuf/wrappers.proto=github.com/gogo/protobuf/types:. \
|
||||||
|
myproto.proto
|
||||||
|
|
||||||
|
Note that in the protoc command, {binary} does not contain the initial prefix of "protoc-gen".
|
||||||
|
|
||||||
### Most Speed and most customization
|
### Most Speed and most customization
|
||||||
|
|
||||||
|
155
vendor/github.com/gogo/protobuf/gogoproto/gogo.pb.go
generated
vendored
155
vendor/github.com/gogo/protobuf/gogoproto/gogo.pb.go
generated
vendored
@ -723,81 +723,82 @@ func init() {
|
|||||||
func init() { proto.RegisterFile("gogo.proto", fileDescriptorGogo) }
|
func init() { proto.RegisterFile("gogo.proto", fileDescriptorGogo) }
|
||||||
|
|
||||||
var fileDescriptorGogo = []byte{
|
var fileDescriptorGogo = []byte{
|
||||||
// 1201 bytes of a gzipped FileDescriptorProto
|
// 1220 bytes of a gzipped FileDescriptorProto
|
||||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x98, 0xcb, 0x6f, 0x1c, 0x45,
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x98, 0x4b, 0x6f, 0x1c, 0x45,
|
||||||
0x13, 0xc0, 0xf5, 0xe9, 0x73, 0x64, 0x6f, 0xf9, 0x85, 0xd7, 0xc6, 0x84, 0x08, 0x44, 0x72, 0xe3,
|
0x10, 0x80, 0x85, 0x48, 0x14, 0x6f, 0xd9, 0x8e, 0xf1, 0xda, 0x98, 0x10, 0x81, 0x08, 0x9c, 0x38,
|
||||||
0xe4, 0x9c, 0x22, 0x94, 0xb6, 0x22, 0xcb, 0xb1, 0x1c, 0x2b, 0x11, 0x06, 0x63, 0xe2, 0x00, 0xe2,
|
0xd9, 0xa7, 0x08, 0xa5, 0xad, 0xc8, 0x72, 0x2c, 0xc7, 0x4a, 0x84, 0xc1, 0x98, 0x38, 0xbc, 0x0e,
|
||||||
0xb0, 0x9a, 0xdd, 0x6d, 0x4f, 0x06, 0x66, 0xa6, 0x87, 0x99, 0x9e, 0x28, 0xce, 0x0d, 0x85, 0x87,
|
0xab, 0xd9, 0xdd, 0xf6, 0x78, 0x60, 0x66, 0x7a, 0x98, 0xe9, 0x89, 0xe2, 0xdc, 0x50, 0x78, 0x08,
|
||||||
0x10, 0xe2, 0x8d, 0x04, 0x09, 0x49, 0x80, 0x03, 0xef, 0x67, 0x78, 0x1f, 0xb9, 0xf0, 0xb8, 0xf2,
|
0x21, 0xde, 0x48, 0x90, 0x90, 0x04, 0x38, 0xf0, 0x7e, 0x86, 0xf7, 0x91, 0x0b, 0x8f, 0x2b, 0xff,
|
||||||
0x3f, 0x70, 0x01, 0xcc, 0xdb, 0x37, 0x5f, 0x50, 0xcd, 0x56, 0xcd, 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e8, 0x40, 0xc5, 0xd9, 0x81, 0xab, 0xbf,
|
||||||
0x3f, 0xff, 0xff, 0xe0, 0xff, 0x6e, 0x1f, 0x59, 0x9f, 0x22, 0x14, 0xff, 0xb6, 0x56, 0x80, 0x62,
|
0x5c, 0x7b, 0xe8, 0x9a, 0xdb, 0x87, 0x56, 0xc7, 0x09, 0xc5, 0xff, 0xad, 0x14, 0xa0, 0x58, 0x85,
|
||||||
0x1d, 0x6e, 0xac, 0xf8, 0x32, 0x9d, 0x06, 0xb1, 0x2f, 0x53, 0x8b, 0xf1, 0x3b, 0x32, 0x4e, 0x1b,
|
0xeb, 0x2b, 0xbe, 0x4c, 0xa7, 0x41, 0xec, 0xcb, 0xd4, 0x62, 0xfc, 0x9e, 0x8c, 0x13, 0x86, 0xf1,
|
||||||
0xc6, 0x7b, 0x09, 0x15, 0x4b, 0x30, 0x3e, 0x88, 0xeb, 0x7b, 0x72, 0x8d, 0x49, 0x53, 0xb2, 0x02,
|
0x5e, 0x42, 0xc5, 0x02, 0x8c, 0x0e, 0xe2, 0xfa, 0x81, 0x5c, 0x23, 0xd2, 0x94, 0x2c, 0xc1, 0x58,
|
||||||
0x93, 0x85, 0xa4, 0x95, 0x67, 0x5a, 0x45, 0xb1, 0x17, 0x49, 0x8b, 0xe6, 0x87, 0x42, 0x53, 0x5b,
|
0x21, 0x69, 0xe5, 0x99, 0x56, 0x51, 0xec, 0x45, 0xd2, 0xa2, 0xf9, 0xb1, 0xd0, 0xd4, 0x56, 0xf7,
|
||||||
0x9f, 0x40, 0x6c, 0xa9, 0xa4, 0x84, 0x80, 0x11, 0xfc, 0xa6, 0x2d, 0x5b, 0xa1, 0xc5, 0xf0, 0x23,
|
0x23, 0xb6, 0x50, 0x52, 0x42, 0xc0, 0x10, 0x7e, 0xd2, 0x96, 0xad, 0xd0, 0x62, 0xf8, 0x89, 0x02,
|
||||||
0x05, 0x52, 0xae, 0x17, 0x67, 0x60, 0x06, 0xaf, 0xcf, 0x79, 0x61,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4c, 0x9b, 0x2a, 0x93, 0x0d,
|
||||||
0x86, 0x7c, 0x24, 0xf7, 0x42, 0x07, 0xdd, 0x15, 0xd2, 0x4d, 0x12, 0xb8, 0x8c, 0x1c, 0xba, 0x8e,
|
0xf9, 0x68, 0xee, 0x85, 0x0e, 0xba, 0x4b, 0xa4, 0x1b, 0x23, 0x70, 0x11, 0x39, 0x74, 0x1d, 0x81,
|
||||||
0xc2, 0xc8, 0xa6, 0xd7, 0x92, 0x0e, 0x8a, 0xab, 0xa4, 0x18, 0xc6, 0xf5, 0x88, 0x2e, 0xc2, 0x98,
|
0xa1, 0x75, 0xaf, 0x25, 0x1d, 0x14, 0x97, 0x49, 0xb1, 0x0f, 0xd7, 0x23, 0x3a, 0x0f, 0x23, 0xbe,
|
||||||
0xaf, 0x3a, 0xb7, 0xe4, 0x80, 0x5f, 0x23, 0x7c, 0x94, 0x19, 0x52, 0x24, 0x2a, 0xc9, 0x43, 0x4f,
|
0xea, 0xdc, 0x92, 0x03, 0x7e, 0x85, 0xf0, 0x61, 0x66, 0x48, 0x91, 0xa8, 0x24, 0x0f, 0x3d, 0xed,
|
||||||
0xbb, 0x44, 0xf0, 0x3a, 0x2b, 0x98, 0x21, 0xc5, 0x00, 0x69, 0x7d, 0x83, 0x15, 0x99, 0x91, 0xcf,
|
0x12, 0xc1, 0x1b, 0xac, 0x60, 0x86, 0x14, 0x03, 0xa4, 0xf5, 0x4d, 0x56, 0x64, 0x46, 0x3e, 0xe7,
|
||||||
0x05, 0x18, 0x55, 0x71, 0xb8, 0xa5, 0x62, 0x97, 0x20, 0xde, 0x24, 0x03, 0x10, 0x82, 0x82, 0x79,
|
0x60, 0x58, 0xc5, 0xe1, 0xa6, 0x8a, 0x5d, 0x82, 0x78, 0x8b, 0x0c, 0x40, 0x08, 0x0a, 0x66, 0xa1,
|
||||||
0xa8, 0xb9, 0x16, 0xe2, 0xad, 0x6d, 0xde, 0x1e, 0x5c, 0x81, 0x15, 0x98, 0xe4, 0x06,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, 0xe0,
|
||||||
0x70, 0xc1, 0x49, 0xf3, 0x21, 0x57, 0xba, 0x00, 0x10, 0x7e, 0x00, 0x6e, 0xee, 0x3b, 0x26, 0x1c,
|
0x9c, 0x93, 0xe6, 0x23, 0xae, 0x74, 0x01, 0x20, 0xfc, 0x00, 0xdc, 0xd8, 0x77, 0x4c, 0x38, 0xc8,
|
||||||
0x64, 0x1f, 0x91, 0x6c, 0xb6, 0xcf, 0xa8, 0xa0, 0x96, 0x30, 0xa8, 0xf2, 0x63, 0x6e, 0x09, 0xb2,
|
0x3e, 0x26, 0xd9, 0x54, 0x9f, 0x51, 0x41, 0x2d, 0x61, 0x50, 0xe5, 0x27, 0xdc, 0x12, 0x64, 0x8f,
|
||||||
0xc7, 0xb5, 0x06, 0x33, 0x79, 0x9c, 0x79, 0x9b, 0x83, 0x65, 0xed, 0x13, 0xce, 0x5a, 0x87, 0xad,
|
0x6b, 0x05, 0x26, 0xf3, 0x38, 0xf3, 0xd6, 0x07, 0xcb, 0xda, 0xa7, 0x9c, 0xb5, 0x0e, 0x5b, 0xc9,
|
||||||
0x64, 0xed, 0x34, 0xcc, 0x92, 0x71, 0xb0, 0xba, 0x7e, 0xca, 0x8d, 0xb5, 0x43, 0x6f, 0x54, 0xab,
|
0xda, 0x29, 0x98, 0x22, 0xe3, 0x60, 0x75, 0xfd, 0x8c, 0x1b, 0x6b, 0x87, 0x5e, 0xab, 0x56, 0xf7,
|
||||||
0xfb, 0x20, 0x1c, 0x28, 0xd3, 0x79, 0x5e, 0xcb, 0x38, 0x43, 0xa6, 0x11, 0x79, 0x89, 0x83, 0xf9,
|
0x21, 0x38, 0x58, 0xa6, 0xf3, 0xac, 0x96, 0x71, 0x86, 0x4c, 0x23, 0xf2, 0x12, 0x07, 0xf3, 0x55,
|
||||||
0x3a, 0x99, 0xb9, 0xe3, 0x2f, 0x97, 0x82, 0x55, 0x2f, 0x41, 0xf9, 0xfd, 0xb0, 0x9f, 0xe5, 0x79,
|
0x32, 0x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ff, 0x21, 0xb8, 0x4b, 0xe0, 0x37, 0x67, 0xba, 0xad, 0x03, 0x7b, 0xb2, 0xff, 0xa5, 0x4a, 0xf3,
|
||||||
0xeb, 0xc5, 0x22, 0x8c, 0x66, 0xba, 0xdd, 0xce, 0xe9, 0x44, 0x63, 0xc1, 0xff, 0xdd, 0x2d, 0x5f,
|
0x7a, 0x31, 0x0f, 0xc3, 0x99, 0x6e, 0xb7, 0x73, 0x3a, 0xd1, 0x58, 0xf0, 0xff, 0x76, 0xca, 0x97,
|
||||||
0x72, 0x4b, 0xe6, 0xf8, 0x21, 0x98, 0x6e, 0xa9, 0xa8, 0x17, 0x3c, 0x0e, 0x2b, 0x6a, 0x45, 0xad,
|
0xdc, 0x92, 0x39, 0xb6, 0x08, 0x13, 0x2d, 0x15, 0xf5, 0x82, 0xc7, 0x60, 0x49, 0x2d, 0xa9, 0x95,
|
||||||
0x15, 0xbb, 0xe8, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x0a, 0x9c, 0xec, 0xd8, 0x50, 0x13, 0x00,
|
0x62, 0x17, 0x3d, 0x78, 0x9b, 0x1f, 0xe8, 0x8d, 0xbc, 0x39, 0xdd, 0x52, 0xd1, 0x0c, 0x1e, 0x35,
|
||||||
0x00,
|
0xbb, 0xbf, 0xa0, 0x95, 0x07, 0xcf, 0xff, 0x03, 0x00, 0x00, 0xff, 0xff, 0xed, 0x5f, 0x6c, 0x20,
|
||||||
|
0x74, 0x13, 0x00, 0x00,
|
||||||
}
|
}
|
||||||
|
1
vendor/github.com/gogo/protobuf/gogoproto/gogo.proto
generated
vendored
1
vendor/github.com/gogo/protobuf/gogoproto/gogo.proto
generated
vendored
@ -33,6 +33,7 @@ import "google/protobuf/descriptor.proto";
|
|||||||
|
|
||||||
option java_package = "com.google.protobuf";
|
option java_package = "com.google.protobuf";
|
||||||
option java_outer_classname = "GoGoProtos";
|
option java_outer_classname = "GoGoProtos";
|
||||||
|
option go_package = "github.com/gogo/protobuf/gogoproto";
|
||||||
|
|
||||||
extend google.protobuf.EnumOptions {
|
extend google.protobuf.EnumOptions {
|
||||||
optional bool goproto_enum_prefix = 62001;
|
optional bool goproto_enum_prefix = 62001;
|
||||||
|
26
vendor/github.com/gogo/protobuf/plugin/equal/equal.go
generated
vendored
26
vendor/github.com/gogo/protobuf/plugin/equal/equal.go
generated
vendored
@ -107,10 +107,7 @@ given to the equal plugin, will generate the following code:
|
|||||||
|
|
||||||
func (this *B) Equal(that interface{}) bool {
|
func (this *B) Equal(that interface{}) bool {
|
||||||
if that == nil {
|
if that == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
}
|
}
|
||||||
|
|
||||||
that1, ok := that.(*B)
|
that1, ok := that.(*B)
|
||||||
@ -118,10 +115,7 @@ given to the equal plugin, will generate the following code:
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
if that1 == nil {
|
if that1 == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
} else if this == nil {
|
} else if this == nil {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
@ -236,19 +230,15 @@ func (p *plugin) generateNullableField(fieldname string, verbose bool) {
|
|||||||
func (p *plugin) generateMsgNullAndTypeCheck(ccTypeName string, verbose bool) {
|
func (p *plugin) generateMsgNullAndTypeCheck(ccTypeName string, verbose bool) {
|
||||||
p.P(`if that == nil {`)
|
p.P(`if that == nil {`)
|
||||||
p.In()
|
p.In()
|
||||||
|
if verbose {
|
||||||
p.P(`if this == nil {`)
|
p.P(`if this == nil {`)
|
||||||
p.In()
|
p.In()
|
||||||
if verbose {
|
|
||||||
p.P(`return nil`)
|
p.P(`return nil`)
|
||||||
} else {
|
|
||||||
p.P(`return true`)
|
|
||||||
}
|
|
||||||
p.Out()
|
p.Out()
|
||||||
p.P(`}`)
|
p.P(`}`)
|
||||||
if verbose {
|
|
||||||
p.P(`return `, p.fmtPkg.Use(), `.Errorf("that == nil && this != nil")`)
|
p.P(`return `, p.fmtPkg.Use(), `.Errorf("that == nil && this != nil")`)
|
||||||
} else {
|
} else {
|
||||||
p.P(`return false`)
|
p.P(`return this == nil`)
|
||||||
}
|
}
|
||||||
p.Out()
|
p.Out()
|
||||||
p.P(`}`)
|
p.P(`}`)
|
||||||
@ -274,19 +264,15 @@ func (p *plugin) generateMsgNullAndTypeCheck(ccTypeName string, verbose bool) {
|
|||||||
p.P(`}`)
|
p.P(`}`)
|
||||||
p.P(`if that1 == nil {`)
|
p.P(`if that1 == nil {`)
|
||||||
p.In()
|
p.In()
|
||||||
|
if verbose {
|
||||||
p.P(`if this == nil {`)
|
p.P(`if this == nil {`)
|
||||||
p.In()
|
p.In()
|
||||||
if verbose {
|
|
||||||
p.P(`return nil`)
|
p.P(`return nil`)
|
||||||
} else {
|
|
||||||
p.P(`return true`)
|
|
||||||
}
|
|
||||||
p.Out()
|
p.Out()
|
||||||
p.P(`}`)
|
p.P(`}`)
|
||||||
if verbose {
|
|
||||||
p.P(`return `, p.fmtPkg.Use(), `.Errorf("that is type *`, ccTypeName, ` but is nil && this != nil")`)
|
p.P(`return `, p.fmtPkg.Use(), `.Errorf("that is type *`, ccTypeName, ` but is nil && this != nil")`)
|
||||||
} else {
|
} else {
|
||||||
p.P(`return false`)
|
p.P(`return this == nil`)
|
||||||
}
|
}
|
||||||
p.Out()
|
p.Out()
|
||||||
p.P(`} else if this == nil {`)
|
p.P(`} else if this == nil {`)
|
||||||
|
14
vendor/github.com/gogo/protobuf/plugin/populate/populate.go
generated
vendored
14
vendor/github.com/gogo/protobuf/plugin/populate/populate.go
generated
vendored
@ -443,7 +443,7 @@ func (p *plugin) GenerateField(file *generator.FileDescriptor, message *generato
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (p *plugin) hasLoop(field *descriptor.FieldDescriptorProto, visited []*generator.Descriptor, excludes []*generator.Descriptor) *generator.Descriptor {
|
func (p *plugin) hasLoop(pkg string, field *descriptor.FieldDescriptorProto, visited []*generator.Descriptor, excludes []*generator.Descriptor) *generator.Descriptor {
|
||||||
if field.IsMessage() || p.IsGroup(field) || p.IsMap(field) {
|
if field.IsMessage() || p.IsGroup(field) || p.IsMap(field) {
|
||||||
var fieldMessage *generator.Descriptor
|
var fieldMessage *generator.Descriptor
|
||||||
if p.IsMap(field) {
|
if p.IsMap(field) {
|
||||||
@ -467,11 +467,11 @@ func (p *plugin) hasLoop(field *descriptor.FieldDescriptorProto, visited []*gene
|
|||||||
return fieldMessage
|
return fieldMessage
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
pkg := strings.Split(field.GetTypeName(), ".")[1]
|
|
||||||
for _, f := range fieldMessage.Field {
|
for _, f := range fieldMessage.Field {
|
||||||
if strings.HasPrefix(f.GetTypeName(), "."+pkg+".") {
|
if strings.HasPrefix(f.GetTypeName(), "."+pkg) {
|
||||||
visited = append(visited, fieldMessage)
|
visited = append(visited, fieldMessage)
|
||||||
loopTo := p.hasLoop(f, visited, excludes)
|
loopTo := p.hasLoop(pkg, f, visited, excludes)
|
||||||
if loopTo != nil {
|
if loopTo != nil {
|
||||||
return loopTo
|
return loopTo
|
||||||
}
|
}
|
||||||
@ -481,13 +481,13 @@ func (p *plugin) hasLoop(field *descriptor.FieldDescriptorProto, visited []*gene
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (p *plugin) loops(field *descriptor.FieldDescriptorProto, message *generator.Descriptor) int {
|
func (p *plugin) loops(pkg string, field *descriptor.FieldDescriptorProto, message *generator.Descriptor) int {
|
||||||
//fmt.Fprintf(os.Stderr, "loops %v %v\n", field.GetTypeName(), generator.CamelCaseSlice(message.TypeName()))
|
//fmt.Fprintf(os.Stderr, "loops %v %v\n", field.GetTypeName(), generator.CamelCaseSlice(message.TypeName()))
|
||||||
excludes := []*generator.Descriptor{}
|
excludes := []*generator.Descriptor{}
|
||||||
loops := 0
|
loops := 0
|
||||||
for {
|
for {
|
||||||
visited := []*generator.Descriptor{}
|
visited := []*generator.Descriptor{}
|
||||||
loopTo := p.hasLoop(field, visited, excludes)
|
loopTo := p.hasLoop(pkg, field, visited, excludes)
|
||||||
if loopTo == nil {
|
if loopTo == nil {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
@ -522,7 +522,7 @@ func (p *plugin) Generate(file *generator.FileDescriptor) {
|
|||||||
loopLevels := make([]int, len(message.Field))
|
loopLevels := make([]int, len(message.Field))
|
||||||
maxLoopLevel := 0
|
maxLoopLevel := 0
|
||||||
for i, field := range message.Field {
|
for i, field := range message.Field {
|
||||||
loopLevels[i] = p.loops(field, message)
|
loopLevels[i] = p.loops(file.GetPackage(), field, message)
|
||||||
if loopLevels[i] > maxLoopLevel {
|
if loopLevels[i] > maxLoopLevel {
|
||||||
maxLoopLevel = loopLevels[i]
|
maxLoopLevel = loopLevels[i]
|
||||||
}
|
}
|
||||||
|
151
vendor/github.com/gogo/protobuf/proto/discard.go
generated
vendored
Normal file
151
vendor/github.com/gogo/protobuf/proto/discard.go
generated
vendored
Normal file
@ -0,0 +1,151 @@
|
|||||||
|
// Go support for Protocol Buffers - Google's data interchange format
|
||||||
|
//
|
||||||
|
// Copyright 2017 The Go Authors. All rights reserved.
|
||||||
|
// https://github.com/golang/protobuf
|
||||||
|
//
|
||||||
|
// Redistribution and use in source and binary forms, with or without
|
||||||
|
// modification, are permitted provided that the following conditions are
|
||||||
|
// met:
|
||||||
|
//
|
||||||
|
// * Redistributions of source code must retain the above copyright
|
||||||
|
// notice, this list of conditions and the following disclaimer.
|
||||||
|
// * Redistributions in binary form must reproduce the above
|
||||||
|
// copyright notice, this list of conditions and the following disclaimer
|
||||||
|
// in the documentation and/or other materials provided with the
|
||||||
|
// distribution.
|
||||||
|
// * Neither the name of Google Inc. nor the names of its
|
||||||
|
// contributors may be used to endorse or promote products derived from
|
||||||
|
// this software without specific prior written permission.
|
||||||
|
//
|
||||||
|
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||||
|
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||||
|
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||||
|
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||||
|
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||||
|
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||||
|
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||||
|
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||||
|
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||||
|
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
|
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
|
package proto
|
||||||
|
|
||||||
|
import (
|
||||||
|
"fmt"
|
||||||
|
"reflect"
|
||||||
|
"strings"
|
||||||
|
)
|
||||||
|
|
||||||
|
// DiscardUnknown recursively discards all unknown fields from this message
|
||||||
|
// and all embedded messages.
|
||||||
|
//
|
||||||
|
// When unmarshaling a message with unrecognized fields, the tags and values
|
||||||
|
// of such fields are preserved in the Message. This allows a later call to
|
||||||
|
// marshal to be able to produce a message that continues to have those
|
||||||
|
// unrecognized fields. To avoid this, DiscardUnknown is used to
|
||||||
|
// explicitly clear the unknown fields after unmarshaling.
|
||||||
|
//
|
||||||
|
// For proto2 messages, the unknown fields of message extensions are only
|
||||||
|
// discarded from messages that have been accessed via GetExtension.
|
||||||
|
func DiscardUnknown(m Message) {
|
||||||
|
discardLegacy(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
func discardLegacy(m Message) {
|
||||||
|
v := reflect.ValueOf(m)
|
||||||
|
if v.Kind() != reflect.Ptr || v.IsNil() {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
v = v.Elem()
|
||||||
|
if v.Kind() != reflect.Struct {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
t := v.Type()
|
||||||
|
|
||||||
|
for i := 0; i < v.NumField(); i++ {
|
||||||
|
f := t.Field(i)
|
||||||
|
if strings.HasPrefix(f.Name, "XXX_") {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
vf := v.Field(i)
|
||||||
|
tf := f.Type
|
||||||
|
|
||||||
|
// Unwrap tf to get its most basic type.
|
||||||
|
var isPointer, isSlice bool
|
||||||
|
if tf.Kind() == reflect.Slice && tf.Elem().Kind() != reflect.Uint8 {
|
||||||
|
isSlice = true
|
||||||
|
tf = tf.Elem()
|
||||||
|
}
|
||||||
|
if tf.Kind() == reflect.Ptr {
|
||||||
|
isPointer = true
|
||||||
|
tf = tf.Elem()
|
||||||
|
}
|
||||||
|
if isPointer && isSlice && tf.Kind() != reflect.Struct {
|
||||||
|
panic(fmt.Sprintf("%T.%s cannot be a slice of pointers to primitive types", m, f.Name))
|
||||||
|
}
|
||||||
|
|
||||||
|
switch tf.Kind() {
|
||||||
|
case reflect.Struct:
|
||||||
|
switch {
|
||||||
|
case !isPointer:
|
||||||
|
panic(fmt.Sprintf("%T.%s cannot be a direct struct value", m, f.Name))
|
||||||
|
case isSlice: // E.g., []*pb.T
|
||||||
|
for j := 0; j < vf.Len(); j++ {
|
||||||
|
discardLegacy(vf.Index(j).Interface().(Message))
|
||||||
|
}
|
||||||
|
default: // E.g., *pb.T
|
||||||
|
discardLegacy(vf.Interface().(Message))
|
||||||
|
}
|
||||||
|
case reflect.Map:
|
||||||
|
switch {
|
||||||
|
case isPointer || isSlice:
|
||||||
|
panic(fmt.Sprintf("%T.%s cannot be a pointer to a map or a slice of map values", m, f.Name))
|
||||||
|
default: // E.g., map[K]V
|
||||||
|
tv := vf.Type().Elem()
|
||||||
|
if tv.Kind() == reflect.Ptr && tv.Implements(protoMessageType) { // Proto struct (e.g., *T)
|
||||||
|
for _, key := range vf.MapKeys() {
|
||||||
|
val := vf.MapIndex(key)
|
||||||
|
discardLegacy(val.Interface().(Message))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case reflect.Interface:
|
||||||
|
// Must be oneof field.
|
||||||
|
switch {
|
||||||
|
case isPointer || isSlice:
|
||||||
|
panic(fmt.Sprintf("%T.%s cannot be a pointer to a interface or a slice of interface values", m, f.Name))
|
||||||
|
default: // E.g., test_proto.isCommunique_Union interface
|
||||||
|
if !vf.IsNil() && f.Tag.Get("protobuf_oneof") != "" {
|
||||||
|
vf = vf.Elem() // E.g., *test_proto.Communique_Msg
|
||||||
|
if !vf.IsNil() {
|
||||||
|
vf = vf.Elem() // E.g., test_proto.Communique_Msg
|
||||||
|
vf = vf.Field(0) // E.g., Proto struct (e.g., *T) or primitive value
|
||||||
|
if vf.Kind() == reflect.Ptr {
|
||||||
|
discardLegacy(vf.Interface().(Message))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if vf := v.FieldByName("XXX_unrecognized"); vf.IsValid() {
|
||||||
|
if vf.Type() != reflect.TypeOf([]byte{}) {
|
||||||
|
panic("expected XXX_unrecognized to be of type []byte")
|
||||||
|
}
|
||||||
|
vf.Set(reflect.ValueOf([]byte(nil)))
|
||||||
|
}
|
||||||
|
|
||||||
|
// For proto2 messages, only discard unknown fields in message extensions
|
||||||
|
// that have been accessed via GetExtension.
|
||||||
|
if em, ok := extendable(m); ok {
|
||||||
|
// Ignore lock since discardLegacy is not concurrency safe.
|
||||||
|
emm, _ := em.extensionsRead()
|
||||||
|
for _, mx := range emm {
|
||||||
|
if m, ok := mx.value.(Message); ok {
|
||||||
|
discardLegacy(m)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
23
vendor/github.com/gogo/protobuf/protobuf/google/protobuf/descriptor.proto
generated
vendored
23
vendor/github.com/gogo/protobuf/protobuf/google/protobuf/descriptor.proto
generated
vendored
@ -45,6 +45,7 @@ option java_package = "com.google.protobuf";
|
|||||||
option java_outer_classname = "DescriptorProtos";
|
option java_outer_classname = "DescriptorProtos";
|
||||||
option csharp_namespace = "Google.Protobuf.Reflection";
|
option csharp_namespace = "Google.Protobuf.Reflection";
|
||||||
option objc_class_prefix = "GPB";
|
option objc_class_prefix = "GPB";
|
||||||
|
option cc_enable_arenas = true;
|
||||||
|
|
||||||
// descriptor.proto must be optimized for speed because reflection-based
|
// descriptor.proto must be optimized for speed because reflection-based
|
||||||
// algorithms don't work during bootstrapping.
|
// algorithms don't work during bootstrapping.
|
||||||
@ -225,6 +226,26 @@ message EnumDescriptorProto {
|
|||||||
repeated EnumValueDescriptorProto value = 2;
|
repeated EnumValueDescriptorProto value = 2;
|
||||||
|
|
||||||
optional EnumOptions options = 3;
|
optional EnumOptions options = 3;
|
||||||
|
|
||||||
|
// Range of reserved numeric values. Reserved values may not be used by
|
||||||
|
// entries in the same enum. Reserved ranges may not overlap.
|
||||||
|
//
|
||||||
|
// Note that this is distinct from DescriptorProto.ReservedRange in that it
|
||||||
|
// is inclusive such that it can appropriately represent the entire int32
|
||||||
|
// domain.
|
||||||
|
message EnumReservedRange {
|
||||||
|
optional int32 start = 1; // Inclusive.
|
||||||
|
optional int32 end = 2; // Inclusive.
|
||||||
|
}
|
||||||
|
|
||||||
|
// Range of reserved numeric values. Reserved numeric values may not be used
|
||||||
|
// by enum values in the same enum declaration. Reserved ranges may not
|
||||||
|
// overlap.
|
||||||
|
repeated EnumReservedRange reserved_range = 4;
|
||||||
|
|
||||||
|
// Reserved enum value names, which may not be reused. A given name may only
|
||||||
|
// be reserved once.
|
||||||
|
repeated string reserved_name = 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Describes a value within an enum.
|
// Describes a value within an enum.
|
||||||
@ -361,7 +382,7 @@ message FileOptions {
|
|||||||
optional bool cc_generic_services = 16 [default=false];
|
optional bool cc_generic_services = 16 [default=false];
|
||||||
optional bool java_generic_services = 17 [default=false];
|
optional bool java_generic_services = 17 [default=false];
|
||||||
optional bool py_generic_services = 18 [default=false];
|
optional bool py_generic_services = 18 [default=false];
|
||||||
optional bool php_generic_services = 19 [default=false];
|
optional bool php_generic_services = 42 [default=false];
|
||||||
|
|
||||||
// Is this file deprecated?
|
// Is this file deprecated?
|
||||||
// Depending on the target platform, this can emit Deprecated annotations
|
// Depending on the target platform, this can emit Deprecated annotations
|
||||||
|
367
vendor/github.com/gogo/protobuf/protoc-gen-gogo/descriptor/descriptor.pb.go
generated
vendored
367
vendor/github.com/gogo/protobuf/protoc-gen-gogo/descriptor/descriptor.pb.go
generated
vendored
@ -808,6 +808,13 @@ type EnumDescriptorProto struct {
|
|||||||
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||||
Value []*EnumValueDescriptorProto `protobuf:"bytes,2,rep,name=value" json:"value,omitempty"`
|
Value []*EnumValueDescriptorProto `protobuf:"bytes,2,rep,name=value" json:"value,omitempty"`
|
||||||
Options *EnumOptions `protobuf:"bytes,3,opt,name=options" json:"options,omitempty"`
|
Options *EnumOptions `protobuf:"bytes,3,opt,name=options" json:"options,omitempty"`
|
||||||
|
// Range of reserved numeric values. Reserved numeric values may not be used
|
||||||
|
// by enum values in the same enum declaration. Reserved ranges may not
|
||||||
|
// overlap.
|
||||||
|
ReservedRange []*EnumDescriptorProto_EnumReservedRange `protobuf:"bytes,4,rep,name=reserved_range,json=reservedRange" json:"reserved_range,omitempty"`
|
||||||
|
// Reserved enum value names, which may not be reused. A given name may only
|
||||||
|
// be reserved once.
|
||||||
|
ReservedName []string `protobuf:"bytes,5,rep,name=reserved_name,json=reservedName" json:"reserved_name,omitempty"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized []byte `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -837,6 +844,53 @@ func (m *EnumDescriptorProto) GetOptions() *EnumOptions {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (m *EnumDescriptorProto) GetReservedRange() []*EnumDescriptorProto_EnumReservedRange {
|
||||||
|
if m != nil {
|
||||||
|
return m.ReservedRange
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *EnumDescriptorProto) GetReservedName() []string {
|
||||||
|
if m != nil {
|
||||||
|
return m.ReservedName
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
// Range of reserved numeric values. Reserved values may not be used by
|
||||||
|
// entries in the same enum. Reserved ranges may not overlap.
|
||||||
|
//
|
||||||
|
// Note that this is distinct from DescriptorProto.ReservedRange in that it
|
||||||
|
// is inclusive such that it can appropriately represent the entire int32
|
||||||
|
// domain.
|
||||||
|
type EnumDescriptorProto_EnumReservedRange struct {
|
||||||
|
Start *int32 `protobuf:"varint,1,opt,name=start" json:"start,omitempty"`
|
||||||
|
End *int32 `protobuf:"varint,2,opt,name=end" json:"end,omitempty"`
|
||||||
|
XXX_unrecognized []byte `json:"-"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *EnumDescriptorProto_EnumReservedRange) Reset() { *m = EnumDescriptorProto_EnumReservedRange{} }
|
||||||
|
func (m *EnumDescriptorProto_EnumReservedRange) String() string { return proto.CompactTextString(m) }
|
||||||
|
func (*EnumDescriptorProto_EnumReservedRange) ProtoMessage() {}
|
||||||
|
func (*EnumDescriptorProto_EnumReservedRange) Descriptor() ([]byte, []int) {
|
||||||
|
return fileDescriptorDescriptor, []int{6, 0}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *EnumDescriptorProto_EnumReservedRange) GetStart() int32 {
|
||||||
|
if m != nil && m.Start != nil {
|
||||||
|
return *m.Start
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *EnumDescriptorProto_EnumReservedRange) GetEnd() int32 {
|
||||||
|
if m != nil && m.End != nil {
|
||||||
|
return *m.End
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
// Describes a value within an enum.
|
// Describes a value within an enum.
|
||||||
type EnumValueDescriptorProto struct {
|
type EnumValueDescriptorProto struct {
|
||||||
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||||
@ -1020,7 +1074,7 @@ type FileOptions struct {
|
|||||||
CcGenericServices *bool `protobuf:"varint,16,opt,name=cc_generic_services,json=ccGenericServices,def=0" json:"cc_generic_services,omitempty"`
|
CcGenericServices *bool `protobuf:"varint,16,opt,name=cc_generic_services,json=ccGenericServices,def=0" json:"cc_generic_services,omitempty"`
|
||||||
JavaGenericServices *bool `protobuf:"varint,17,opt,name=java_generic_services,json=javaGenericServices,def=0" json:"java_generic_services,omitempty"`
|
JavaGenericServices *bool `protobuf:"varint,17,opt,name=java_generic_services,json=javaGenericServices,def=0" json:"java_generic_services,omitempty"`
|
||||||
PyGenericServices *bool `protobuf:"varint,18,opt,name=py_generic_services,json=pyGenericServices,def=0" json:"py_generic_services,omitempty"`
|
PyGenericServices *bool `protobuf:"varint,18,opt,name=py_generic_services,json=pyGenericServices,def=0" json:"py_generic_services,omitempty"`
|
||||||
PhpGenericServices *bool `protobuf:"varint,19,opt,name=php_generic_services,json=phpGenericServices,def=0" json:"php_generic_services,omitempty"`
|
PhpGenericServices *bool `protobuf:"varint,42,opt,name=php_generic_services,json=phpGenericServices,def=0" json:"php_generic_services,omitempty"`
|
||||||
// Is this file deprecated?
|
// Is this file deprecated?
|
||||||
// Depending on the target platform, this can emit Deprecated annotations
|
// Depending on the target platform, this can emit Deprecated annotations
|
||||||
// for everything in the file, or it will be completely ignored; in the very
|
// for everything in the file, or it will be completely ignored; in the very
|
||||||
@ -2037,6 +2091,7 @@ func init() {
|
|||||||
proto.RegisterType((*FieldDescriptorProto)(nil), "google.protobuf.FieldDescriptorProto")
|
proto.RegisterType((*FieldDescriptorProto)(nil), "google.protobuf.FieldDescriptorProto")
|
||||||
proto.RegisterType((*OneofDescriptorProto)(nil), "google.protobuf.OneofDescriptorProto")
|
proto.RegisterType((*OneofDescriptorProto)(nil), "google.protobuf.OneofDescriptorProto")
|
||||||
proto.RegisterType((*EnumDescriptorProto)(nil), "google.protobuf.EnumDescriptorProto")
|
proto.RegisterType((*EnumDescriptorProto)(nil), "google.protobuf.EnumDescriptorProto")
|
||||||
|
proto.RegisterType((*EnumDescriptorProto_EnumReservedRange)(nil), "google.protobuf.EnumDescriptorProto.EnumReservedRange")
|
||||||
proto.RegisterType((*EnumValueDescriptorProto)(nil), "google.protobuf.EnumValueDescriptorProto")
|
proto.RegisterType((*EnumValueDescriptorProto)(nil), "google.protobuf.EnumValueDescriptorProto")
|
||||||
proto.RegisterType((*ServiceDescriptorProto)(nil), "google.protobuf.ServiceDescriptorProto")
|
proto.RegisterType((*ServiceDescriptorProto)(nil), "google.protobuf.ServiceDescriptorProto")
|
||||||
proto.RegisterType((*MethodDescriptorProto)(nil), "google.protobuf.MethodDescriptorProto")
|
proto.RegisterType((*MethodDescriptorProto)(nil), "google.protobuf.MethodDescriptorProto")
|
||||||
@ -2065,159 +2120,161 @@ func init() {
|
|||||||
func init() { proto.RegisterFile("descriptor.proto", fileDescriptorDescriptor) }
|
func init() { proto.RegisterFile("descriptor.proto", fileDescriptorDescriptor) }
|
||||||
|
|
||||||
var fileDescriptorDescriptor = []byte{
|
var fileDescriptorDescriptor = []byte{
|
||||||
// 2451 bytes of a gzipped FileDescriptorProto
|
// 2487 bytes of a gzipped FileDescriptorProto
|
||||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4,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e6, 0x81,
|
0x1c, 0x39, 0x68, 0xb7, 0x9b, 0x28, 0x17, 0xd9, 0xec, 0xf6, 0x94, 0x46, 0xeb, 0x10, 0xe5, 0x23,
|
||||||
0xd2, 0x3e, 0xea, 0x20, 0x88, 0x2c, 0x1c, 0xca, 0xdd, 0x6e, 0xf5, 0x40, 0x46, 0x85, 0x88, 0xb1,
|
0x9b, 0x87, 0x4a, 0xfb, 0xb8, 0x83, 0x20, 0xb2, 0x70, 0x24, 0x77, 0xbb, 0xd5, 0x43, 0x19, 0x15,
|
||||||
0xff, 0xa4, 0x27, 0x77, 0x51, 0x71, 0xca, 0xad, 0xdb, 0xbb, 0x68, 0x35, 0x9a, 0x42, 0x6e, 0x1d,
|
0x22, 0xc6, 0xc1, 0xc3, 0x9e, 0xdc, 0x45, 0xc5, 0x29, 0xb7, 0x6e, 0xec, 0xa2, 0xd5, 0xe8, 0x13,
|
||||||
0x1d, 0xa2, 0x12, 0x5e, 0x87, 0x55, 0x31, 0x45, 0xe8, 0xc4, 0xda, 0x0c, 0x74, 0xef, 0x0e, 0x42,
|
0x72, 0xeb, 0xf8, 0x08, 0x95, 0xf0, 0x3a, 0xac, 0x8a, 0x4f, 0x84, 0x4e, 0xac, 0xcd, 0x40, 0x7b,
|
||||||
0x13, 0x47, 0x84, 0x95, 0xf5, 0x29, 0xe0, 0xde, 0x1d, 0x84, 0xcb, 0x35, 0xc8, 0xf0, 0xec, 0xc2,
|
0x37, 0x11, 0x9a, 0x38, 0x22, 0xac, 0xac, 0x4f, 0x01, 0x7b, 0x37, 0x11, 0x2e, 0xd7, 0x20, 0xc3,
|
||||||
0x18, 0x4a, 0xcd, 0xea, 0xbe, 0xdc, 0x54, 0xdb, 0x9d, 0x5e, 0xa3, 0xdd, 0xaa, 0x36, 0x51, 0x62,
|
0xb3, 0x0b, 0x63, 0x28, 0x35, 0xab, 0x07, 0x72, 0x53, 0x6d, 0x77, 0x7a, 0x8d, 0x76, 0xab, 0xda,
|
||||||
0x82,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0x32, 0x4a, 0x96, 0xef, 0x42, 0x56, 0x04, 0x81, 0x6d, 0x8d, 0x28, 0x0c, 0xe8, 0x83,
|
0xc9, 0xe3, 0xe9, 0x03, 0x80, 0x43, 0xaf, 0x31, 0xf5, 0xaf, 0x43, 0x86, 0xc7, 0x0b, 0x03, 0x04,
|
||||||
0x60, 0x18, 0xd8, 0x48, 0x84, 0xd2, 0xa3, 0xc3, 0x7d, 0x59, 0x41, 0xc9, 0xf8, 0xe7, 0xf5, 0xa0,
|
0x11, 0x43, 0x6f, 0xe1, 0x1c, 0xa4, 0x6b, 0x6d, 0x85, 0xa5, 0x3f, 0x82, 0xa2, 0x40, 0xd5, 0x4e,
|
||||||
0x18, 0x6f, 0x2b, 0xdf, 0x4f, 0x4e, 0xfd, 0x35, 0x01, 0x85, 0x58, 0x9b, 0xc8, 0x1a, 0x14, 0x62,
|
0x43, 0xae, 0xc9, 0x28, 0x59, 0xbe, 0x05, 0x59, 0x11, 0x04, 0xb6, 0x35, 0xa2, 0x30, 0xa0, 0xb7,
|
||||||
0x9a, 0xf6, 0x0b, 0x95, 0x98, 0x06, 0xf1, 0x82, 0xa4, 0x00, 0x0e, 0x55, 0x19, 0x72, 0xda, 0x8f,
|
0x82, 0x61, 0x60, 0x23, 0x11, 0x4a, 0x8f, 0x8f, 0x0e, 0x64, 0x05, 0x25, 0xe3, 0xcb, 0xeb, 0x41,
|
||||||
0xf6, 0x5e, 0x9c, 0xff, 0x43, 0x02, 0xd0, 0x6c, 0x8b, 0x39, 0xe3, 0x60, 0xe2, 0x07, 0x75, 0xf0,
|
0x31, 0xde, 0x17, 0xbf, 0x99, 0x9c, 0xfa, 0x4b, 0x02, 0x0a, 0xb1, 0x3e, 0x97, 0x35, 0x28, 0xc4,
|
||||||
0xf7, 0x09, 0x28, 0x4d, 0xf7, 0x95, 0x33, 0xee, 0x5d, 0xfa, 0x41, 0xdd, 0xfb, 0x57, 0x12, 0x56,
|
0x34, 0xed, 0xa7, 0x2a, 0x31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d1, 0x37, 0xa8, 0x1b, 0x3c, 0xd8, 0x88, 0x0b, 0xc5, 0xda, 0x04, 0x17, 0x6f, 0x36, 0xdf, 0x03,
|
||||||
0x25, 0x11, 0xfb, 0x12, 0x14, 0x75, 0x7b, 0xcc, 0xba, 0x2e, 0xc1, 0x63, 0xf5, 0x22, 0xa1, 0x14,
|
0xec, 0xd8, 0x9e, 0xe1, 0x1b, 0x4f, 0xa8, 0x6a, 0x58, 0xe1, 0xeb, 0x0e, 0xbb, 0x60, 0xa4, 0x15,
|
||||||
0x04, 0x16, 0x51, 0x82, 0x7e, 0x7a, 0xf2, 0x2a, 0x53, 0x54, 0x0a, 0x02, 0x13, 0x94, 0x6b, 0xb0,
|
0x14, 0x4a, 0x1a, 0x96, 0x1f, 0xb1, 0x2d, 0x3a, 0x20, 0x33, 0x6c, 0x56, 0xc0, 0x53, 0x0a, 0x0a,
|
||||||
0x46, 0x06, 0x03, 0x97, 0x19, 0x0f, 0x0d, 0x89, 0x1b, 0x42, 0x29, 0x82, 0x39, 0x71, 0xeb, 0x11,
|
0x25, 0x11, 0xfb, 0x12, 0x14, 0x75, 0x7b, 0xcc, 0xba, 0x2e, 0xc1, 0x63, 0xe7, 0x45, 0x42, 0x29,
|
||||||
0xe4, 0xc2, 0x38, 0xb0, 0x92, 0xcc, 0x22, 0xa1, 0x3a, 0xe2, 0x65, 0x2e, 0xb9, 0x93, 0x57, 0x72,
|
0x08, 0x2c, 0xa2, 0x04, 0xfd, 0xf4, 0xe4, 0x59, 0xa9, 0xa8, 0x14, 0x04, 0x26, 0x28, 0x97, 0x61,
|
||||||
0x56, 0x28, 0xbc, 0x04, 0x45, 0xc3, 0x53, 0x27, 0x8f, 0xcc, 0xc9, 0xed, 0xe4, 0x4e, 0x4e, 0x29,
|
0x8d, 0x0c, 0x06, 0x2e, 0x33, 0x1e, 0x1a, 0x12, 0x37, 0x84, 0x52, 0x04, 0x73, 0xe2, 0xd6, 0x7d,
|
||||||
0x18, 0x5e, 0x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, 0x14, 0x83, 0xf0, 0xad, 0x36, 0x1d, 0xbd, 0xd5, 0xee, 0x3f, 0x86, 0x0d,
|
0x48, 0x49, 0x89, 0x19, 0xd8, 0x1a, 0x01, 0x4c, 0x24, 0x4b, 0xc3, 0x76, 0x11, 0x0a, 0xc1, 0x4f,
|
||||||
0xcd, 0x1e, 0xcd, 0xba, 0xbb, 0x8f, 0x66, 0xae, 0xf9, 0xde, 0x97, 0x89, 0xaf, 0x61, 0xd2, 0x62,
|
0x38, 0xfc, 0x77, 0x40, 0x71, 0xc5, 0x06, 0x01, 0xb1, 0x9b, 0x15, 0xde, 0x84, 0xcc, 0x09, 0x1d,
|
||||||
0x7e, 0x9b, 0x4c, 0x1d, 0x74, 0xf6, 0xff, 0x98, 0xdc, 0x3a, 0x10, 0x7a, 0x9d, 0x70, 0x99, 0x0a,
|
0x18, 0x56, 0xf0, 0x30, 0x2b, 0x06, 0xe1, 0x43, 0x48, 0x3a, 0x7a, 0x08, 0x39, 0xf8, 0x19, 0x6c,
|
||||||
0xed, 0x9b, 0x54, 0x63, 0xae, 0xff, 0x2f, 0x00, 0x00, 0xff, 0xff, 0x6b, 0x03, 0xf1, 0x99, 0x1b,
|
0x68, 0xf6, 0x68, 0xd6, 0xdd, 0x03, 0x34, 0x73, 0xcd, 0xf7, 0x3e, 0x4f, 0x7c, 0x09, 0x93, 0x16,
|
||||||
0x1c, 0x00, 0x00,
|
0xf3, 0x7f, 0x89, 0xc4, 0xef, 0x93, 0xa9, 0xc3, 0xce, 0xc1, 0x1f, 0x92, 0x5b, 0x87, 0x42, 0xb5,
|
||||||
|
0x13, 0xce, 0x54, 0xa1, 0x7d, 0x93, 0x6a, 0xcc, 0xfb, 0xff, 0x07, 0x00, 0x00, 0xff, 0xff, 0xa3,
|
||||||
|
0x58, 0x22, 0x30, 0xdf, 0x1c, 0x00, 0x00,
|
||||||
}
|
}
|
||||||
|
33
vendor/github.com/gogo/protobuf/protoc-gen-gogo/descriptor/descriptor_gostring.gen.go
generated
vendored
33
vendor/github.com/gogo/protobuf/protoc-gen-gogo/descriptor/descriptor_gostring.gen.go
generated
vendored
@ -34,11 +34,10 @@ package descriptor
|
|||||||
|
|
||||||
import fmt "fmt"
|
import fmt "fmt"
|
||||||
import strings "strings"
|
import strings "strings"
|
||||||
import github_com_gogo_protobuf_proto "github.com/gogo/protobuf/proto"
|
import proto "github.com/gogo/protobuf/proto"
|
||||||
import sort "sort"
|
import sort "sort"
|
||||||
import strconv "strconv"
|
import strconv "strconv"
|
||||||
import reflect "reflect"
|
import reflect "reflect"
|
||||||
import proto "github.com/gogo/protobuf/proto"
|
|
||||||
import math "math"
|
import math "math"
|
||||||
|
|
||||||
// Reference imports to suppress errors if they are not otherwise used.
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
@ -270,7 +269,7 @@ func (this *EnumDescriptorProto) GoString() string {
|
|||||||
if this == nil {
|
if this == nil {
|
||||||
return "nil"
|
return "nil"
|
||||||
}
|
}
|
||||||
s := make([]string, 0, 7)
|
s := make([]string, 0, 9)
|
||||||
s = append(s, "&descriptor.EnumDescriptorProto{")
|
s = append(s, "&descriptor.EnumDescriptorProto{")
|
||||||
if this.Name != nil {
|
if this.Name != nil {
|
||||||
s = append(s, "Name: "+valueToGoStringDescriptor(this.Name, "string")+",\n")
|
s = append(s, "Name: "+valueToGoStringDescriptor(this.Name, "string")+",\n")
|
||||||
@ -281,6 +280,30 @@ func (this *EnumDescriptorProto) GoString() string {
|
|||||||
if this.Options != nil {
|
if this.Options != nil {
|
||||||
s = append(s, "Options: "+fmt.Sprintf("%#v", this.Options)+",\n")
|
s = append(s, "Options: "+fmt.Sprintf("%#v", this.Options)+",\n")
|
||||||
}
|
}
|
||||||
|
if this.ReservedRange != nil {
|
||||||
|
s = append(s, "ReservedRange: "+fmt.Sprintf("%#v", this.ReservedRange)+",\n")
|
||||||
|
}
|
||||||
|
if this.ReservedName != nil {
|
||||||
|
s = append(s, "ReservedName: "+fmt.Sprintf("%#v", this.ReservedName)+",\n")
|
||||||
|
}
|
||||||
|
if this.XXX_unrecognized != nil {
|
||||||
|
s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n")
|
||||||
|
}
|
||||||
|
s = append(s, "}")
|
||||||
|
return strings.Join(s, "")
|
||||||
|
}
|
||||||
|
func (this *EnumDescriptorProto_EnumReservedRange) GoString() string {
|
||||||
|
if this == nil {
|
||||||
|
return "nil"
|
||||||
|
}
|
||||||
|
s := make([]string, 0, 6)
|
||||||
|
s = append(s, "&descriptor.EnumDescriptorProto_EnumReservedRange{")
|
||||||
|
if this.Start != nil {
|
||||||
|
s = append(s, "Start: "+valueToGoStringDescriptor(this.Start, "int32")+",\n")
|
||||||
|
}
|
||||||
|
if this.End != nil {
|
||||||
|
s = append(s, "End: "+valueToGoStringDescriptor(this.End, "int32")+",\n")
|
||||||
|
}
|
||||||
if this.XXX_unrecognized != nil {
|
if this.XXX_unrecognized != nil {
|
||||||
s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n")
|
s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n")
|
||||||
}
|
}
|
||||||
@ -729,8 +752,8 @@ func valueToGoStringDescriptor(v interface{}, typ string) string {
|
|||||||
pv := reflect.Indirect(rv).Interface()
|
pv := reflect.Indirect(rv).Interface()
|
||||||
return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv)
|
return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv)
|
||||||
}
|
}
|
||||||
func extensionToGoStringDescriptor(m github_com_gogo_protobuf_proto.Message) string {
|
func extensionToGoStringDescriptor(m proto.Message) string {
|
||||||
e := github_com_gogo_protobuf_proto.GetUnsafeExtensionsMap(m)
|
e := proto.GetUnsafeExtensionsMap(m)
|
||||||
if e == nil {
|
if e == nil {
|
||||||
return "nil"
|
return "nil"
|
||||||
}
|
}
|
||||||
|
69
vendor/github.com/gogo/protobuf/protoc-gen-gogo/generator/generator.go
generated
vendored
69
vendor/github.com/gogo/protobuf/protoc-gen-gogo/generator/generator.go
generated
vendored
@ -715,6 +715,12 @@ var pkgNamesInUse = make(map[string][]*FileDescriptor)
|
|||||||
// Pkg is the candidate name. If f is nil, it's a builtin package like "proto" and
|
// Pkg is the candidate name. If f is nil, it's a builtin package like "proto" and
|
||||||
// has no file descriptor.
|
// has no file descriptor.
|
||||||
func RegisterUniquePackageName(pkg string, f *FileDescriptor) string {
|
func RegisterUniquePackageName(pkg string, f *FileDescriptor) string {
|
||||||
|
if f == nil {
|
||||||
|
// For builtin and standard lib packages, try to use only
|
||||||
|
// the last component of the package path.
|
||||||
|
pkg = pkg[strings.LastIndex(pkg, "/")+1:]
|
||||||
|
}
|
||||||
|
|
||||||
// Convert dots to underscores before finding a unique alias.
|
// Convert dots to underscores before finding a unique alias.
|
||||||
pkg = strings.Map(badToUnderscore, pkg)
|
pkg = strings.Map(badToUnderscore, pkg)
|
||||||
|
|
||||||
@ -2337,7 +2343,7 @@ func (g *Generator) generateMessage(message *Descriptor) {
|
|||||||
case typename == "string":
|
case typename == "string":
|
||||||
def = strconv.Quote(def)
|
def = strconv.Quote(def)
|
||||||
case typename == "[]byte":
|
case typename == "[]byte":
|
||||||
def = "[]byte(" + strconv.Quote(def) + ")"
|
def = "[]byte(" + strconv.Quote(unescape(def)) + ")"
|
||||||
kind = "var "
|
kind = "var "
|
||||||
case def == "inf", def == "-inf", def == "nan":
|
case def == "inf", def == "-inf", def == "nan":
|
||||||
// These names are known to, and defined by, the protocol language.
|
// These names are known to, and defined by, the protocol language.
|
||||||
@ -3055,6 +3061,67 @@ func (g *Generator) generateMessage(message *Descriptor) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var escapeChars = [256]byte{
|
||||||
|
'a': '\a', 'b': '\b', 'f': '\f', 'n': '\n', 'r': '\r', 't': '\t', 'v': '\v', '\\': '\\', '"': '"', '\'': '\'', '?': '?',
|
||||||
|
}
|
||||||
|
|
||||||
|
// unescape reverses the "C" escaping that protoc does for default values of bytes fields.
|
||||||
|
// It is best effort in that it effectively ignores malformed input. Seemingly invalid escape
|
||||||
|
// sequences are conveyed, unmodified, into the decoded result.
|
||||||
|
func unescape(s string) string {
|
||||||
|
// NB: Sadly, we can't use strconv.Unquote because protoc will escape both
|
||||||
|
// single and double quotes, but strconv.Unquote only allows one or the
|
||||||
|
// other (based on actual surrounding quotes of its input argument).
|
||||||
|
|
||||||
|
var out []byte
|
||||||
|
for len(s) > 0 {
|
||||||
|
// regular character, or too short to be valid escape
|
||||||
|
if s[0] != '\\' || len(s) < 2 {
|
||||||
|
out = append(out, s[0])
|
||||||
|
s = s[1:]
|
||||||
|
} else if c := escapeChars[s[1]]; c != 0 {
|
||||||
|
// escape sequence
|
||||||
|
out = append(out, c)
|
||||||
|
s = s[2:]
|
||||||
|
} else if s[1] == 'x' || s[1] == 'X' {
|
||||||
|
// hex escape, e.g. "\x80
|
||||||
|
if len(s) < 4 {
|
||||||
|
// too short to be valid
|
||||||
|
out = append(out, s[:2]...)
|
||||||
|
s = s[2:]
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
v, err := strconv.ParseUint(s[2:4], 16, 8)
|
||||||
|
if err != nil {
|
||||||
|
out = append(out, s[:4]...)
|
||||||
|
} else {
|
||||||
|
out = append(out, byte(v))
|
||||||
|
}
|
||||||
|
s = s[4:]
|
||||||
|
} else if '0' <= s[1] && s[1] <= '7' {
|
||||||
|
// octal escape, can vary from 1 to 3 octal digits; e.g., "\0" "\40" or "\164"
|
||||||
|
// so consume up to 2 more bytes or up to end-of-string
|
||||||
|
n := len(s[1:]) - len(strings.TrimLeft(s[1:], "01234567"))
|
||||||
|
if n > 3 {
|
||||||
|
n = 3
|
||||||
|
}
|
||||||
|
v, err := strconv.ParseUint(s[1:1+n], 8, 8)
|
||||||
|
if err != nil {
|
||||||
|
out = append(out, s[:1+n]...)
|
||||||
|
} else {
|
||||||
|
out = append(out, byte(v))
|
||||||
|
}
|
||||||
|
s = s[1+n:]
|
||||||
|
} else {
|
||||||
|
// bad escape, just propagate the slash as-is
|
||||||
|
out = append(out, s[0])
|
||||||
|
s = s[1:]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return string(out)
|
||||||
|
}
|
||||||
|
|
||||||
func (g *Generator) generateExtension(ext *ExtensionDescriptor) {
|
func (g *Generator) generateExtension(ext *ExtensionDescriptor) {
|
||||||
ccTypeName := ext.DescName()
|
ccTypeName := ext.DescName()
|
||||||
|
|
||||||
|
11
vendor/github.com/gogo/protobuf/protoc-gen-gogo/grpc/grpc.go
generated
vendored
11
vendor/github.com/gogo/protobuf/protoc-gen-gogo/grpc/grpc.go
generated
vendored
@ -36,7 +36,6 @@ package grpc
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"path"
|
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
@ -129,11 +128,11 @@ func (g *grpc) GenerateImports(file *generator.FileDescriptor) {
|
|||||||
if len(file.FileDescriptorProto.Service) == 0 {
|
if len(file.FileDescriptorProto.Service) == 0 {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
g.P("import (")
|
imports := generator.NewPluginImports(g.gen)
|
||||||
g.P(contextPkg, " ", strconv.Quote(path.Join(g.gen.ImportPrefix, contextPkgPath)))
|
for _, i := range []string{contextPkgPath, grpcPkgPath} {
|
||||||
g.P(grpcPkg, " ", strconv.Quote(path.Join(g.gen.ImportPrefix, grpcPkgPath)))
|
imports.NewImport(i).Use()
|
||||||
g.P(")")
|
}
|
||||||
g.P()
|
imports.GenerateImports(file)
|
||||||
}
|
}
|
||||||
|
|
||||||
// reservedClientName records whether a client name is reserved on the client side.
|
// reservedClientName records whether a client name is reserved on the client side.
|
||||||
|
12
vendor/github.com/gogo/protobuf/test/issue270/a/a1.proto
generated
vendored
Normal file
12
vendor/github.com/gogo/protobuf/test/issue270/a/a1.proto
generated
vendored
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
syntax = "proto2";
|
||||||
|
|
||||||
|
package issue270.a;
|
||||||
|
|
||||||
|
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
|
||||||
|
import "github.com/gogo/protobuf/test/issue270/a/a2.proto";
|
||||||
|
|
||||||
|
option (gogoproto.populate_all) = true;
|
||||||
|
|
||||||
|
message A1 {
|
||||||
|
optional A2 a2 = 1;
|
||||||
|
}
|
12
vendor/github.com/gogo/protobuf/test/issue270/a/a2.proto
generated
vendored
Normal file
12
vendor/github.com/gogo/protobuf/test/issue270/a/a2.proto
generated
vendored
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
syntax = "proto2";
|
||||||
|
|
||||||
|
package issue270.a;
|
||||||
|
|
||||||
|
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
|
||||||
|
import "github.com/gogo/protobuf/test/issue270/b/b.proto";
|
||||||
|
|
||||||
|
option (gogoproto.populate_all) = true;
|
||||||
|
|
||||||
|
message A2 {
|
||||||
|
optional issue270.b.B b = 1;
|
||||||
|
}
|
6
vendor/github.com/gogo/protobuf/test/issue270/b/b.proto
generated
vendored
Normal file
6
vendor/github.com/gogo/protobuf/test/issue270/b/b.proto
generated
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
syntax = "proto2";
|
||||||
|
|
||||||
|
package issue270.b;
|
||||||
|
|
||||||
|
message B {
|
||||||
|
}
|
10
vendor/github.com/gogo/protobuf/types/any.pb.go
generated
vendored
10
vendor/github.com/gogo/protobuf/types/any.pb.go
generated
vendored
@ -202,10 +202,7 @@ func (this *Any) Compare(that interface{}) int {
|
|||||||
}
|
}
|
||||||
func (this *Any) Equal(that interface{}) bool {
|
func (this *Any) Equal(that interface{}) bool {
|
||||||
if that == nil {
|
if that == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
}
|
}
|
||||||
|
|
||||||
that1, ok := that.(*Any)
|
that1, ok := that.(*Any)
|
||||||
@ -218,10 +215,7 @@ func (this *Any) Equal(that interface{}) bool {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if that1 == nil {
|
if that1 == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
} else if this == nil {
|
} else if this == nil {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
10
vendor/github.com/gogo/protobuf/types/duration.pb.go
generated
vendored
10
vendor/github.com/gogo/protobuf/types/duration.pb.go
generated
vendored
@ -169,10 +169,7 @@ func (this *Duration) Compare(that interface{}) int {
|
|||||||
}
|
}
|
||||||
func (this *Duration) Equal(that interface{}) bool {
|
func (this *Duration) Equal(that interface{}) bool {
|
||||||
if that == nil {
|
if that == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
}
|
}
|
||||||
|
|
||||||
that1, ok := that.(*Duration)
|
that1, ok := that.(*Duration)
|
||||||
@ -185,10 +182,7 @@ func (this *Duration) Equal(that interface{}) bool {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if that1 == nil {
|
if that1 == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
} else if this == nil {
|
} else if this == nil {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
10
vendor/github.com/gogo/protobuf/types/empty.pb.go
generated
vendored
10
vendor/github.com/gogo/protobuf/types/empty.pb.go
generated
vendored
@ -81,10 +81,7 @@ func (this *Empty) Compare(that interface{}) int {
|
|||||||
}
|
}
|
||||||
func (this *Empty) Equal(that interface{}) bool {
|
func (this *Empty) Equal(that interface{}) bool {
|
||||||
if that == nil {
|
if that == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
}
|
}
|
||||||
|
|
||||||
that1, ok := that.(*Empty)
|
that1, ok := that.(*Empty)
|
||||||
@ -97,10 +94,7 @@ func (this *Empty) Equal(that interface{}) bool {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if that1 == nil {
|
if that1 == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
} else if this == nil {
|
} else if this == nil {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
10
vendor/github.com/gogo/protobuf/types/field_mask.pb.go
generated
vendored
10
vendor/github.com/gogo/protobuf/types/field_mask.pb.go
generated
vendored
@ -295,10 +295,7 @@ func (this *FieldMask) Compare(that interface{}) int {
|
|||||||
}
|
}
|
||||||
func (this *FieldMask) Equal(that interface{}) bool {
|
func (this *FieldMask) Equal(that interface{}) bool {
|
||||||
if that == nil {
|
if that == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
}
|
}
|
||||||
|
|
||||||
that1, ok := that.(*FieldMask)
|
that1, ok := that.(*FieldMask)
|
||||||
@ -311,10 +308,7 @@ func (this *FieldMask) Equal(that interface{}) bool {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if that1 == nil {
|
if that1 == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
} else if this == nil {
|
} else if this == nil {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
102
vendor/github.com/gogo/protobuf/types/struct.pb.go
generated
vendored
102
vendor/github.com/gogo/protobuf/types/struct.pb.go
generated
vendored
@ -22,9 +22,9 @@ import strconv "strconv"
|
|||||||
|
|
||||||
import strings "strings"
|
import strings "strings"
|
||||||
import reflect "reflect"
|
import reflect "reflect"
|
||||||
import github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
|
import sortkeys "github.com/gogo/protobuf/sortkeys"
|
||||||
|
|
||||||
import encoding_binary "encoding/binary"
|
import binary "encoding/binary"
|
||||||
|
|
||||||
import io "io"
|
import io "io"
|
||||||
|
|
||||||
@ -361,10 +361,7 @@ func (x NullValue) String() string {
|
|||||||
}
|
}
|
||||||
func (this *Struct) Equal(that interface{}) bool {
|
func (this *Struct) Equal(that interface{}) bool {
|
||||||
if that == nil {
|
if that == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
}
|
}
|
||||||
|
|
||||||
that1, ok := that.(*Struct)
|
that1, ok := that.(*Struct)
|
||||||
@ -377,10 +374,7 @@ func (this *Struct) Equal(that interface{}) bool {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if that1 == nil {
|
if that1 == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
} else if this == nil {
|
} else if this == nil {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
@ -396,10 +390,7 @@ func (this *Struct) Equal(that interface{}) bool {
|
|||||||
}
|
}
|
||||||
func (this *Value) Equal(that interface{}) bool {
|
func (this *Value) Equal(that interface{}) bool {
|
||||||
if that == nil {
|
if that == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
}
|
}
|
||||||
|
|
||||||
that1, ok := that.(*Value)
|
that1, ok := that.(*Value)
|
||||||
@ -412,10 +403,7 @@ func (this *Value) Equal(that interface{}) bool {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if that1 == nil {
|
if that1 == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
} else if this == nil {
|
} else if this == nil {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
@ -432,10 +420,7 @@ func (this *Value) Equal(that interface{}) bool {
|
|||||||
}
|
}
|
||||||
func (this *Value_NullValue) Equal(that interface{}) bool {
|
func (this *Value_NullValue) Equal(that interface{}) bool {
|
||||||
if that == nil {
|
if that == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
}
|
}
|
||||||
|
|
||||||
that1, ok := that.(*Value_NullValue)
|
that1, ok := that.(*Value_NullValue)
|
||||||
@ -448,10 +433,7 @@ func (this *Value_NullValue) Equal(that interface{}) bool {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if that1 == nil {
|
if that1 == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
} else if this == nil {
|
} else if this == nil {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
@ -462,10 +444,7 @@ func (this *Value_NullValue) Equal(that interface{}) bool {
|
|||||||
}
|
}
|
||||||
func (this *Value_NumberValue) Equal(that interface{}) bool {
|
func (this *Value_NumberValue) Equal(that interface{}) bool {
|
||||||
if that == nil {
|
if that == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
}
|
}
|
||||||
|
|
||||||
that1, ok := that.(*Value_NumberValue)
|
that1, ok := that.(*Value_NumberValue)
|
||||||
@ -478,10 +457,7 @@ func (this *Value_NumberValue) Equal(that interface{}) bool {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if that1 == nil {
|
if that1 == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
} else if this == nil {
|
} else if this == nil {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
@ -492,10 +468,7 @@ func (this *Value_NumberValue) Equal(that interface{}) bool {
|
|||||||
}
|
}
|
||||||
func (this *Value_StringValue) Equal(that interface{}) bool {
|
func (this *Value_StringValue) Equal(that interface{}) bool {
|
||||||
if that == nil {
|
if that == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
}
|
}
|
||||||
|
|
||||||
that1, ok := that.(*Value_StringValue)
|
that1, ok := that.(*Value_StringValue)
|
||||||
@ -508,10 +481,7 @@ func (this *Value_StringValue) Equal(that interface{}) bool {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if that1 == nil {
|
if that1 == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
} else if this == nil {
|
} else if this == nil {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
@ -522,10 +492,7 @@ func (this *Value_StringValue) Equal(that interface{}) bool {
|
|||||||
}
|
}
|
||||||
func (this *Value_BoolValue) Equal(that interface{}) bool {
|
func (this *Value_BoolValue) Equal(that interface{}) bool {
|
||||||
if that == nil {
|
if that == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
}
|
}
|
||||||
|
|
||||||
that1, ok := that.(*Value_BoolValue)
|
that1, ok := that.(*Value_BoolValue)
|
||||||
@ -538,10 +505,7 @@ func (this *Value_BoolValue) Equal(that interface{}) bool {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if that1 == nil {
|
if that1 == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
} else if this == nil {
|
} else if this == nil {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
@ -552,10 +516,7 @@ func (this *Value_BoolValue) Equal(that interface{}) bool {
|
|||||||
}
|
}
|
||||||
func (this *Value_StructValue) Equal(that interface{}) bool {
|
func (this *Value_StructValue) Equal(that interface{}) bool {
|
||||||
if that == nil {
|
if that == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
}
|
}
|
||||||
|
|
||||||
that1, ok := that.(*Value_StructValue)
|
that1, ok := that.(*Value_StructValue)
|
||||||
@ -568,10 +529,7 @@ func (this *Value_StructValue) Equal(that interface{}) bool {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if that1 == nil {
|
if that1 == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
} else if this == nil {
|
} else if this == nil {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
@ -582,10 +540,7 @@ func (this *Value_StructValue) Equal(that interface{}) bool {
|
|||||||
}
|
}
|
||||||
func (this *Value_ListValue) Equal(that interface{}) bool {
|
func (this *Value_ListValue) Equal(that interface{}) bool {
|
||||||
if that == nil {
|
if that == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
}
|
}
|
||||||
|
|
||||||
that1, ok := that.(*Value_ListValue)
|
that1, ok := that.(*Value_ListValue)
|
||||||
@ -598,10 +553,7 @@ func (this *Value_ListValue) Equal(that interface{}) bool {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if that1 == nil {
|
if that1 == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
} else if this == nil {
|
} else if this == nil {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
@ -612,10 +564,7 @@ func (this *Value_ListValue) Equal(that interface{}) bool {
|
|||||||
}
|
}
|
||||||
func (this *ListValue) Equal(that interface{}) bool {
|
func (this *ListValue) Equal(that interface{}) bool {
|
||||||
if that == nil {
|
if that == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
}
|
}
|
||||||
|
|
||||||
that1, ok := that.(*ListValue)
|
that1, ok := that.(*ListValue)
|
||||||
@ -628,10 +577,7 @@ func (this *ListValue) Equal(that interface{}) bool {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if that1 == nil {
|
if that1 == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
} else if this == nil {
|
} else if this == nil {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
@ -655,7 +601,7 @@ func (this *Struct) GoString() string {
|
|||||||
for k := range this.Fields {
|
for k := range this.Fields {
|
||||||
keysForFields = append(keysForFields, k)
|
keysForFields = append(keysForFields, k)
|
||||||
}
|
}
|
||||||
github_com_gogo_protobuf_sortkeys.Strings(keysForFields)
|
sortkeys.Strings(keysForFields)
|
||||||
mapStringForFields := "map[string]*Value{"
|
mapStringForFields := "map[string]*Value{"
|
||||||
for _, k := range keysForFields {
|
for _, k := range keysForFields {
|
||||||
mapStringForFields += fmt.Sprintf("%#v: %#v,", k, this.Fields[k])
|
mapStringForFields += fmt.Sprintf("%#v: %#v,", k, this.Fields[k])
|
||||||
@ -829,7 +775,7 @@ func (m *Value_NumberValue) MarshalTo(dAtA []byte) (int, error) {
|
|||||||
i := 0
|
i := 0
|
||||||
dAtA[i] = 0x11
|
dAtA[i] = 0x11
|
||||||
i++
|
i++
|
||||||
encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.NumberValue))))
|
binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.NumberValue))))
|
||||||
i += 8
|
i += 8
|
||||||
return i, nil
|
return i, nil
|
||||||
}
|
}
|
||||||
@ -1179,7 +1125,7 @@ func (this *Struct) String() string {
|
|||||||
for k := range this.Fields {
|
for k := range this.Fields {
|
||||||
keysForFields = append(keysForFields, k)
|
keysForFields = append(keysForFields, k)
|
||||||
}
|
}
|
||||||
github_com_gogo_protobuf_sortkeys.Strings(keysForFields)
|
sortkeys.Strings(keysForFields)
|
||||||
mapStringForFields := "map[string]*Value{"
|
mapStringForFields := "map[string]*Value{"
|
||||||
for _, k := range keysForFields {
|
for _, k := range keysForFields {
|
||||||
mapStringForFields += fmt.Sprintf("%v: %v,", k, this.Fields[k])
|
mapStringForFields += fmt.Sprintf("%v: %v,", k, this.Fields[k])
|
||||||
@ -1509,7 +1455,7 @@ func (m *Value) Unmarshal(dAtA []byte) error {
|
|||||||
if (iNdEx + 8) > l {
|
if (iNdEx + 8) > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
|
v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:]))
|
||||||
iNdEx += 8
|
iNdEx += 8
|
||||||
m.Kind = &Value_NumberValue{float64(math.Float64frombits(v))}
|
m.Kind = &Value_NumberValue{float64(math.Float64frombits(v))}
|
||||||
case 3:
|
case 3:
|
||||||
|
10
vendor/github.com/gogo/protobuf/types/timestamp.pb.go
generated
vendored
10
vendor/github.com/gogo/protobuf/types/timestamp.pb.go
generated
vendored
@ -185,10 +185,7 @@ func (this *Timestamp) Compare(that interface{}) int {
|
|||||||
}
|
}
|
||||||
func (this *Timestamp) Equal(that interface{}) bool {
|
func (this *Timestamp) Equal(that interface{}) bool {
|
||||||
if that == nil {
|
if that == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
}
|
}
|
||||||
|
|
||||||
that1, ok := that.(*Timestamp)
|
that1, ok := that.(*Timestamp)
|
||||||
@ -201,10 +198,7 @@ func (this *Timestamp) Equal(that interface{}) bool {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if that1 == nil {
|
if that1 == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
} else if this == nil {
|
} else if this == nil {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
100
vendor/github.com/gogo/protobuf/types/wrappers.pb.go
generated
vendored
100
vendor/github.com/gogo/protobuf/types/wrappers.pb.go
generated
vendored
@ -29,7 +29,7 @@ import bytes "bytes"
|
|||||||
import strings "strings"
|
import strings "strings"
|
||||||
import reflect "reflect"
|
import reflect "reflect"
|
||||||
|
|
||||||
import encoding_binary "encoding/binary"
|
import binary "encoding/binary"
|
||||||
|
|
||||||
import io "io"
|
import io "io"
|
||||||
|
|
||||||
@ -531,10 +531,7 @@ func (this *BytesValue) Compare(that interface{}) int {
|
|||||||
}
|
}
|
||||||
func (this *DoubleValue) Equal(that interface{}) bool {
|
func (this *DoubleValue) Equal(that interface{}) bool {
|
||||||
if that == nil {
|
if that == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
}
|
}
|
||||||
|
|
||||||
that1, ok := that.(*DoubleValue)
|
that1, ok := that.(*DoubleValue)
|
||||||
@ -547,10 +544,7 @@ func (this *DoubleValue) Equal(that interface{}) bool {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if that1 == nil {
|
if that1 == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
} else if this == nil {
|
} else if this == nil {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
@ -561,10 +555,7 @@ func (this *DoubleValue) Equal(that interface{}) bool {
|
|||||||
}
|
}
|
||||||
func (this *FloatValue) Equal(that interface{}) bool {
|
func (this *FloatValue) Equal(that interface{}) bool {
|
||||||
if that == nil {
|
if that == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
}
|
}
|
||||||
|
|
||||||
that1, ok := that.(*FloatValue)
|
that1, ok := that.(*FloatValue)
|
||||||
@ -577,10 +568,7 @@ func (this *FloatValue) Equal(that interface{}) bool {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if that1 == nil {
|
if that1 == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
} else if this == nil {
|
} else if this == nil {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
@ -591,10 +579,7 @@ func (this *FloatValue) Equal(that interface{}) bool {
|
|||||||
}
|
}
|
||||||
func (this *Int64Value) Equal(that interface{}) bool {
|
func (this *Int64Value) Equal(that interface{}) bool {
|
||||||
if that == nil {
|
if that == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
}
|
}
|
||||||
|
|
||||||
that1, ok := that.(*Int64Value)
|
that1, ok := that.(*Int64Value)
|
||||||
@ -607,10 +592,7 @@ func (this *Int64Value) Equal(that interface{}) bool {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if that1 == nil {
|
if that1 == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
} else if this == nil {
|
} else if this == nil {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
@ -621,10 +603,7 @@ func (this *Int64Value) Equal(that interface{}) bool {
|
|||||||
}
|
}
|
||||||
func (this *UInt64Value) Equal(that interface{}) bool {
|
func (this *UInt64Value) Equal(that interface{}) bool {
|
||||||
if that == nil {
|
if that == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
}
|
}
|
||||||
|
|
||||||
that1, ok := that.(*UInt64Value)
|
that1, ok := that.(*UInt64Value)
|
||||||
@ -637,10 +616,7 @@ func (this *UInt64Value) Equal(that interface{}) bool {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if that1 == nil {
|
if that1 == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
} else if this == nil {
|
} else if this == nil {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
@ -651,10 +627,7 @@ func (this *UInt64Value) Equal(that interface{}) bool {
|
|||||||
}
|
}
|
||||||
func (this *Int32Value) Equal(that interface{}) bool {
|
func (this *Int32Value) Equal(that interface{}) bool {
|
||||||
if that == nil {
|
if that == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
}
|
}
|
||||||
|
|
||||||
that1, ok := that.(*Int32Value)
|
that1, ok := that.(*Int32Value)
|
||||||
@ -667,10 +640,7 @@ func (this *Int32Value) Equal(that interface{}) bool {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if that1 == nil {
|
if that1 == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
} else if this == nil {
|
} else if this == nil {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
@ -681,10 +651,7 @@ func (this *Int32Value) Equal(that interface{}) bool {
|
|||||||
}
|
}
|
||||||
func (this *UInt32Value) Equal(that interface{}) bool {
|
func (this *UInt32Value) Equal(that interface{}) bool {
|
||||||
if that == nil {
|
if that == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
}
|
}
|
||||||
|
|
||||||
that1, ok := that.(*UInt32Value)
|
that1, ok := that.(*UInt32Value)
|
||||||
@ -697,10 +664,7 @@ func (this *UInt32Value) Equal(that interface{}) bool {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if that1 == nil {
|
if that1 == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
} else if this == nil {
|
} else if this == nil {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
@ -711,10 +675,7 @@ func (this *UInt32Value) Equal(that interface{}) bool {
|
|||||||
}
|
}
|
||||||
func (this *BoolValue) Equal(that interface{}) bool {
|
func (this *BoolValue) Equal(that interface{}) bool {
|
||||||
if that == nil {
|
if that == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
}
|
}
|
||||||
|
|
||||||
that1, ok := that.(*BoolValue)
|
that1, ok := that.(*BoolValue)
|
||||||
@ -727,10 +688,7 @@ func (this *BoolValue) Equal(that interface{}) bool {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if that1 == nil {
|
if that1 == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
} else if this == nil {
|
} else if this == nil {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
@ -741,10 +699,7 @@ func (this *BoolValue) Equal(that interface{}) bool {
|
|||||||
}
|
}
|
||||||
func (this *StringValue) Equal(that interface{}) bool {
|
func (this *StringValue) Equal(that interface{}) bool {
|
||||||
if that == nil {
|
if that == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
}
|
}
|
||||||
|
|
||||||
that1, ok := that.(*StringValue)
|
that1, ok := that.(*StringValue)
|
||||||
@ -757,10 +712,7 @@ func (this *StringValue) Equal(that interface{}) bool {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if that1 == nil {
|
if that1 == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
} else if this == nil {
|
} else if this == nil {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
@ -771,10 +723,7 @@ func (this *StringValue) Equal(that interface{}) bool {
|
|||||||
}
|
}
|
||||||
func (this *BytesValue) Equal(that interface{}) bool {
|
func (this *BytesValue) Equal(that interface{}) bool {
|
||||||
if that == nil {
|
if that == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
}
|
}
|
||||||
|
|
||||||
that1, ok := that.(*BytesValue)
|
that1, ok := that.(*BytesValue)
|
||||||
@ -787,10 +736,7 @@ func (this *BytesValue) Equal(that interface{}) bool {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if that1 == nil {
|
if that1 == nil {
|
||||||
if this == nil {
|
return this == nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
} else if this == nil {
|
} else if this == nil {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
@ -915,7 +861,7 @@ func (m *DoubleValue) MarshalTo(dAtA []byte) (int, error) {
|
|||||||
if m.Value != 0 {
|
if m.Value != 0 {
|
||||||
dAtA[i] = 0x9
|
dAtA[i] = 0x9
|
||||||
i++
|
i++
|
||||||
encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Value))))
|
binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Value))))
|
||||||
i += 8
|
i += 8
|
||||||
}
|
}
|
||||||
return i, nil
|
return i, nil
|
||||||
@ -939,7 +885,7 @@ func (m *FloatValue) MarshalTo(dAtA []byte) (int, error) {
|
|||||||
if m.Value != 0 {
|
if m.Value != 0 {
|
||||||
dAtA[i] = 0xd
|
dAtA[i] = 0xd
|
||||||
i++
|
i++
|
||||||
encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Value))))
|
binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Value))))
|
||||||
i += 4
|
i += 4
|
||||||
}
|
}
|
||||||
return i, nil
|
return i, nil
|
||||||
@ -1513,7 +1459,7 @@ func (m *DoubleValue) Unmarshal(dAtA []byte) error {
|
|||||||
if (iNdEx + 8) > l {
|
if (iNdEx + 8) > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
|
v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:]))
|
||||||
iNdEx += 8
|
iNdEx += 8
|
||||||
m.Value = float64(math.Float64frombits(v))
|
m.Value = float64(math.Float64frombits(v))
|
||||||
default:
|
default:
|
||||||
@ -1574,7 +1520,7 @@ func (m *FloatValue) Unmarshal(dAtA []byte) error {
|
|||||||
if (iNdEx + 4) > l {
|
if (iNdEx + 4) > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
|
v = uint32(binary.LittleEndian.Uint32(dAtA[iNdEx:]))
|
||||||
iNdEx += 4
|
iNdEx += 4
|
||||||
m.Value = float32(math.Float32frombits(v))
|
m.Value = float32(math.Float32frombits(v))
|
||||||
default:
|
default:
|
||||||
|
@ -23,7 +23,7 @@ import _ "github.com/gogo/protobuf/types"
|
|||||||
|
|
||||||
import time "time"
|
import time "time"
|
||||||
|
|
||||||
import github_com_gogo_protobuf_types "github.com/gogo/protobuf/types"
|
import types "github.com/gogo/protobuf/types"
|
||||||
|
|
||||||
import strings "strings"
|
import strings "strings"
|
||||||
import reflect "reflect"
|
import reflect "reflect"
|
||||||
@ -89,8 +89,8 @@ func (m *CreateOptions) MarshalTo(dAtA []byte) (int, error) {
|
|||||||
_ = l
|
_ = l
|
||||||
dAtA[i] = 0xa
|
dAtA[i] = 0xa
|
||||||
i++
|
i++
|
||||||
i = encodeVarintHcsshim(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdDuration(m.TerminateDuration)))
|
i = encodeVarintHcsshim(dAtA, i, uint64(types.SizeOfStdDuration(m.TerminateDuration)))
|
||||||
n1, err := github_com_gogo_protobuf_types.StdDurationMarshalTo(m.TerminateDuration, dAtA[i:])
|
n1, err := types.StdDurationMarshalTo(m.TerminateDuration, dAtA[i:])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
@ -121,8 +121,8 @@ func (m *ProcessDetails) MarshalTo(dAtA []byte) (int, error) {
|
|||||||
}
|
}
|
||||||
dAtA[i] = 0x12
|
dAtA[i] = 0x12
|
||||||
i++
|
i++
|
||||||
i = encodeVarintHcsshim(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdTime(m.CreatedAt)))
|
i = encodeVarintHcsshim(dAtA, i, uint64(types.SizeOfStdTime(m.CreatedAt)))
|
||||||
n2, err := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.CreatedAt, dAtA[i:])
|
n2, err := types.StdTimeMarshalTo(m.CreatedAt, dAtA[i:])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
@ -178,7 +178,7 @@ func encodeVarintHcsshim(dAtA []byte, offset int, v uint64) int {
|
|||||||
func (m *CreateOptions) Size() (n int) {
|
func (m *CreateOptions) Size() (n int) {
|
||||||
var l int
|
var l int
|
||||||
_ = l
|
_ = l
|
||||||
l = github_com_gogo_protobuf_types.SizeOfStdDuration(m.TerminateDuration)
|
l = types.SizeOfStdDuration(m.TerminateDuration)
|
||||||
n += 1 + l + sovHcsshim(uint64(l))
|
n += 1 + l + sovHcsshim(uint64(l))
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
@ -190,7 +190,7 @@ func (m *ProcessDetails) Size() (n int) {
|
|||||||
if l > 0 {
|
if l > 0 {
|
||||||
n += 1 + l + sovHcsshim(uint64(l))
|
n += 1 + l + sovHcsshim(uint64(l))
|
||||||
}
|
}
|
||||||
l = github_com_gogo_protobuf_types.SizeOfStdTime(m.CreatedAt)
|
l = types.SizeOfStdTime(m.CreatedAt)
|
||||||
n += 1 + l + sovHcsshim(uint64(l))
|
n += 1 + l + sovHcsshim(uint64(l))
|
||||||
if m.KernelTime_100Ns != 0 {
|
if m.KernelTime_100Ns != 0 {
|
||||||
n += 1 + sovHcsshim(uint64(m.KernelTime_100Ns))
|
n += 1 + sovHcsshim(uint64(m.KernelTime_100Ns))
|
||||||
@ -321,7 +321,7 @@ func (m *CreateOptions) Unmarshal(dAtA []byte) error {
|
|||||||
if postIndex > l {
|
if postIndex > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(&m.TerminateDuration, dAtA[iNdEx:postIndex]); err != nil {
|
if err := types.StdDurationUnmarshal(&m.TerminateDuration, dAtA[iNdEx:postIndex]); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
@ -430,7 +430,7 @@ func (m *ProcessDetails) Unmarshal(dAtA []byte) error {
|
|||||||
if postIndex > l {
|
if postIndex > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.CreatedAt, dAtA[iNdEx:postIndex]); err != nil {
|
if err := types.StdTimeUnmarshal(&m.CreatedAt, dAtA[iNdEx:postIndex]); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
|
Loading…
Reference in New Issue
Block a user