mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-12-07 09:43:15 +00:00
vendor: update google/cadvisor and opencontainers/runc
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
51
vendor/google.golang.org/protobuf/internal/detectknown/detect.go
generated
vendored
51
vendor/google.golang.org/protobuf/internal/detectknown/detect.go
generated
vendored
@@ -18,30 +18,47 @@ const (
|
||||
WrappersProto
|
||||
StructProto
|
||||
FieldMaskProto
|
||||
ApiProto
|
||||
TypeProto
|
||||
SourceContextProto
|
||||
EmptyProto
|
||||
)
|
||||
|
||||
var wellKnownTypes = map[protoreflect.FullName]ProtoFile{
|
||||
"google.protobuf.Any": AnyProto,
|
||||
"google.protobuf.Timestamp": TimestampProto,
|
||||
"google.protobuf.Duration": DurationProto,
|
||||
"google.protobuf.BoolValue": WrappersProto,
|
||||
"google.protobuf.Int32Value": WrappersProto,
|
||||
"google.protobuf.Int64Value": WrappersProto,
|
||||
"google.protobuf.UInt32Value": WrappersProto,
|
||||
"google.protobuf.UInt64Value": WrappersProto,
|
||||
"google.protobuf.FloatValue": WrappersProto,
|
||||
"google.protobuf.DoubleValue": WrappersProto,
|
||||
"google.protobuf.BytesValue": WrappersProto,
|
||||
"google.protobuf.StringValue": WrappersProto,
|
||||
"google.protobuf.Struct": StructProto,
|
||||
"google.protobuf.ListValue": StructProto,
|
||||
"google.protobuf.Value": StructProto,
|
||||
"google.protobuf.FieldMask": FieldMaskProto,
|
||||
"google.protobuf.Empty": EmptyProto,
|
||||
"google.protobuf.Any": AnyProto,
|
||||
"google.protobuf.Timestamp": TimestampProto,
|
||||
"google.protobuf.Duration": DurationProto,
|
||||
"google.protobuf.BoolValue": WrappersProto,
|
||||
"google.protobuf.Int32Value": WrappersProto,
|
||||
"google.protobuf.Int64Value": WrappersProto,
|
||||
"google.protobuf.UInt32Value": WrappersProto,
|
||||
"google.protobuf.UInt64Value": WrappersProto,
|
||||
"google.protobuf.FloatValue": WrappersProto,
|
||||
"google.protobuf.DoubleValue": WrappersProto,
|
||||
"google.protobuf.BytesValue": WrappersProto,
|
||||
"google.protobuf.StringValue": WrappersProto,
|
||||
"google.protobuf.Struct": StructProto,
|
||||
"google.protobuf.ListValue": StructProto,
|
||||
"google.protobuf.Value": StructProto,
|
||||
"google.protobuf.NullValue": StructProto,
|
||||
"google.protobuf.FieldMask": FieldMaskProto,
|
||||
"google.protobuf.Api": ApiProto,
|
||||
"google.protobuf.Method": ApiProto,
|
||||
"google.protobuf.Mixin": ApiProto,
|
||||
"google.protobuf.Syntax": TypeProto,
|
||||
"google.protobuf.Type": TypeProto,
|
||||
"google.protobuf.Field": TypeProto,
|
||||
"google.protobuf.Field.Kind": TypeProto,
|
||||
"google.protobuf.Field.Cardinality": TypeProto,
|
||||
"google.protobuf.Enum": TypeProto,
|
||||
"google.protobuf.EnumValue": TypeProto,
|
||||
"google.protobuf.Option": TypeProto,
|
||||
"google.protobuf.SourceContext": SourceContextProto,
|
||||
"google.protobuf.Empty": EmptyProto,
|
||||
}
|
||||
|
||||
// Which identifies the proto file that a well-known type belongs to.
|
||||
// This identifies both enums and messages.
|
||||
func Which(s protoreflect.FullName) ProtoFile {
|
||||
return wellKnownTypes[s]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user