Documentation ¶
Index ¶
- func GetPodResClient(socketPath string) (podresourcesapi.PodResourcesListerClient, error)
- type MockPodResourcesListerClient
- func (_m *MockPodResourcesListerClient) GetAllocatableResources(ctx context.Context, in *v1.AllocatableResourcesRequest, ...) (*v1.AllocatableResourcesResponse, error)
- func (_m *MockPodResourcesListerClient) List(ctx context.Context, in *v1.ListPodResourcesRequest, opts ...grpc.CallOption) (*v1.ListPodResourcesResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPodResClient ¶
func GetPodResClient(socketPath string) (podresourcesapi.PodResourcesListerClient, error)
Types ¶
type MockPodResourcesListerClient ¶
MockPodResourcesListerClient is an autogenerated mock type for the PodResourcesListerClient type
func (*MockPodResourcesListerClient) GetAllocatableResources ¶
func (_m *MockPodResourcesListerClient) GetAllocatableResources(ctx context.Context, in *v1.AllocatableResourcesRequest, opts ...grpc.CallOption) (*v1.AllocatableResourcesResponse, error)
GetAllocatableResources provides a mock function with given fields: ctx, in, opts
func (*MockPodResourcesListerClient) List ¶
func (_m *MockPodResourcesListerClient) List(ctx context.Context, in *v1.ListPodResourcesRequest, opts ...grpc.CallOption) (*v1.ListPodResourcesResponse, error)
List provides a mock function with given fields: ctx, in, opts
Click to show internal directories.
Click to hide internal directories.