f5

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LBMethodMap = map[string]string{"ROUNDROBIN": "round-robin", "LEASTCONNECTION": "least-connections-member", "LEASTRESPONSETIME": "fastest-app-response"}

Functions

This section is empty.

Types

type F5Provider

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

F5Provider is the object for the F5 Big IP F5Provider implementing the Provider interface

func (*F5Provider) Close

func (p *F5Provider) Close() error

Close closes the connection to the IP Load Balancer

func (*F5Provider) Connect

func (p *F5Provider) Connect() error

Connect creates a connection to the IP Load Balancer

func (*F5Provider) Create

func (p *F5Provider) Create(ctx context.Context, lbBackend lbv1.Provider, username string, password string) error

Create creates a new Load Balancer backend provider

func (*F5Provider) CreateMonitor

func (p *F5Provider) CreateMonitor(m *lbv1.Monitor) error

CreateMonitor creates a monitor in the IP Load Balancer if port argument is 0, no port override is configured

func (*F5Provider) CreatePool

func (p *F5Provider) CreatePool(pool *lbv1.Pool) error

CreatePool creates a server pool in the Load Balancer

func (*F5Provider) CreatePoolMember

func (p *F5Provider) CreatePoolMember(m *lbv1.PoolMember, pool *lbv1.Pool) error

CreatePoolMember creates a member to be added to pool in the Load Balancer

func (*F5Provider) CreateVIP

func (p *F5Provider) CreateVIP(v *lbv1.VIP) error

CreateVIP creates a Virtual Server in the Load Balancer

func (*F5Provider) DeleteMonitor

func (p *F5Provider) DeleteMonitor(m *lbv1.Monitor) error

DeleteMonitor deletes a monitor in the IP Load Balancer

func (*F5Provider) DeletePool

func (p *F5Provider) DeletePool(pool *lbv1.Pool) error

DeletePool removes a server pool in the Load Balancer

func (*F5Provider) DeletePoolMember

func (p *F5Provider) DeletePoolMember(m *lbv1.PoolMember, pool *lbv1.Pool) error

DeletePoolMember deletes a member in the Load Balancer

func (*F5Provider) DeleteVIP

func (p *F5Provider) DeleteVIP(v *lbv1.VIP) error

DeleteVIP deletes a Virtual Server in the Load Balancer

func (*F5Provider) EditMonitor

func (p *F5Provider) EditMonitor(m *lbv1.Monitor) error

EditMonitor edits a monitor in the IP Load Balancer if port argument is 0, no port override is configured

func (*F5Provider) EditPool

func (p *F5Provider) EditPool(pool *lbv1.Pool) error

EditPool modifies a server pool in the Load Balancer

func (*F5Provider) EditPoolMember

func (p *F5Provider) EditPoolMember(m *lbv1.PoolMember, pool *lbv1.Pool, status string) error

EditPoolMember modifies a server pool member in the Load Balancer status could be "enable" or "disable"

func (*F5Provider) EditVIP

func (p *F5Provider) EditVIP(v *lbv1.VIP) error

EditVIP modifies a Virtual Server in the Load Balancer

func (*F5Provider) GetMonitor

func (p *F5Provider) GetMonitor(monitor *lbv1.Monitor) (*lbv1.Monitor, error)

GetMonitor gets a monitor in the IP Load Balancer

func (*F5Provider) GetPool

func (p *F5Provider) GetPool(pool *lbv1.Pool) (*lbv1.Pool, error)

GetPool gets a server pool from the Load Balancer

func (*F5Provider) GetPoolMembers

func (p *F5Provider) GetPoolMembers(pool *lbv1.Pool) (*lbv1.Pool, error)

GetPoolMembers gets the pool members and return them in Pool object

func (*F5Provider) GetVIP

func (p *F5Provider) GetVIP(v *lbv1.VIP) (*lbv1.VIP, error)

GetVIP gets a VIP in the IP Load Balancer

Jump to

Keyboard shortcuts

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