Documentation ¶
Index ¶
- type NetscalerProvider
- func (p *NetscalerProvider) Close() error
- func (p *NetscalerProvider) Connect() error
- func (p *NetscalerProvider) Create(ctx context.Context, lbBackend lbv1.Provider, username string, password string) error
- func (p *NetscalerProvider) CreateMonitor(m *lbv1.Monitor) error
- func (p *NetscalerProvider) CreatePool(pool *lbv1.Pool) error
- func (p *NetscalerProvider) CreatePoolMember(m *lbv1.PoolMember, pool *lbv1.Pool) error
- func (p *NetscalerProvider) CreateVIP(v *lbv1.VIP) error
- func (p *NetscalerProvider) DeleteMonitor(m *lbv1.Monitor) error
- func (p *NetscalerProvider) DeletePool(pool *lbv1.Pool) error
- func (p *NetscalerProvider) DeletePoolMember(m *lbv1.PoolMember, pool *lbv1.Pool) error
- func (p *NetscalerProvider) DeleteVIP(v *lbv1.VIP) error
- func (p *NetscalerProvider) EditMonitor(m *lbv1.Monitor) error
- func (p *NetscalerProvider) EditPool(pool *lbv1.Pool) error
- func (p *NetscalerProvider) EditPoolMember(m *lbv1.PoolMember, pool *lbv1.Pool, status string) error
- func (p *NetscalerProvider) EditVIP(v *lbv1.VIP) error
- func (p *NetscalerProvider) GetMonitor(monitor *lbv1.Monitor) (*lbv1.Monitor, error)
- func (p *NetscalerProvider) GetPool(pool *lbv1.Pool) (*lbv1.Pool, error)
- func (p *NetscalerProvider) GetPoolMembers(pool *lbv1.Pool) (*lbv1.Pool, error)
- func (p *NetscalerProvider) GetVIP(v *lbv1.VIP) (*lbv1.VIP, error)
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 ¶
GetMonitor gets a monitor in the IP Load Balancer
func (*NetscalerProvider) GetPoolMembers ¶
GetPoolMembers gets the pool members and return them in Pool object