Documentation ¶
Index ¶
Constants ¶
View Source
const (
// Socket is the name of the podresources server socket
Socket = "kubelet"
)
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
func GetV1alpha1Client ¶
func GetV1alpha1Client(socket string, connectionTimeout time.Duration, maxMsgSize int) (v1alpha1.PodResourcesListerClient, *grpc.ClientConn, error)
GetV1alpha1Client returns a client for the PodResourcesLister grpc service Note: This is deprecated
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.