mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-05 19:47:53 +00:00
459 lines
14 KiB
Go
459 lines
14 KiB
Go
//
|
|
// Copyright 2019 HyperHQ Inc.
|
|
//
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.28.1
|
|
// protoc v3.21.12
|
|
// source: cache.proto
|
|
|
|
package __
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
emptypb "google.golang.org/protobuf/types/known/emptypb"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type GrpcVMConfig struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Data []byte `protobuf:"bytes,1,opt,name=Data,proto3" json:"Data,omitempty"`
|
|
AgentConfig []byte `protobuf:"bytes,2,opt,name=AgentConfig,proto3" json:"AgentConfig,omitempty"`
|
|
}
|
|
|
|
func (x *GrpcVMConfig) Reset() {
|
|
*x = GrpcVMConfig{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_cache_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GrpcVMConfig) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GrpcVMConfig) ProtoMessage() {}
|
|
|
|
func (x *GrpcVMConfig) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cache_proto_msgTypes[0]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GrpcVMConfig.ProtoReflect.Descriptor instead.
|
|
func (*GrpcVMConfig) Descriptor() ([]byte, []int) {
|
|
return file_cache_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *GrpcVMConfig) GetData() []byte {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GrpcVMConfig) GetAgentConfig() []byte {
|
|
if x != nil {
|
|
return x.AgentConfig
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GrpcVM struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Hypervisor []byte `protobuf:"bytes,2,opt,name=hypervisor,proto3" json:"hypervisor,omitempty"`
|
|
ProxyPid int64 `protobuf:"varint,3,opt,name=proxyPid,proto3" json:"proxyPid,omitempty"`
|
|
ProxyURL string `protobuf:"bytes,4,opt,name=proxyURL,proto3" json:"proxyURL,omitempty"`
|
|
Cpu uint32 `protobuf:"varint,5,opt,name=cpu,proto3" json:"cpu,omitempty"`
|
|
Memory uint32 `protobuf:"varint,6,opt,name=memory,proto3" json:"memory,omitempty"`
|
|
CpuDelta uint32 `protobuf:"varint,7,opt,name=cpuDelta,proto3" json:"cpuDelta,omitempty"`
|
|
}
|
|
|
|
func (x *GrpcVM) Reset() {
|
|
*x = GrpcVM{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_cache_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GrpcVM) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GrpcVM) ProtoMessage() {}
|
|
|
|
func (x *GrpcVM) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cache_proto_msgTypes[1]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GrpcVM.ProtoReflect.Descriptor instead.
|
|
func (*GrpcVM) Descriptor() ([]byte, []int) {
|
|
return file_cache_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *GrpcVM) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GrpcVM) GetHypervisor() []byte {
|
|
if x != nil {
|
|
return x.Hypervisor
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GrpcVM) GetProxyPid() int64 {
|
|
if x != nil {
|
|
return x.ProxyPid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GrpcVM) GetProxyURL() string {
|
|
if x != nil {
|
|
return x.ProxyURL
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GrpcVM) GetCpu() uint32 {
|
|
if x != nil {
|
|
return x.Cpu
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GrpcVM) GetMemory() uint32 {
|
|
if x != nil {
|
|
return x.Memory
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GrpcVM) GetCpuDelta() uint32 {
|
|
if x != nil {
|
|
return x.CpuDelta
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GrpcStatus struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Pid int64 `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"`
|
|
Vmstatus []*GrpcVMStatus `protobuf:"bytes,2,rep,name=vmstatus,proto3" json:"vmstatus,omitempty"`
|
|
}
|
|
|
|
func (x *GrpcStatus) Reset() {
|
|
*x = GrpcStatus{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_cache_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GrpcStatus) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GrpcStatus) ProtoMessage() {}
|
|
|
|
func (x *GrpcStatus) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cache_proto_msgTypes[2]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GrpcStatus.ProtoReflect.Descriptor instead.
|
|
func (*GrpcStatus) Descriptor() ([]byte, []int) {
|
|
return file_cache_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *GrpcStatus) GetPid() int64 {
|
|
if x != nil {
|
|
return x.Pid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GrpcStatus) GetVmstatus() []*GrpcVMStatus {
|
|
if x != nil {
|
|
return x.Vmstatus
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GrpcVMStatus struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Pid int64 `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"`
|
|
Cpu uint32 `protobuf:"varint,2,opt,name=cpu,proto3" json:"cpu,omitempty"`
|
|
Memory uint32 `protobuf:"varint,3,opt,name=memory,proto3" json:"memory,omitempty"`
|
|
}
|
|
|
|
func (x *GrpcVMStatus) Reset() {
|
|
*x = GrpcVMStatus{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_cache_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GrpcVMStatus) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GrpcVMStatus) ProtoMessage() {}
|
|
|
|
func (x *GrpcVMStatus) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cache_proto_msgTypes[3]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GrpcVMStatus.ProtoReflect.Descriptor instead.
|
|
func (*GrpcVMStatus) Descriptor() ([]byte, []int) {
|
|
return file_cache_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *GrpcVMStatus) GetPid() int64 {
|
|
if x != nil {
|
|
return x.Pid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GrpcVMStatus) GetCpu() uint32 {
|
|
if x != nil {
|
|
return x.Cpu
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GrpcVMStatus) GetMemory() uint32 {
|
|
if x != nil {
|
|
return x.Memory
|
|
}
|
|
return 0
|
|
}
|
|
|
|
var File_cache_proto protoreflect.FileDescriptor
|
|
|
|
var file_cache_proto_rawDesc = []byte{
|
|
0x0a, 0x0b, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x63,
|
|
0x61, 0x63, 0x68, 0x65, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f,
|
|
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
|
0x6f, 0x22, 0x44, 0x0a, 0x0c, 0x47, 0x72, 0x70, 0x63, 0x56, 0x4d, 0x43, 0x6f, 0x6e, 0x66, 0x69,
|
|
0x67, 0x12, 0x12, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52,
|
|
0x04, 0x44, 0x61, 0x74, 0x61, 0x12, 0x20, 0x0a, 0x0b, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x43, 0x6f,
|
|
0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x41, 0x67, 0x65, 0x6e,
|
|
0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0xb6, 0x01, 0x0a, 0x06, 0x47, 0x72, 0x70, 0x63,
|
|
0x56, 0x4d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02,
|
|
0x69, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x68, 0x79, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x68, 0x79, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73,
|
|
0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x50, 0x69, 0x64, 0x18, 0x03,
|
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x50, 0x69, 0x64, 0x12, 0x1a,
|
|
0x0a, 0x08, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x55, 0x52, 0x4c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x08, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x55, 0x52, 0x4c, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x70,
|
|
0x75, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x63, 0x70, 0x75, 0x12, 0x16, 0x0a, 0x06,
|
|
0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x6d, 0x65,
|
|
0x6d, 0x6f, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x70, 0x75, 0x44, 0x65, 0x6c, 0x74, 0x61,
|
|
0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x70, 0x75, 0x44, 0x65, 0x6c, 0x74, 0x61,
|
|
0x22, 0x4f, 0x0a, 0x0a, 0x47, 0x72, 0x70, 0x63, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x10,
|
|
0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x70, 0x69, 0x64,
|
|
0x12, 0x2f, 0x0a, 0x08, 0x76, 0x6d, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x03,
|
|
0x28, 0x0b, 0x32, 0x13, 0x2e, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x47, 0x72, 0x70, 0x63, 0x56,
|
|
0x4d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x08, 0x76, 0x6d, 0x73, 0x74, 0x61, 0x74, 0x75,
|
|
0x73, 0x22, 0x4a, 0x0a, 0x0c, 0x47, 0x72, 0x70, 0x63, 0x56, 0x4d, 0x53, 0x74, 0x61, 0x74, 0x75,
|
|
0x73, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03,
|
|
0x70, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x70, 0x75, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d,
|
|
0x52, 0x03, 0x63, 0x70, 0x75, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18,
|
|
0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x32, 0xe6, 0x01,
|
|
0x0a, 0x0c, 0x43, 0x61, 0x63, 0x68, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x35,
|
|
0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
|
|
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79,
|
|
0x1a, 0x13, 0x2e, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x47, 0x72, 0x70, 0x63, 0x56, 0x4d, 0x43,
|
|
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x32, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x42, 0x61, 0x73, 0x65,
|
|
0x56, 0x4d, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
|
0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x0d, 0x2e, 0x63, 0x61, 0x63,
|
|
0x68, 0x65, 0x2e, 0x47, 0x72, 0x70, 0x63, 0x56, 0x4d, 0x12, 0x33, 0x0a, 0x06, 0x53, 0x74, 0x61,
|
|
0x74, 0x75, 0x73, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
|
|
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x11, 0x2e, 0x63, 0x61,
|
|
0x63, 0x68, 0x65, 0x2e, 0x47, 0x72, 0x70, 0x63, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x36,
|
|
0x0a, 0x04, 0x51, 0x75, 0x69, 0x74, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16,
|
|
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
|
|
0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72,
|
|
0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_cache_proto_rawDescOnce sync.Once
|
|
file_cache_proto_rawDescData = file_cache_proto_rawDesc
|
|
)
|
|
|
|
func file_cache_proto_rawDescGZIP() []byte {
|
|
file_cache_proto_rawDescOnce.Do(func() {
|
|
file_cache_proto_rawDescData = protoimpl.X.CompressGZIP(file_cache_proto_rawDescData)
|
|
})
|
|
return file_cache_proto_rawDescData
|
|
}
|
|
|
|
var file_cache_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
|
var file_cache_proto_goTypes = []interface{}{
|
|
(*GrpcVMConfig)(nil), // 0: cache.GrpcVMConfig
|
|
(*GrpcVM)(nil), // 1: cache.GrpcVM
|
|
(*GrpcStatus)(nil), // 2: cache.GrpcStatus
|
|
(*GrpcVMStatus)(nil), // 3: cache.GrpcVMStatus
|
|
(*emptypb.Empty)(nil), // 4: google.protobuf.Empty
|
|
}
|
|
var file_cache_proto_depIdxs = []int32{
|
|
3, // 0: cache.GrpcStatus.vmstatus:type_name -> cache.GrpcVMStatus
|
|
4, // 1: cache.CacheService.Config:input_type -> google.protobuf.Empty
|
|
4, // 2: cache.CacheService.GetBaseVM:input_type -> google.protobuf.Empty
|
|
4, // 3: cache.CacheService.Status:input_type -> google.protobuf.Empty
|
|
4, // 4: cache.CacheService.Quit:input_type -> google.protobuf.Empty
|
|
0, // 5: cache.CacheService.Config:output_type -> cache.GrpcVMConfig
|
|
1, // 6: cache.CacheService.GetBaseVM:output_type -> cache.GrpcVM
|
|
2, // 7: cache.CacheService.Status:output_type -> cache.GrpcStatus
|
|
4, // 8: cache.CacheService.Quit:output_type -> google.protobuf.Empty
|
|
5, // [5:9] is the sub-list for method output_type
|
|
1, // [1:5] is the sub-list for method input_type
|
|
1, // [1:1] is the sub-list for extension type_name
|
|
1, // [1:1] is the sub-list for extension extendee
|
|
0, // [0:1] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_cache_proto_init() }
|
|
func file_cache_proto_init() {
|
|
if File_cache_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_cache_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GrpcVMConfig); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_cache_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GrpcVM); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_cache_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GrpcStatus); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_cache_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GrpcVMStatus); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_cache_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 4,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_cache_proto_goTypes,
|
|
DependencyIndexes: file_cache_proto_depIdxs,
|
|
MessageInfos: file_cache_proto_msgTypes,
|
|
}.Build()
|
|
File_cache_proto = out.File
|
|
file_cache_proto_rawDesc = nil
|
|
file_cache_proto_goTypes = nil
|
|
file_cache_proto_depIdxs = nil
|
|
}
|