service

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AbortOnClose

type AbortOnClose struct {
	// contains filtered or unexported fields
}

func NewAbortOnClose

func NewAbortOnClose(n string, b *models.Backend) *AbortOnClose

func (*AbortOnClose) GetName

func (a *AbortOnClose) GetName() string

func (*AbortOnClose) Process

func (a *AbortOnClose) Process(k store.K8s, annotations ...map[string]string) error

type CA

type CA struct {
	// contains filtered or unexported fields
}

func NewCA

func NewCA(n string, c certs.Certificates, b *models.Backend) *CA

func (*CA) GetName

func (a *CA) GetName() string

func (*CA) Process

func (a *CA) Process(k store.K8s, annotations ...map[string]string) error

type Check

type Check struct {
	// contains filtered or unexported fields
}

func NewCheck

func NewCheck(n string, b *models.Backend) *Check

func (*Check) GetName

func (a *Check) GetName() string

func (*Check) Process

func (a *Check) Process(k store.K8s, annotations ...map[string]string) error

the value models.DefaultSever.Check should be a bool value and not an enum [enabled, disabled] this avoids an uncessary update when models.DefaultSever.Check is set form empty to "disabled"

type CheckHTTP

type CheckHTTP struct {
	// contains filtered or unexported fields
}

func NewCheckHTTP

func NewCheckHTTP(n string, b *models.Backend) *CheckHTTP

func (*CheckHTTP) GetName

func (a *CheckHTTP) GetName() string

func (*CheckHTTP) Process

func (a *CheckHTTP) Process(k store.K8s, annotations ...map[string]string) error

type CheckInter

type CheckInter struct {
	// contains filtered or unexported fields
}

func NewCheckInter

func NewCheckInter(n string, b *models.Backend) *CheckInter

func (*CheckInter) GetName

func (a *CheckInter) GetName() string

func (*CheckInter) Process

func (a *CheckInter) Process(k store.K8s, annotations ...map[string]string) error
type Cookie struct {
	// contains filtered or unexported fields
}

func NewCookie

func NewCookie(n string, b *models.Backend) *Cookie

func (*Cookie) GetName

func (a *Cookie) GetName() string

func (*Cookie) Process

func (a *Cookie) Process(k store.K8s, annotations ...map[string]string) error

type Crt

type Crt struct {
	// contains filtered or unexported fields
}

func NewCrt

func NewCrt(n string, c certs.Certificates, b *models.Backend) *Crt

func (*Crt) GetName

func (a *Crt) GetName() string

func (*Crt) Process

func (a *Crt) Process(k store.K8s, annotations ...map[string]string) error

type ForwardedFor

type ForwardedFor struct {
	// contains filtered or unexported fields
}

func NewForwardedFor

func NewForwardedFor(n string, b *models.Backend) *ForwardedFor

func (*ForwardedFor) GetName

func (a *ForwardedFor) GetName() string

func (*ForwardedFor) Process

func (a *ForwardedFor) Process(k store.K8s, annotations ...map[string]string) error

type LoadBalance

type LoadBalance struct {
	// contains filtered or unexported fields
}

func NewLoadBalance

func NewLoadBalance(n string, b *models.Backend) *LoadBalance

func (*LoadBalance) GetName

func (a *LoadBalance) GetName() string

func (*LoadBalance) Process

func (a *LoadBalance) Process(k store.K8s, annotations ...map[string]string) error

type Maxconn

type Maxconn struct {
	// contains filtered or unexported fields
}

func NewMaxconn

func NewMaxconn(n string, b *models.Backend) *Maxconn

func (*Maxconn) GetName

func (a *Maxconn) GetName() string

func (*Maxconn) Process

func (a *Maxconn) Process(k store.K8s, annotations ...map[string]string) error

type Proto

type Proto struct {
	// contains filtered or unexported fields
}

func NewProto

func NewProto(n string, b *models.Backend) *Proto

func (*Proto) GetName

func (a *Proto) GetName() string

func (*Proto) Process

func (a *Proto) Process(k store.K8s, annotations ...map[string]string) error

type SSL

type SSL struct {
	// contains filtered or unexported fields
}

func NewSSL

func NewSSL(n string, b *models.Backend) *SSL

func (*SSL) GetName

func (a *SSL) GetName() string

func (*SSL) Process

func (a *SSL) Process(k store.K8s, annotations ...map[string]string) error

type SendProxy

type SendProxy struct {
	// contains filtered or unexported fields
}

func NewSendProxy

func NewSendProxy(n string, b *models.Backend) *SendProxy

func (*SendProxy) GetName

func (a *SendProxy) GetName() string

func (*SendProxy) Process

func (a *SendProxy) Process(k store.K8s, annotations ...map[string]string) error

type TimeoutCheck

type TimeoutCheck struct {
	// contains filtered or unexported fields
}

func NewTimeoutCheck

func NewTimeoutCheck(n string, b *models.Backend) *TimeoutCheck

func (*TimeoutCheck) GetName

func (a *TimeoutCheck) GetName() string

func (*TimeoutCheck) Process

func (a *TimeoutCheck) Process(k store.K8s, annotations ...map[string]string) error

Jump to

Keyboard shortcuts

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