Documentation ¶
Overview ¶
Generated by go-decorator, DO NOT EDIT
Index ¶
- type ELB
- func (this *ELB) ConfigureHealthCheck(loadBalancerName string, check *HealthCheck) error
- func (this *ELB) CreateLoadBalancer(loadBalancerName, scheme string, securityGroups, subnets []*string, ...) (*string, error)
- func (this *ELB) CreateLoadBalancerListeners(loadBalancerName string, listeners []*Listener) error
- func (this *ELB) DeleteLoadBalancer(loadBalancerName string) error
- func (this *ELB) DeleteLoadBalancerListeners(loadBalancerName string, listeners []*Listener) error
- func (this *ELB) DeregisterInstancesFromLoadBalancer(loadBalancerName string, instances []string) error
- func (this *ELB) DescribeInstanceHealth(loadBalancerName string) ([]*InstanceState, error)
- func (this *ELB) DescribeLoadBalancer(loadBalancerName string) (*LoadBalancerDescription, error)
- func (this *ELB) DescribeLoadBalancerAttributes(loadBalancerName string) (*LoadBalancerAttributes, error)
- func (this *ELB) DescribeLoadBalancers() ([]*LoadBalancerDescription, error)
- func (this *ELB) RegisterInstancesWithLoadBalancer(loadBalancerName string, instances []string) error
- func (this *ELB) SetCrossZone(loadBalancerName string, crossZone bool) error
- func (this *ELB) SetIdleTimeout(loadBalancerName string, idleTimeout int) error
- type ELBInternal
- type HealthCheck
- type InstanceState
- type Listener
- type ListenerDescription
- type LoadBalancerAttributes
- type LoadBalancerDescription
- type Provider
- type ProviderDecorator
- func (this *ProviderDecorator) ConfigureHealthCheck(p0 string, p1 *HealthCheck) (err error)
- func (this *ProviderDecorator) CreateLoadBalancer(p0 string, p1 string, p2 []*string, p3 []*string, p4 []*Listener) (v0 *string, err error)
- func (this *ProviderDecorator) CreateLoadBalancerListeners(p0 string, p1 []*Listener) (err error)
- func (this *ProviderDecorator) DeleteLoadBalancer(p0 string) (err error)
- func (this *ProviderDecorator) DeleteLoadBalancerListeners(p0 string, p1 []*Listener) (err error)
- func (this *ProviderDecorator) DeregisterInstancesFromLoadBalancer(p0 string, p1 []string) (err error)
- func (this *ProviderDecorator) DescribeInstanceHealth(p0 string) (v0 []*InstanceState, err error)
- func (this *ProviderDecorator) DescribeLoadBalancer(p0 string) (v0 *LoadBalancerDescription, err error)
- func (this *ProviderDecorator) DescribeLoadBalancerAttributes(p0 string) (v0 *LoadBalancerAttributes, err error)
- func (this *ProviderDecorator) DescribeLoadBalancers() (v0 []*LoadBalancerDescription, err error)
- func (this *ProviderDecorator) RegisterInstancesWithLoadBalancer(p0 string, p1 []string) (err error)
- func (this *ProviderDecorator) SetCrossZone(p0 string, p1 bool) (err error)
- func (this *ProviderDecorator) SetIdleTimeout(p0 string, p1 int) (err error)
- type Tag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ELB ¶
type ELB struct { Connect func() (ELBInternal, error) // contains filtered or unexported fields }
func (*ELB) ConfigureHealthCheck ¶
func (this *ELB) ConfigureHealthCheck(loadBalancerName string, check *HealthCheck) error
func (*ELB) CreateLoadBalancer ¶
func (*ELB) CreateLoadBalancerListeners ¶
func (*ELB) DeleteLoadBalancer ¶
func (*ELB) DeleteLoadBalancerListeners ¶
func (*ELB) DeregisterInstancesFromLoadBalancer ¶
func (*ELB) DescribeInstanceHealth ¶
func (this *ELB) DescribeInstanceHealth(loadBalancerName string) ([]*InstanceState, error)
func (*ELB) DescribeLoadBalancer ¶
func (this *ELB) DescribeLoadBalancer(loadBalancerName string) (*LoadBalancerDescription, error)
func (*ELB) DescribeLoadBalancerAttributes ¶ added in v0.10.7
func (this *ELB) DescribeLoadBalancerAttributes(loadBalancerName string) (*LoadBalancerAttributes, error)
func (*ELB) DescribeLoadBalancers ¶
func (this *ELB) DescribeLoadBalancers() ([]*LoadBalancerDescription, error)
func (*ELB) RegisterInstancesWithLoadBalancer ¶
func (*ELB) SetCrossZone ¶ added in v0.11.0
type ELBInternal ¶
type ELBInternal interface { AttachLoadBalancerToSubnets(*elb.AttachLoadBalancerToSubnetsInput) (*elb.AttachLoadBalancerToSubnetsOutput, error) CreateLoadBalancer(input *elb.CreateLoadBalancerInput) (output *elb.CreateLoadBalancerOutput, err error) ConfigureHealthCheck(input *elb.ConfigureHealthCheckInput) (*elb.ConfigureHealthCheckOutput, error) DescribeLoadBalancers(input *elb.DescribeLoadBalancersInput) (*elb.DescribeLoadBalancersOutput, error) DescribeInstanceHealth(input *elb.DescribeInstanceHealthInput) (*elb.DescribeInstanceHealthOutput, error) DeleteLoadBalancer(input *elb.DeleteLoadBalancerInput) (*elb.DeleteLoadBalancerOutput, error) RegisterInstancesWithLoadBalancer(input *elb.RegisterInstancesWithLoadBalancerInput) (*elb.RegisterInstancesWithLoadBalancerOutput, error) DeregisterInstancesFromLoadBalancer(input *elb.DeregisterInstancesFromLoadBalancerInput) (*elb.DeregisterInstancesFromLoadBalancerOutput, error) CreateLoadBalancerListeners(input *elb.CreateLoadBalancerListenersInput) (*elb.CreateLoadBalancerListenersOutput, error) DeleteLoadBalancerListeners(input *elb.DeleteLoadBalancerListenersInput) (*elb.DeleteLoadBalancerListenersOutput, error) ModifyLoadBalancerAttributes(input *elb.ModifyLoadBalancerAttributesInput) (*elb.ModifyLoadBalancerAttributesOutput, error) DescribeLoadBalancerAttributes(input *elb.DescribeLoadBalancerAttributesInput) (*elb.DescribeLoadBalancerAttributesOutput, error) }
func Connect ¶
func Connect(credProvider provider.CredProvider, region string) (ELBInternal, error)
type HealthCheck ¶
type HealthCheck struct {
*elb.HealthCheck
}
func NewHealthCheck ¶
func NewHealthCheck(target string, interval, timeout, healthyThresh, unhealthyThresh int64) *HealthCheck
type InstanceState ¶
type InstanceState struct {
*elb.InstanceState
}
func NewInstanceState ¶
func NewInstanceState() *InstanceState
type ListenerDescription ¶
type ListenerDescription struct {
*elb.ListenerDescription
}
func NewListenerDescription ¶
func NewListenerDescription(listener *Listener) *ListenerDescription
type LoadBalancerAttributes ¶ added in v0.10.7
type LoadBalancerAttributes struct {
*elb.LoadBalancerAttributes
}
func NewLoadBalancerAttributes ¶ added in v0.10.7
func NewLoadBalancerAttributes() *LoadBalancerAttributes
type LoadBalancerDescription ¶
type LoadBalancerDescription struct {
*elb.LoadBalancerDescription
}
func NewLoadBalancerDescription ¶
func NewLoadBalancerDescription(name, scheme string, listeners []*Listener) *LoadBalancerDescription
type Provider ¶
type Provider interface { CreateLoadBalancer(loadBalancerName, scheme string, securityGroups, subnets []*string, listeners []*Listener) (*string, error) ConfigureHealthCheck(loadBalancerName string, check *HealthCheck) error DescribeLoadBalancer(loadBalancerName string) (*LoadBalancerDescription, error) DescribeLoadBalancers() ([]*LoadBalancerDescription, error) DescribeInstanceHealth(loadBalancerName string) ([]*InstanceState, error) DescribeLoadBalancerAttributes(loadBalancerName string) (*LoadBalancerAttributes, error) DeleteLoadBalancer(loadBalancerName string) error RegisterInstancesWithLoadBalancer(loadBalancerName string, instanceIDs []string) error DeregisterInstancesFromLoadBalancer(loadBalancerName string, instanceIDs []string) error CreateLoadBalancerListeners(loadBalancerName string, listeners []*Listener) error DeleteLoadBalancerListeners(loadBalancerName string, listeners []*Listener) error SetIdleTimeout(loadBalancerName string, idleTimeout int) error SetCrossZone(loadBalancerName string, crossZone bool) error }
type ProviderDecorator ¶
type ProviderDecorator struct { Inner Provider Decorator func(name string, call func() error) error }
func (*ProviderDecorator) ConfigureHealthCheck ¶
func (this *ProviderDecorator) ConfigureHealthCheck(p0 string, p1 *HealthCheck) (err error)
func (*ProviderDecorator) CreateLoadBalancer ¶
func (*ProviderDecorator) CreateLoadBalancerListeners ¶
func (this *ProviderDecorator) CreateLoadBalancerListeners(p0 string, p1 []*Listener) (err error)
func (*ProviderDecorator) DeleteLoadBalancer ¶
func (this *ProviderDecorator) DeleteLoadBalancer(p0 string) (err error)
func (*ProviderDecorator) DeleteLoadBalancerListeners ¶
func (this *ProviderDecorator) DeleteLoadBalancerListeners(p0 string, p1 []*Listener) (err error)
func (*ProviderDecorator) DeregisterInstancesFromLoadBalancer ¶
func (this *ProviderDecorator) DeregisterInstancesFromLoadBalancer(p0 string, p1 []string) (err error)
func (*ProviderDecorator) DescribeInstanceHealth ¶
func (this *ProviderDecorator) DescribeInstanceHealth(p0 string) (v0 []*InstanceState, err error)
func (*ProviderDecorator) DescribeLoadBalancer ¶
func (this *ProviderDecorator) DescribeLoadBalancer(p0 string) (v0 *LoadBalancerDescription, err error)
func (*ProviderDecorator) DescribeLoadBalancerAttributes ¶ added in v0.10.7
func (this *ProviderDecorator) DescribeLoadBalancerAttributes(p0 string) (v0 *LoadBalancerAttributes, err error)
func (*ProviderDecorator) DescribeLoadBalancers ¶
func (this *ProviderDecorator) DescribeLoadBalancers() (v0 []*LoadBalancerDescription, err error)
func (*ProviderDecorator) RegisterInstancesWithLoadBalancer ¶
func (this *ProviderDecorator) RegisterInstancesWithLoadBalancer(p0 string, p1 []string) (err error)
func (*ProviderDecorator) SetCrossZone ¶ added in v0.11.0
func (this *ProviderDecorator) SetCrossZone(p0 string, p1 bool) (err error)
func (*ProviderDecorator) SetIdleTimeout ¶ added in v0.10.7
func (this *ProviderDecorator) SetIdleTimeout(p0 string, p1 int) (err error)
Click to show internal directories.
Click to hide internal directories.