config

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2016 License: Apache-2.0 Imports: 0 Imported by: 5

Documentation

Index

Constants

View Source
const (
	HTTPProto  = "http"
	HTTPSProto = "https"
)

supported protocols

Variables

This section is empty.

Functions

This section is empty.

Types

type BackendService

type BackendService struct {
	UUID      string
	Endpoints []Endpoint
	Path      string
	Host      string
	Algorithm string
	Port      int
}

type Certificate

type Certificate struct {
	Name  string
	Cert  string
	Key   string
	Fetch bool
}

type Endpoint

type Endpoint struct {
	IP   string
	Port int
}

type FrontendService

type FrontendService struct {
	DefaultCert     *Certificate
	Name            string
	Port            int
	BackendServices []*BackendService
	Protocol        string
}

type LoadBalancerConfig

type LoadBalancerConfig struct {
	Name             string
	Scale            int
	FrontendServices []*FrontendService
	Config           string
}

Jump to

Keyboard shortcuts

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