slb

package
v0.3.7 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2019 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ProviderName = "Aliyun SLB"
	ProviderSlug = "aliyun_slb"
)
View Source
const (
	TagResourceFlag    = "external-lb/rancher"
	TagNameTargetPool  = "external-lb/targetPoolName"
	TagNameServicePort = "external-lb/servicePort"
)
View Source
const (
	EnvVarSLBAccessKey = "SLB_ACCESS_KEY"
	EnvVarSLBSecretKey = "SLB_SECRET_KEY"
	EnvVarSLBRegionId  = "SLB_REGION_ID"
	EnvVarSLBVpcId     = "SLB_VPC_ID"
	EnvVarUsePrivateIP = "SLB_USE_PRIVATE_IP"
)
View Source
const (
	DefaultBackendServerWeight = 100
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AliyunSLBProvider

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

func (*AliyunSLBProvider) AddLBConfig

func (p *AliyunSLBProvider) AddLBConfig(config model.LBConfig) (string, error)

func (*AliyunSLBProvider) GetLBConfigs

func (p *AliyunSLBProvider) GetLBConfigs() ([]model.LBConfig, error)

func (*AliyunSLBProvider) GetName

func (p *AliyunSLBProvider) GetName() string

func (*AliyunSLBProvider) HealthCheck

func (p *AliyunSLBProvider) HealthCheck() error

func (*AliyunSLBProvider) Init

func (p *AliyunSLBProvider) Init() error

func (*AliyunSLBProvider) RemoveLBConfig

func (p *AliyunSLBProvider) RemoveLBConfig(config model.LBConfig) error

func (*AliyunSLBProvider) UpdateLBConfig

func (p *AliyunSLBProvider) UpdateLBConfig(config model.LBConfig) (string, error)

Jump to

Keyboard shortcuts

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