models

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2020 License: GPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackendMemberHolder

type BackendMemberHolder struct {
	Name    string
	Members []string
}

type Config

type Config struct {
	Frontend FrontendHolder
}

func (*Config) Parse

func (c *Config) Parse(data []byte) error

type FrontendHolder

type FrontendHolder struct {
	Name      string
	Bind      string
	PrivateIP string
	Backends  []string
}

type HTTPHealthCheckHolder

type HTTPHealthCheckHolder struct {
	TargetIP        string
	TargetPort      int
	Threshold       int
	TimeOut         int
	HealthCheckPath string
	PassMessage     string
}

type IptableConstantsHolder

type IptableConstantsHolder struct {
	Prerouting  string
	Postrouting string
	Nat         string
	Dnat        string
	Snat        string
	Tcp         string
}

type TargetBackendHolder

type TargetBackendHolder struct {
	//LbName string
	//BackendName string
	BackendIP   string
	BackendPort int
	LbIP        string
	LbPort      int
	LbPrivateIP string
}

type TcpHealthCheckHolder

type TcpHealthCheckHolder struct {
	TargetIP   string
	TargetPort int
	Threshold  int
	TimeOut    int
}

Jump to

Keyboard shortcuts

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