types

package
v0.0.0-...-0e73642 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend struct {
	If        string
	Mode      string
	Host      string
	Sni       string
	Path      string
	Servers   []BackendServer
	Default   bool
	BasicAuth []string
}

type BackendAddOptions

type BackendAddOptions struct {
	If                   string   `json:"if"`
	Frontend             []string `json:"frontend"`
	Host                 string   `json:"host"`
	Sni                  string   `json:"sni"`
	Address              []string `json:"address"`
	Options              []string `json:"options"`
	Path                 string   `json:"path"`
	Mode                 string   `json:"mode"`
	Default              bool     `json:"default"`
	BasicAuth            []string `json:"basic_auth"`
	ProvisionCertificate bool     `json:"provision_certificate"`
}

type BackendDeleteOptions

type BackendDeleteOptions struct {
	Frontend string
	Host     string `json:"host"`
	Sni      string `json:"sni"`
	Path     string `json:"path"`
	Mode     string `json:"mode"`
}

type BackendListOptions

type BackendListOptions struct {
	Frontend string `json:"frontend"`
}

type BackendListOptionsResponse

type BackendListOptionsResponse struct {
	Frontend Frontend `json:"frontend"`
}

type BackendServer

type BackendServer struct {
	Address string
	Options string
}

type Frontend

type Frontend struct {
	Name     string    `json:"name"`
	Port     int64     `json:"port"`
	Bind     string    `json:"bind"`
	Mode     string    `json:"mode"`
	Lines    []string  `json:"lines"`
	Backends []Backend `json:"backends"`
	Options  string    `json:"options"`
	Ssl      bool      `json:"ssl"`
}

type FrontendAddOptions

type FrontendAddOptions struct {
	Name    string   `json:"name"`
	Mode    string   `json:"mode"`
	Port    int64    `json:"port"`
	Bind    string   `json:"bind"`
	Lines   []string `json:"lines"`
	Ssl     bool     `json:"ssl"`
	Options string   `json:"options"`
}

type FrontendDeleteOptions

type FrontendDeleteOptions struct {
	Name string
}

type FrontendListOptions

type FrontendListOptions struct{}

type FrontendListOptionsResponse

type FrontendListOptionsResponse struct {
	Frontends []Frontend
}

Jump to

Keyboard shortcuts

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