Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetworkConf ¶
type NetworkConf struct { apis.Endpoint `yaml:"-,inline"` Peers []apis.Endpoint `yaml:"peers,omitempty" json:"peers,omitempty"` Mediator *apis.Endpoint `yaml:"mediator,omitempty" json:"mediator,omitempty"` }
func LoadNetworkConf ¶
func LoadNetworkConf(path string) (NetworkConf, error)
type RealServer ¶
func (RealServer) String ¶
func (s RealServer) String() string
type RealServers ¶
type RealServers []RealServer
func (RealServers) Len ¶
func (s RealServers) Len() int
func (RealServers) Less ¶
func (s RealServers) Less(i, j int) bool
func (RealServers) Swap ¶
func (s RealServers) Swap(i, j int)
type VirtualServer ¶
type VirtualServer struct { IP string `yaml:"ip,omitempty"` Port int32 `yaml:"port,omitempty"` Protocol corev1.Protocol `yaml:"protocol,omitempty"` Scheduler string `yaml:"scheduler,omitempty"` SessionAffinity corev1.ServiceAffinity `yaml:"sessionAffinity,omitempty"` StickyMaxAgeSeconds int32 `yaml:"stickyMaxAgeSeconds,omitempty"` RealServers RealServers `yaml:"realServers,omitempty"` }
type VirtualServers ¶
type VirtualServers []VirtualServer
func (VirtualServers) Len ¶
func (s VirtualServers) Len() int
func (VirtualServers) Less ¶
func (s VirtualServers) Less(i, j int) bool
func (VirtualServers) Swap ¶
func (s VirtualServers) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.