Versions in this module Expand all Collapse all v1 v1.16.3 Oct 23, 2019 Changes in this version + var ErrIntOverflowApi = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthApi = fmt.Errorf("proto: negative length found during unmarshaling") + func RegisterPodResourcesListerServer(s *grpc.Server, srv PodResourcesListerServer) + type ContainerDevices struct + DeviceIds []string + ResourceName string + func (*ContainerDevices) Descriptor() ([]byte, []int) + func (*ContainerDevices) ProtoMessage() + func (m *ContainerDevices) GetDeviceIds() []string + func (m *ContainerDevices) GetResourceName() string + func (m *ContainerDevices) Marshal() (dAtA []byte, err error) + func (m *ContainerDevices) MarshalTo(dAtA []byte) (int, error) + func (m *ContainerDevices) Reset() + func (m *ContainerDevices) Size() (n int) + func (m *ContainerDevices) Unmarshal(dAtA []byte) error + func (this *ContainerDevices) String() string + type ContainerResources struct + Devices []*ContainerDevices + Name string + func (*ContainerResources) Descriptor() ([]byte, []int) + func (*ContainerResources) ProtoMessage() + func (m *ContainerResources) GetDevices() []*ContainerDevices + func (m *ContainerResources) GetName() string + func (m *ContainerResources) Marshal() (dAtA []byte, err error) + func (m *ContainerResources) MarshalTo(dAtA []byte) (int, error) + func (m *ContainerResources) Reset() + func (m *ContainerResources) Size() (n int) + func (m *ContainerResources) Unmarshal(dAtA []byte) error + func (this *ContainerResources) String() string + type ListPodResourcesRequest struct + func (*ListPodResourcesRequest) Descriptor() ([]byte, []int) + func (*ListPodResourcesRequest) ProtoMessage() + func (m *ListPodResourcesRequest) Marshal() (dAtA []byte, err error) + func (m *ListPodResourcesRequest) MarshalTo(dAtA []byte) (int, error) + func (m *ListPodResourcesRequest) Reset() + func (m *ListPodResourcesRequest) Size() (n int) + func (m *ListPodResourcesRequest) Unmarshal(dAtA []byte) error + func (this *ListPodResourcesRequest) String() string + type ListPodResourcesResponse struct + PodResources []*PodResources + func (*ListPodResourcesResponse) Descriptor() ([]byte, []int) + func (*ListPodResourcesResponse) ProtoMessage() + func (m *ListPodResourcesResponse) GetPodResources() []*PodResources + func (m *ListPodResourcesResponse) Marshal() (dAtA []byte, err error) + func (m *ListPodResourcesResponse) MarshalTo(dAtA []byte) (int, error) + func (m *ListPodResourcesResponse) Reset() + func (m *ListPodResourcesResponse) Size() (n int) + func (m *ListPodResourcesResponse) Unmarshal(dAtA []byte) error + func (this *ListPodResourcesResponse) String() string + type PodResources struct + Containers []*ContainerResources + Name string + Namespace string + func (*PodResources) Descriptor() ([]byte, []int) + func (*PodResources) ProtoMessage() + func (m *PodResources) GetContainers() []*ContainerResources + func (m *PodResources) GetName() string + func (m *PodResources) GetNamespace() string + func (m *PodResources) Marshal() (dAtA []byte, err error) + func (m *PodResources) MarshalTo(dAtA []byte) (int, error) + func (m *PodResources) Reset() + func (m *PodResources) Size() (n int) + func (m *PodResources) Unmarshal(dAtA []byte) error + func (this *PodResources) String() string + type PodResourcesListerClient interface + List func(ctx context.Context, in *ListPodResourcesRequest, opts ...grpc.CallOption) (*ListPodResourcesResponse, error) + func NewPodResourcesListerClient(cc *grpc.ClientConn) PodResourcesListerClient + type PodResourcesListerServer interface + List func(context.Context, *ListPodResourcesRequest) (*ListPodResourcesResponse, error)