netscaler

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: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NetscalerProvider

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

NetscalerProvider is the object for the Citrix ADC (Netscaler) NetscalerProvider implementing the Provider interface

func (*NetscalerProvider) Close

func (p *NetscalerProvider) Close() error

Close closes the connection to the IP Load Balancer

func (*NetscalerProvider) Connect

func (p *NetscalerProvider) Connect() error

Connect creates a connection to the IP Load Balancer

func (*NetscalerProvider) Create

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

Create creates a new Load Balancer backend provider

func (*NetscalerProvider) CreateMonitor

func (p *NetscalerProvider) 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 (*NetscalerProvider) CreatePool

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

CreatePool creates a server pool in the Load Balancer

func (*NetscalerProvider) CreatePoolMember

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

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

func (*NetscalerProvider) CreateVIP

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

CreateVIP creates a Virtual Server in the Load Balancer

func (*NetscalerProvider) DeleteMonitor

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

DeleteMonitor deletes a monitor in the IP Load Balancer

func (*NetscalerProvider) DeletePool

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

DeletePool removes a server pool in the Load Balancer

func (*NetscalerProvider) DeletePoolMember

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

DeletePoolMember deletes a member in the Load Balancer

func (*NetscalerProvider) DeleteVIP

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

DeleteVIP deletes a Virtual Server in the Load Balancer

func (*NetscalerProvider) EditMonitor

func (p *NetscalerProvider) 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 (*NetscalerProvider) EditPool

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

EditPool modifies a server pool in the Load Balancer

func (*NetscalerProvider) EditPoolMember

func (p *NetscalerProvider) 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 (*NetscalerProvider) EditVIP

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

EditVIP modifies a Virtual Server in the Load Balancer

func (*NetscalerProvider) GetMonitor

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

GetMonitor gets a monitor in the IP Load Balancer

func (*NetscalerProvider) GetPool

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

GetPool gets a server pool from the Load Balancer

func (*NetscalerProvider) GetPoolMembers

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

GetPoolMembers gets the pool members and return them in Pool object

func (*NetscalerProvider) GetVIP

func (p *NetscalerProvider) 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