Documentation ¶
Index ¶
- Constants
- type AWSELBv1Provider
- func (p *AWSELBv1Provider) AddLBConfig(config model.LBConfig) (string, error)
- func (p *AWSELBv1Provider) GetLBConfigs() ([]model.LBConfig, error)
- func (*AWSELBv1Provider) GetName() string
- func (p *AWSELBv1Provider) HealthCheck() error
- func (p *AWSELBv1Provider) Init() error
- func (p *AWSELBv1Provider) RemoveLBConfig(config model.LBConfig) error
- func (p *AWSELBv1Provider) UpdateLBConfig(config model.LBConfig) (string, error)
Constants ¶
View Source
const ( ProviderName = "AWS ELB Classic" ProviderSlug = "elbv1" )
View Source
const ( TagNameTargetPool = "external-lb/targetPoolName" TagNameServicePort = "external-lb/servicePort" )
View Source
const ( EnvVarAWSAccessKey = "ELBV1_AWS_ACCESS_KEY" EnvVarAWSSecretKey = "ELBV1_AWS_SECRET_KEY" EnvVarAWSRegion = "ELBV1_AWS_REGION" EnvVarAWSVpcID = "ELBV1_AWS_VPCID" EnvVarUsePrivateIP = "ELBV1_USE_PRIVATE_IP" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSELBv1Provider ¶
type AWSELBv1Provider struct {
// contains filtered or unexported fields
}
AWSELBv1Provider implements the providers.Provider interface.
func (*AWSELBv1Provider) AddLBConfig ¶
func (p *AWSELBv1Provider) AddLBConfig(config model.LBConfig) (string, error)
func (*AWSELBv1Provider) GetLBConfigs ¶
func (p *AWSELBv1Provider) GetLBConfigs() ([]model.LBConfig, error)
func (*AWSELBv1Provider) GetName ¶
func (*AWSELBv1Provider) GetName() string
func (*AWSELBv1Provider) HealthCheck ¶
func (p *AWSELBv1Provider) HealthCheck() error
func (*AWSELBv1Provider) Init ¶
func (p *AWSELBv1Provider) Init() error
func (*AWSELBv1Provider) RemoveLBConfig ¶
func (p *AWSELBv1Provider) RemoveLBConfig(config model.LBConfig) error
func (*AWSELBv1Provider) UpdateLBConfig ¶
func (p *AWSELBv1Provider) UpdateLBConfig(config model.LBConfig) (string, error)
Click to show internal directories.
Click to hide internal directories.