care

package
v1.1.3-beta.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetTargetIP

func SetTargetIP() error

Types

type LvsCare

type LvsCare struct {
	HealthPath    string
	HealthSchem   string // http or https
	VirtualServer string
	RealServer    []string
	RunOnce       bool
	Clean         bool
	Interval      int32
	Logger        string
	TargetIP      net.IP

	Route *route.Route
	// contains filtered or unexported fields
}
var LVS LvsCare

func (*LvsCare) SyncRouter

func (care *LvsCare) SyncRouter() error

func (*LvsCare) VsAndRsCare

func (care *LvsCare) VsAndRsCare()

VsAndRsCare is

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL