elb

package
v0.12.9-rc2 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Generated by go-decorator, DO NOT EDIT

Index

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 (this *ELB) CreateLoadBalancer(loadBalancerName, scheme string, securityGroups, subnets []*string, listeners []*Listener) (*string, error)

func (*ELB) CreateLoadBalancerListeners

func (this *ELB) CreateLoadBalancerListeners(loadBalancerName string, listeners []*Listener) error

func (*ELB) DeleteLoadBalancer

func (this *ELB) DeleteLoadBalancer(loadBalancerName string) error

func (*ELB) DeleteLoadBalancerListeners

func (this *ELB) DeleteLoadBalancerListeners(loadBalancerName string, listeners []*Listener) error

func (*ELB) DeregisterInstancesFromLoadBalancer

func (this *ELB) DeregisterInstancesFromLoadBalancer(loadBalancerName string, instances []string) error

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 (this *ELB) RegisterInstancesWithLoadBalancer(loadBalancerName string, instances []string) error

func (*ELB) SetCrossZone added in v0.11.0

func (this *ELB) SetCrossZone(loadBalancerName string, crossZone bool) error

func (*ELB) SetIdleTimeout added in v0.10.7

func (this *ELB) SetIdleTimeout(loadBalancerName string, idleTimeout int) error

type ELBInternal

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 Listener

type Listener struct {
	*elb.Listener
}

func NewListener

func NewListener(instancePort int64, instanceProtocol string, lbPort int64, lbProtocol, certificate string) *Listener

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
}

func NewELB

func NewELB(credProvider provider.CredProvider, region string) (Provider, 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 (this *ProviderDecorator) CreateLoadBalancer(p0 string, p1 string, p2 []*string, p3 []*string, p4 []*Listener) (v0 *string, err error)

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)

type Tag

type Tag struct {
	elb.Tag
}

Directories

Path Synopsis
Package mock_elb is a generated GoMock package.
Package mock_elb is a generated GoMock package.

Jump to

Keyboard shortcuts

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