const rsCheckDeleteInterval …
type listItem …
func (g *listItem) String() string { … }
func GetUniqueRSName(vs *utilipvs.VirtualServer, rs *utilipvs.RealServer) string { … }
type graceTerminateRSList …
func (q *graceTerminateRSList) add(rs *listItem) bool { … }
func (q *graceTerminateRSList) remove(rs *listItem) bool { … }
func (q *graceTerminateRSList) len() int { … }
func (q *graceTerminateRSList) flushList(handler func(rsToDelete *listItem) (bool, error)) bool { … }
func (q *graceTerminateRSList) exist(uniqueRS string) (*listItem, bool) { … }
type GracefulTerminationManager …
func NewGracefulTerminationManager(ipvs utilipvs.Interface) *GracefulTerminationManager { … }
func (m *GracefulTerminationManager) InTerminationList(uniqueRS string) bool { … }
func (m *GracefulTerminationManager) GracefulDeleteRS(vs *utilipvs.VirtualServer, rs *utilipvs.RealServer) error { … }
func (m *GracefulTerminationManager) deleteRsFunc(rsToDelete *listItem) (bool, error) { … }
func (m *GracefulTerminationManager) tryDeleteRs() { … }
func (m *GracefulTerminationManager) MoveRSOutofGracefulDeleteList(uniqueRS string) error { … }
func (m *GracefulTerminationManager) Run() { … }