Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpdateRules ¶
Types ¶
type IPVSUpdates ¶
type IPVSUpdates struct {
// contains filtered or unexported fields
}
func FindRuleUpdates ¶
func FindRuleUpdates(loadedRuleSet RuleSet, newRuleSet RuleSet) IPVSUpdates
type RealServer ¶
type RealServer struct {
// contains filtered or unexported fields
}
func NewRealServer ¶
func (RealServer) String ¶
func (rs RealServer) String() string
Will output the equivalent ipvsadm command to add the real-server
type RuleSet ¶
type RuleSet struct {
// contains filtered or unexported fields
}
func NewRuleset ¶
func NewRuleset() RuleSet
func (*RuleSet) AddRS ¶
func (rset *RuleSet) AddRS(rs RealServer) error
func (*RuleSet) AddVS ¶
func (rset *RuleSet) AddVS(vs VirtualService) error
func (RuleSet) GenerateRules ¶
type VirtualService ¶
type VirtualService struct {
// contains filtered or unexported fields
}
func NewVirtualService ¶
func (VirtualService) String ¶
func (vs VirtualService) String() string
Will output the equivalent ipvsadm command to add the virtual service
Click to show internal directories.
Click to hide internal directories.