dataplane

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dataplane

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

func New

func New(addr, userName, password string, client *http.Client) *Dataplane

func (*Dataplane) Backends

func (c *Dataplane) Backends() ([]models.Backend, error)

func (*Dataplane) Binds

func (c *Dataplane) Binds(feName string) ([]models.Bind, error)

func (*Dataplane) ConfigVersion

func (c *Dataplane) ConfigVersion() (int, error)

func (*Dataplane) Filters

func (c *Dataplane) Filters(parentType, parentName string) ([]models.Filter, error)

func (*Dataplane) Frontends

func (c *Dataplane) Frontends() ([]models.Frontend, error)

func (*Dataplane) HTTPRequestRules

func (c *Dataplane) HTTPRequestRules(parentType, parentName string) ([]models.HTTPRequestRule, error)

func (*Dataplane) Info

func (c *Dataplane) Info() (*models.ProcessInfo, error)

func (*Dataplane) LogTargets

func (c *Dataplane) LogTargets(parentType, parentName string) ([]models.LogTarget, error)

func (*Dataplane) Ping

func (c *Dataplane) Ping() error

func (*Dataplane) ReplaceServer

func (c *Dataplane) ReplaceServer(beName string, srv models.Server) error

func (*Dataplane) Servers

func (c *Dataplane) Servers(beName string) ([]models.Server, error)

func (*Dataplane) Stats

func (c *Dataplane) Stats() (models.NativeStats, error)

func (*Dataplane) TCPRequestRules

func (c *Dataplane) TCPRequestRules(parentType, parentName string) ([]models.TCPRequestRule, error)

func (*Dataplane) Tnx

func (c *Dataplane) Tnx() *tnx

Jump to

Keyboard shortcuts

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