cloudlb

package
v1.20.11 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// QCloudLB tencent cloud lb
	QCloudLB = "qcloudclb"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	LoadConfig() error                                                             //load all config item from Env (Subnet, security group)
	CreateLoadbalance() (*cloudListenerType.CloudLoadBalancer, error)              //create new loadbalancer if needed
	DescribeLoadbalance(name string) (*cloudListenerType.CloudLoadBalancer, error) //get loadbalancer by name, id or arn
	Update(old, cur *cloudListenerType.CloudListener) error                        //update event
	Add(ls *cloudListenerType.CloudListener) error                                 //new listener event
	Delete(ls *cloudListenerType.CloudListener) error                              //listener delete event
	ListListeners() ([]*cloudListenerType.CloudListener, error)                    // list all listener on clb instance controlled by this controller
}

Interface definition for cloud infrastructure

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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