Documentation ¶
Index ¶
- type EndPoint
- type HA
- type HealthzMonitor
- type Service
- func (l *Service) CreateRealServer(vs, rs string) error
- func (l *Service) CreateVirtualServer(vs string) error
- func (l *Service) DeleteRealServer(vs, rs string) error
- func (l *Service) DeleteVirtualServer(vs string) error
- func (l *Service) GetRealServer(vsHost, rsHost string) (rs *EndPoint, weight int)
- func (l *Service) IsVirtualServerAvailable(vs string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HA ¶
type HA struct { KubeConfigFile string // the path of the apiserver ha proxy file HAConfigFile string // the path of haconfig file InitApiServer string // init api server ServiceSubnet string // kubernetes cluster subnet ProxyMode string // proxy mod // contains filtered or unexported fields }
type HealthzMonitor ¶
type HealthzMonitor struct { }
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func BuildService ¶
func BuildService() Service
func (*Service) CreateRealServer ¶
func (*Service) CreateVirtualServer ¶
func (*Service) DeleteRealServer ¶
func (*Service) DeleteVirtualServer ¶
func (*Service) GetRealServer ¶
func (*Service) IsVirtualServerAvailable ¶
Click to show internal directories.
Click to hide internal directories.