nginx

package
v5.0.4-release+incompa... Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2019 License: LGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PoolExpString string     = "(.*)@(.*)_([0-9]*)\\.Pool"
	MethodPOST    HTTPMETHOD = "POST"
	MethodPUT     HTTPMETHOD = "PUT"
	MethodDELETE  HTTPMETHOD = "DELETE"
)

Variables

This section is empty.

Functions

func Check

func Check(ctx plugin.Context) error

Check Check

func Err

func Err(err error, msg string, code int) error

func New

func New(ctx plugin.Context) (plugin.Plugin, error)

Types

type AddDomainS

type AddDomainS struct {
	Domain          string
	HTTPS           bool
	TransferHTTP    bool
	CertificateName string
	PoolName        string
	NodeList        []string
}

AddDomainS AddDomainS

type AddPoolNodeS

type AddPoolNodeS struct {
	PoolName   string
	NodeList   []string
	DomainList []string
}

AddPoolNodeS AddPoolNodeS

type AddUserDomainS

type AddUserDomainS struct {
	OldDomain string
	NewDomain string
	PoolName  string
	NodeList  []string
}

type AddVirtualServerS

type AddVirtualServerS struct {
	Port     string
	PoolName string
	NodeList []string
	// contains filtered or unexported fields
}

type DeleteDomainS

type DeleteDomainS struct {
	Domain     string
	PoolName   string
	DomainList []string
}

type DeleteVirtualServerS

type DeleteVirtualServerS struct {
	VirtualServerName string
	Port              string
	PoolName          string
}

type DrainNodeS

type DrainNodeS struct {
	PoolName   string
	NodeList   []string
	TlnType    string
	TlnPort    string
	DomainList []string
}

type DrainPoolS

type DrainPoolS struct {
	PoolName   string
	TlnType    string
	TlnPort    string
	DomainList []string
}

type HTTPMETHOD

type HTTPMETHOD string

type HttpNodeS

type HttpNodeS struct {
	PoolName string
	NodeList []string
}

type MethodHTTPArgs

type MethodHTTPArgs struct {
	PoolName     *PoolName
	UpStream     []byte
	Method       HTTPMETHOD
	UpStreamName string //poolname
	Url          string
	Domain       string
}

type MethodHTTPSArgs

type MethodHTTPSArgs struct {
	PoolName *PoolName
	UpStream []byte
	Method   HTTPMETHOD
	URL      string
	Domain   string
}

type NginxError

type NginxError struct {
	Code    int
	Message string
	Err     error
}

func (*NginxError) Error

func (e *NginxError) Error() string

type PoolName

type PoolName struct {
	Tenantname  string
	Servicename string
	Port        string
}

type SSLCert

type SSLCert struct {
	CertName   string
	Key        string
	CA         string
	HTTPMethod HTTPMETHOD
}

SSLCert SSLCert

type StreamNodeS

type StreamNodeS struct {
	PoolName string
	NodeList []string
}

Jump to

Keyboard shortcuts

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