Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateMaxConnLimit ¶
Types ¶
type MaxConnsAPI ¶
type MaxConnsAPI interface {
SetMaxConns(numConns int)
}
type RealK8sAPI ¶
type RealK8sAPI struct {
// contains filtered or unexported fields
}
func NewK8sAPI ¶
func NewK8sAPI() *RealK8sAPI
func (*RealK8sAPI) GetNumNodes ¶
func (r *RealK8sAPI) GetNumNodes() (int, error)
func (*RealK8sAPI) GetNumTyphas ¶
func (r *RealK8sAPI) GetNumTyphas(namespace, serviceName, portName string) (int, error)
Click to show internal directories.
Click to hide internal directories.