Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetV1Client ¶
func GetV1Client(socket string, connectionTimeout time.Duration, maxMsgSize int) (v1.PodResourcesListerClient, *grpc.ClientConn, error)
GetV1Client returns a client for the PodResourcesLister grpc service, and it is referring from upstream k8s's GetV1Client, which is also an implement of GetClientFunc.
Types ¶
type GetClientFunc ¶
type GetClientFunc func(socket string, connectionTimeout time.Duration, maxMsgSize int) (v1.PodResourcesListerClient, *grpc.ClientConn, error)
GetClientFunc is a function to get a client for the PodResourcesLister grpc service.
Click to show internal directories.
Click to hide internal directories.