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 This was copied from kubelet sources as per the comment there:
Quote: https://github.com/kubernetes/kubernetes/blob/52457842d155743f0e3fc57ade87251cca37d375/pkg/kubelet/apis/podresources/client.go#L32 Note: Consumers of the pod resources API should not be importing this package. They should copy paste the function in their project.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.