Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LvsProxy ¶
type LvsProxy interface { // CreateVirtualServer create the specified VirtualServer by vs CreateVirtualServer(vs string) error // IsVirtualServerAvailable check vs available or not IsVirtualServerAvailable(vs string) bool // DeleteVirtualServer delete vs form host DeleteVirtualServer(vs string) error // CreateRealServer create real server CreateRealServer(rs string) error // ListRealServer list real servers by lvs ListRealServer() ([]string, error) // DeleteRealServer delete real server DeleteRealServer(rs string) error }
LvsProxy is lvs virtualServer and realServer operation interface
Click to show internal directories.
Click to hide internal directories.