Documentation ¶
Index ¶
- func RegisterAppRuntimeSyncServer(s *grpc.Server, srv AppRuntimeSyncServer)
- type AppRuntimeSyncClient
- type AppRuntimeSyncServer
- type Container
- func (*Container) Descriptor() ([]byte, []int)
- func (m *Container) GetContainerName() string
- func (m *Container) GetMemoryLimit() int64
- func (*Container) ProtoMessage()
- func (m *Container) Reset()
- func (m *Container) String() string
- func (m *Container) XXX_DiscardUnknown()
- func (m *Container) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Container) XXX_Merge(src proto.Message)
- func (m *Container) XXX_Size() int
- func (m *Container) XXX_Unmarshal(b []byte) error
- type DeployInfo
- func (*DeployInfo) Descriptor() ([]byte, []int)
- func (m *DeployInfo) GetDeployment() string
- func (m *DeployInfo) GetIngresses() map[string]string
- func (m *DeployInfo) GetNamespace() string
- func (m *DeployInfo) GetPods() map[string]string
- func (m *DeployInfo) GetReplicatset() map[string]string
- func (m *DeployInfo) GetSecrets() map[string]string
- func (m *DeployInfo) GetServices() map[string]string
- func (m *DeployInfo) GetStatefuleset() string
- func (m *DeployInfo) GetStatus() string
- func (*DeployInfo) ProtoMessage()
- func (m *DeployInfo) Reset()
- func (m *DeployInfo) String() string
- func (m *DeployInfo) XXX_DiscardUnknown()
- func (m *DeployInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeployInfo) XXX_Merge(src proto.Message)
- func (m *DeployInfo) XXX_Size() int
- func (m *DeployInfo) XXX_Unmarshal(b []byte) error
- type DiskMessage
- func (*DiskMessage) Descriptor() ([]byte, []int)
- func (m *DiskMessage) GetDisks() map[string]float64
- func (*DiskMessage) ProtoMessage()
- func (m *DiskMessage) Reset()
- func (m *DiskMessage) String() string
- func (m *DiskMessage) XXX_DiscardUnknown()
- func (m *DiskMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DiskMessage) XXX_Merge(src proto.Message)
- func (m *DiskMessage) XXX_Size() int
- func (m *DiskMessage) XXX_Unmarshal(b []byte) error
- type ServiceAppPod
- func (*ServiceAppPod) Descriptor() ([]byte, []int)
- func (m *ServiceAppPod) GetContainers() map[string]*Container
- func (m *ServiceAppPod) GetDeployId() string
- func (m *ServiceAppPod) GetDeployType() string
- func (m *ServiceAppPod) GetPodIp() string
- func (m *ServiceAppPod) GetPodName() string
- func (m *ServiceAppPod) GetPodStatus() string
- func (m *ServiceAppPod) GetServiceId() string
- func (*ServiceAppPod) ProtoMessage()
- func (m *ServiceAppPod) Reset()
- func (m *ServiceAppPod) String() string
- func (m *ServiceAppPod) XXX_DiscardUnknown()
- func (m *ServiceAppPod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServiceAppPod) XXX_Merge(src proto.Message)
- func (m *ServiceAppPod) XXX_Size() int
- func (m *ServiceAppPod) XXX_Unmarshal(b []byte) error
- type ServiceAppPodList
- func (*ServiceAppPodList) Descriptor() ([]byte, []int)
- func (m *ServiceAppPodList) GetPods() []*ServiceAppPod
- func (*ServiceAppPodList) ProtoMessage()
- func (m *ServiceAppPodList) Reset()
- func (m *ServiceAppPodList) String() string
- func (m *ServiceAppPodList) XXX_DiscardUnknown()
- func (m *ServiceAppPodList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServiceAppPodList) XXX_Merge(src proto.Message)
- func (m *ServiceAppPodList) XXX_Size() int
- func (m *ServiceAppPodList) XXX_Unmarshal(b []byte) error
- type ServiceRequest
- func (*ServiceRequest) Descriptor() ([]byte, []int)
- func (m *ServiceRequest) GetServiceId() string
- func (*ServiceRequest) ProtoMessage()
- func (m *ServiceRequest) Reset()
- func (m *ServiceRequest) String() string
- func (m *ServiceRequest) XXX_DiscardUnknown()
- func (m *ServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServiceRequest) XXX_Merge(src proto.Message)
- func (m *ServiceRequest) XXX_Size() int
- func (m *ServiceRequest) XXX_Unmarshal(b []byte) error
- type ServicesRequest
- func (*ServicesRequest) Descriptor() ([]byte, []int)
- func (m *ServicesRequest) GetServiceIds() string
- func (*ServicesRequest) ProtoMessage()
- func (m *ServicesRequest) Reset()
- func (m *ServicesRequest) String() string
- func (m *ServicesRequest) XXX_DiscardUnknown()
- func (m *ServicesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServicesRequest) XXX_Merge(src proto.Message)
- func (m *ServicesRequest) XXX_Size() int
- func (m *ServicesRequest) XXX_Unmarshal(b []byte) error
- type StatusMessage
- func (*StatusMessage) Descriptor() ([]byte, []int)
- func (m *StatusMessage) GetStatus() map[string]string
- func (*StatusMessage) ProtoMessage()
- func (m *StatusMessage) Reset()
- func (m *StatusMessage) String() string
- func (m *StatusMessage) XXX_DiscardUnknown()
- func (m *StatusMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StatusMessage) XXX_Merge(src proto.Message)
- func (m *StatusMessage) XXX_Size() int
- func (m *StatusMessage) XXX_Unmarshal(b []byte) error
- type TenantRequest
- func (*TenantRequest) Descriptor() ([]byte, []int)
- func (m *TenantRequest) GetTenantId() string
- func (*TenantRequest) ProtoMessage()
- func (m *TenantRequest) Reset()
- func (m *TenantRequest) String() string
- func (m *TenantRequest) XXX_DiscardUnknown()
- func (m *TenantRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TenantRequest) XXX_Merge(src proto.Message)
- func (m *TenantRequest) XXX_Size() int
- func (m *TenantRequest) XXX_Unmarshal(b []byte) error
- type TenantResource
- func (*TenantResource) Descriptor() ([]byte, []int)
- func (m *TenantResource) GetCpuLimit() int64
- func (m *TenantResource) GetCpuRequest() int64
- func (m *TenantResource) GetMemoryLimit() int64
- func (m *TenantResource) GetMemoryRequest() int64
- func (m *TenantResource) GetRunningAppNum() int64
- func (*TenantResource) ProtoMessage()
- func (m *TenantResource) Reset()
- func (m *TenantResource) String() string
- func (m *TenantResource) XXX_DiscardUnknown()
- func (m *TenantResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TenantResource) XXX_Merge(src proto.Message)
- func (m *TenantResource) XXX_Size() int
- func (m *TenantResource) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterAppRuntimeSyncServer ¶
func RegisterAppRuntimeSyncServer(s *grpc.Server, srv AppRuntimeSyncServer)
Types ¶
type AppRuntimeSyncClient ¶
type AppRuntimeSyncClient interface { GetAppStatus(ctx context.Context, in *ServicesRequest, opts ...grpc.CallOption) (*StatusMessage, error) GetAppPods(ctx context.Context, in *ServiceRequest, opts ...grpc.CallOption) (*ServiceAppPodList, error) GetDeployInfo(ctx context.Context, in *ServiceRequest, opts ...grpc.CallOption) (*DeployInfo, error) GetTenantResource(ctx context.Context, in *TenantRequest, opts ...grpc.CallOption) (*TenantResource, error) }
AppRuntimeSyncClient is the client API for AppRuntimeSync service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAppRuntimeSyncClient ¶
func NewAppRuntimeSyncClient(cc *grpc.ClientConn) AppRuntimeSyncClient
type AppRuntimeSyncServer ¶
type AppRuntimeSyncServer interface { GetAppStatus(context.Context, *ServicesRequest) (*StatusMessage, error) GetAppPods(context.Context, *ServiceRequest) (*ServiceAppPodList, error) GetDeployInfo(context.Context, *ServiceRequest) (*DeployInfo, error) GetTenantResource(context.Context, *TenantRequest) (*TenantResource, error) }
AppRuntimeSyncServer is the server API for AppRuntimeSync service.
type Container ¶
type Container struct { ContainerName string `protobuf:"bytes,1,opt,name=container_name,json=containerName,proto3" json:"container_name,omitempty"` MemoryLimit int64 `protobuf:"varint,2,opt,name=memory_limit,json=memoryLimit,proto3" json:"memory_limit,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Container) Descriptor ¶
func (*Container) GetContainerName ¶
func (*Container) GetMemoryLimit ¶
func (*Container) ProtoMessage ¶
func (*Container) ProtoMessage()
func (*Container) XXX_DiscardUnknown ¶
func (m *Container) XXX_DiscardUnknown()
func (*Container) XXX_Marshal ¶
func (*Container) XXX_Unmarshal ¶
type DeployInfo ¶
type DeployInfo struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Statefuleset string `protobuf:"bytes,2,opt,name=statefuleset,proto3" json:"statefuleset,omitempty"` Deployment string `protobuf:"bytes,3,opt,name=deployment,proto3" json:"deployment,omitempty"` Pods map[string]string `` /* 149-byte string literal not displayed */ Services map[string]string `` /* 157-byte string literal not displayed */ Secrets map[string]string `` /* 155-byte string literal not displayed */ Ingresses map[string]string `` /* 159-byte string literal not displayed */ Replicatset map[string]string `` /* 163-byte string literal not displayed */ Status string `protobuf:"bytes,9,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeployInfo) Descriptor ¶
func (*DeployInfo) Descriptor() ([]byte, []int)
func (*DeployInfo) GetDeployment ¶
func (m *DeployInfo) GetDeployment() string
func (*DeployInfo) GetIngresses ¶
func (m *DeployInfo) GetIngresses() map[string]string
func (*DeployInfo) GetNamespace ¶
func (m *DeployInfo) GetNamespace() string
func (*DeployInfo) GetPods ¶
func (m *DeployInfo) GetPods() map[string]string
func (*DeployInfo) GetReplicatset ¶
func (m *DeployInfo) GetReplicatset() map[string]string
func (*DeployInfo) GetSecrets ¶
func (m *DeployInfo) GetSecrets() map[string]string
func (*DeployInfo) GetServices ¶
func (m *DeployInfo) GetServices() map[string]string
func (*DeployInfo) GetStatefuleset ¶
func (m *DeployInfo) GetStatefuleset() string
func (*DeployInfo) GetStatus ¶
func (m *DeployInfo) GetStatus() string
func (*DeployInfo) ProtoMessage ¶
func (*DeployInfo) ProtoMessage()
func (*DeployInfo) Reset ¶
func (m *DeployInfo) Reset()
func (*DeployInfo) String ¶
func (m *DeployInfo) String() string
func (*DeployInfo) XXX_DiscardUnknown ¶
func (m *DeployInfo) XXX_DiscardUnknown()
func (*DeployInfo) XXX_Marshal ¶
func (m *DeployInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeployInfo) XXX_Merge ¶
func (m *DeployInfo) XXX_Merge(src proto.Message)
func (*DeployInfo) XXX_Size ¶
func (m *DeployInfo) XXX_Size() int
func (*DeployInfo) XXX_Unmarshal ¶
func (m *DeployInfo) XXX_Unmarshal(b []byte) error
type DiskMessage ¶
type DiskMessage struct { Disks map[string]float64 `` /* 153-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DiskMessage) Descriptor ¶
func (*DiskMessage) Descriptor() ([]byte, []int)
func (*DiskMessage) GetDisks ¶
func (m *DiskMessage) GetDisks() map[string]float64
func (*DiskMessage) ProtoMessage ¶
func (*DiskMessage) ProtoMessage()
func (*DiskMessage) Reset ¶
func (m *DiskMessage) Reset()
func (*DiskMessage) String ¶
func (m *DiskMessage) String() string
func (*DiskMessage) XXX_DiscardUnknown ¶
func (m *DiskMessage) XXX_DiscardUnknown()
func (*DiskMessage) XXX_Marshal ¶
func (m *DiskMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DiskMessage) XXX_Merge ¶
func (m *DiskMessage) XXX_Merge(src proto.Message)
func (*DiskMessage) XXX_Size ¶
func (m *DiskMessage) XXX_Size() int
func (*DiskMessage) XXX_Unmarshal ¶
func (m *DiskMessage) XXX_Unmarshal(b []byte) error
type ServiceAppPod ¶
type ServiceAppPod struct { ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` DeployId string `protobuf:"bytes,2,opt,name=deploy_id,json=deployId,proto3" json:"deploy_id,omitempty"` DeployType string `protobuf:"bytes,3,opt,name=deploy_type,json=deployType,proto3" json:"deploy_type,omitempty"` PodName string `protobuf:"bytes,4,opt,name=pod_name,json=podName,proto3" json:"pod_name,omitempty"` PodIp string `protobuf:"bytes,5,opt,name=pod_ip,json=podIp,proto3" json:"pod_ip,omitempty"` PodStatus string `protobuf:"bytes,6,opt,name=pod_status,json=podStatus,proto3" json:"pod_status,omitempty"` Containers map[string]*Container `` /* 161-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ServiceAppPod) Descriptor ¶
func (*ServiceAppPod) Descriptor() ([]byte, []int)
func (*ServiceAppPod) GetContainers ¶
func (m *ServiceAppPod) GetContainers() map[string]*Container
func (*ServiceAppPod) GetDeployId ¶
func (m *ServiceAppPod) GetDeployId() string
func (*ServiceAppPod) GetDeployType ¶
func (m *ServiceAppPod) GetDeployType() string
func (*ServiceAppPod) GetPodIp ¶
func (m *ServiceAppPod) GetPodIp() string
func (*ServiceAppPod) GetPodName ¶
func (m *ServiceAppPod) GetPodName() string
func (*ServiceAppPod) GetPodStatus ¶
func (m *ServiceAppPod) GetPodStatus() string
func (*ServiceAppPod) GetServiceId ¶
func (m *ServiceAppPod) GetServiceId() string
func (*ServiceAppPod) ProtoMessage ¶
func (*ServiceAppPod) ProtoMessage()
func (*ServiceAppPod) Reset ¶
func (m *ServiceAppPod) Reset()
func (*ServiceAppPod) String ¶
func (m *ServiceAppPod) String() string
func (*ServiceAppPod) XXX_DiscardUnknown ¶
func (m *ServiceAppPod) XXX_DiscardUnknown()
func (*ServiceAppPod) XXX_Marshal ¶
func (m *ServiceAppPod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServiceAppPod) XXX_Merge ¶
func (m *ServiceAppPod) XXX_Merge(src proto.Message)
func (*ServiceAppPod) XXX_Size ¶
func (m *ServiceAppPod) XXX_Size() int
func (*ServiceAppPod) XXX_Unmarshal ¶
func (m *ServiceAppPod) XXX_Unmarshal(b []byte) error
type ServiceAppPodList ¶
type ServiceAppPodList struct { Pods []*ServiceAppPod `protobuf:"bytes,1,rep,name=pods,proto3" json:"pods,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ServiceAppPodList) Descriptor ¶
func (*ServiceAppPodList) Descriptor() ([]byte, []int)
func (*ServiceAppPodList) GetPods ¶
func (m *ServiceAppPodList) GetPods() []*ServiceAppPod
func (*ServiceAppPodList) ProtoMessage ¶
func (*ServiceAppPodList) ProtoMessage()
func (*ServiceAppPodList) Reset ¶
func (m *ServiceAppPodList) Reset()
func (*ServiceAppPodList) String ¶
func (m *ServiceAppPodList) String() string
func (*ServiceAppPodList) XXX_DiscardUnknown ¶
func (m *ServiceAppPodList) XXX_DiscardUnknown()
func (*ServiceAppPodList) XXX_Marshal ¶
func (m *ServiceAppPodList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServiceAppPodList) XXX_Merge ¶
func (m *ServiceAppPodList) XXX_Merge(src proto.Message)
func (*ServiceAppPodList) XXX_Size ¶
func (m *ServiceAppPodList) XXX_Size() int
func (*ServiceAppPodList) XXX_Unmarshal ¶
func (m *ServiceAppPodList) XXX_Unmarshal(b []byte) error
type ServiceRequest ¶
type ServiceRequest struct { ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ServiceRequest) Descriptor ¶
func (*ServiceRequest) Descriptor() ([]byte, []int)
func (*ServiceRequest) GetServiceId ¶
func (m *ServiceRequest) GetServiceId() string
func (*ServiceRequest) ProtoMessage ¶
func (*ServiceRequest) ProtoMessage()
func (*ServiceRequest) Reset ¶
func (m *ServiceRequest) Reset()
func (*ServiceRequest) String ¶
func (m *ServiceRequest) String() string
func (*ServiceRequest) XXX_DiscardUnknown ¶
func (m *ServiceRequest) XXX_DiscardUnknown()
func (*ServiceRequest) XXX_Marshal ¶
func (m *ServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServiceRequest) XXX_Merge ¶
func (m *ServiceRequest) XXX_Merge(src proto.Message)
func (*ServiceRequest) XXX_Size ¶
func (m *ServiceRequest) XXX_Size() int
func (*ServiceRequest) XXX_Unmarshal ¶
func (m *ServiceRequest) XXX_Unmarshal(b []byte) error
type ServicesRequest ¶
type ServicesRequest struct { ServiceIds string `protobuf:"bytes,1,opt,name=service_ids,json=serviceIds,proto3" json:"service_ids,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ServicesRequest) Descriptor ¶
func (*ServicesRequest) Descriptor() ([]byte, []int)
func (*ServicesRequest) GetServiceIds ¶
func (m *ServicesRequest) GetServiceIds() string
func (*ServicesRequest) ProtoMessage ¶
func (*ServicesRequest) ProtoMessage()
func (*ServicesRequest) Reset ¶
func (m *ServicesRequest) Reset()
func (*ServicesRequest) String ¶
func (m *ServicesRequest) String() string
func (*ServicesRequest) XXX_DiscardUnknown ¶
func (m *ServicesRequest) XXX_DiscardUnknown()
func (*ServicesRequest) XXX_Marshal ¶
func (m *ServicesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServicesRequest) XXX_Merge ¶
func (m *ServicesRequest) XXX_Merge(src proto.Message)
func (*ServicesRequest) XXX_Size ¶
func (m *ServicesRequest) XXX_Size() int
func (*ServicesRequest) XXX_Unmarshal ¶
func (m *ServicesRequest) XXX_Unmarshal(b []byte) error
type StatusMessage ¶
type StatusMessage struct { Status map[string]string `` /* 153-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StatusMessage) Descriptor ¶
func (*StatusMessage) Descriptor() ([]byte, []int)
func (*StatusMessage) GetStatus ¶
func (m *StatusMessage) GetStatus() map[string]string
func (*StatusMessage) ProtoMessage ¶
func (*StatusMessage) ProtoMessage()
func (*StatusMessage) Reset ¶
func (m *StatusMessage) Reset()
func (*StatusMessage) String ¶
func (m *StatusMessage) String() string
func (*StatusMessage) XXX_DiscardUnknown ¶
func (m *StatusMessage) XXX_DiscardUnknown()
func (*StatusMessage) XXX_Marshal ¶
func (m *StatusMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StatusMessage) XXX_Merge ¶
func (m *StatusMessage) XXX_Merge(src proto.Message)
func (*StatusMessage) XXX_Size ¶
func (m *StatusMessage) XXX_Size() int
func (*StatusMessage) XXX_Unmarshal ¶
func (m *StatusMessage) XXX_Unmarshal(b []byte) error
type TenantRequest ¶
type TenantRequest struct { TenantId string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TenantRequest) Descriptor ¶
func (*TenantRequest) Descriptor() ([]byte, []int)
func (*TenantRequest) GetTenantId ¶
func (m *TenantRequest) GetTenantId() string
func (*TenantRequest) ProtoMessage ¶
func (*TenantRequest) ProtoMessage()
func (*TenantRequest) Reset ¶
func (m *TenantRequest) Reset()
func (*TenantRequest) String ¶
func (m *TenantRequest) String() string
func (*TenantRequest) XXX_DiscardUnknown ¶
func (m *TenantRequest) XXX_DiscardUnknown()
func (*TenantRequest) XXX_Marshal ¶
func (m *TenantRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TenantRequest) XXX_Merge ¶
func (m *TenantRequest) XXX_Merge(src proto.Message)
func (*TenantRequest) XXX_Size ¶
func (m *TenantRequest) XXX_Size() int
func (*TenantRequest) XXX_Unmarshal ¶
func (m *TenantRequest) XXX_Unmarshal(b []byte) error
type TenantResource ¶
type TenantResource struct { CpuRequest int64 `protobuf:"varint,1,opt,name=cpu_request,json=cpuRequest,proto3" json:"cpu_request,omitempty"` CpuLimit int64 `protobuf:"varint,2,opt,name=cpu_limit,json=cpuLimit,proto3" json:"cpu_limit,omitempty"` MemoryRequest int64 `protobuf:"varint,3,opt,name=memory_request,json=memoryRequest,proto3" json:"memory_request,omitempty"` MemoryLimit int64 `protobuf:"varint,4,opt,name=memory_limit,json=memoryLimit,proto3" json:"memory_limit,omitempty"` RunningAppNum int64 `protobuf:"varint,5,opt,name=running_app_num,json=runningAppNum,proto3" json:"running_app_num,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TenantResource) Descriptor ¶
func (*TenantResource) Descriptor() ([]byte, []int)
func (*TenantResource) GetCpuLimit ¶
func (m *TenantResource) GetCpuLimit() int64
func (*TenantResource) GetCpuRequest ¶
func (m *TenantResource) GetCpuRequest() int64
func (*TenantResource) GetMemoryLimit ¶
func (m *TenantResource) GetMemoryLimit() int64
func (*TenantResource) GetMemoryRequest ¶
func (m *TenantResource) GetMemoryRequest() int64
func (*TenantResource) GetRunningAppNum ¶
func (m *TenantResource) GetRunningAppNum() int64
func (*TenantResource) ProtoMessage ¶
func (*TenantResource) ProtoMessage()
func (*TenantResource) Reset ¶
func (m *TenantResource) Reset()
func (*TenantResource) String ¶
func (m *TenantResource) String() string
func (*TenantResource) XXX_DiscardUnknown ¶
func (m *TenantResource) XXX_DiscardUnknown()
func (*TenantResource) XXX_Marshal ¶
func (m *TenantResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TenantResource) XXX_Merge ¶
func (m *TenantResource) XXX_Merge(src proto.Message)
func (*TenantResource) XXX_Size ¶
func (m *TenantResource) XXX_Size() int
func (*TenantResource) XXX_Unmarshal ¶
func (m *TenantResource) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.