Fnlb was moved to its own repo: fnproject/lb (#702)

* Fnlb was moved to its own repo: fnproject/lb

* Clean up fnlb leftovers

* Newer deps
This commit is contained in:
Denis Makogon
2018-01-23 00:17:29 +02:00
committed by Reed Allman
parent 4ffa3d5005
commit d3be603e54
8310 changed files with 457462 additions and 1749312 deletions

View File

@@ -682,6 +682,9 @@ func (c *ELB) CreateLoadBalancerRequest(input *CreateLoadBalancerInput) (req *re
// * ErrCodeUnsupportedProtocolException "UnsupportedProtocol"
// The specified protocol or signature version is not supported.
//
// * ErrCodeOperationNotPermittedException "OperationNotPermitted"
// This operation is not allowed.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancer
func (c *ELB) CreateLoadBalancer(input *CreateLoadBalancerInput) (*CreateLoadBalancerOutput, error) {
req, out := c.CreateLoadBalancerRequest(input)

View File

@@ -3,27 +3,22 @@
// Package elb provides the client and types for making API
// requests to Elastic Load Balancing.
//
// A load balancer distributes incoming traffic across your EC2 instances. This
// enables you to increase the availability of your application. The load balancer
// also monitors the health of its registered instances and ensures that it
// routes traffic only to healthy instances. You configure your load balancer
// to accept incoming traffic by specifying one or more listeners, which are
// configured with a protocol and port number for connections from clients to
// the load balancer and a protocol and port number for connections from the
// load balancer to the instances.
// A load balancer can distribute incoming traffic across your EC2 instances.
// This enables you to increase the availability of your application. The load
// balancer also monitors the health of its registered instances and ensures
// that it routes traffic only to healthy instances. You configure your load
// balancer to accept incoming traffic by specifying one or more listeners,
// which are configured with a protocol and port number for connections from
// clients to the load balancer and a protocol and port number for connections
// from the load balancer to the instances.
//
// Elastic Load Balancing supports two types of load balancers: Classic Load
// Balancers and Application Load Balancers (new). A Classic Load Balancer makes
// routing and load balancing decisions either at the transport layer (TCP/SSL)
// or the application layer (HTTP/HTTPS), and supports either EC2-Classic or
// a VPC. An Application Load Balancer makes routing and load balancing decisions
// at the application layer (HTTP/HTTPS), supports path-based routing, and can
// route requests to one or more ports on each EC2 instance or container instance
// in your virtual private cloud (VPC). For more information, see the Elastic
// Load Balancing User Guide (http://docs.aws.amazon.com/elasticloadbalancing/latest/userguide/what-is-load-balancing.html).
// Elastic Load Balancing supports three types of load balancers: Application
// Load Balancers, Network Load Balancers, and Classic Load Balancers. You can
// select a load balancer based on your application needs. For more information,
// see the Elastic Load Balancing User Guide (http://docs.aws.amazon.com/elasticloadbalancing/latest/userguide/).
//
// This reference covers the 2012-06-01 API, which supports Classic Load Balancers.
// The 2015-12-01 API supports Application Load Balancers.
// The 2015-12-01 API supports Application Load Balancers and Network Load Balancers.
//
// To get started, create a load balancer with one or more listeners using CreateLoadBalancer.
// Register your instances with the load balancer using RegisterInstancesWithLoadBalancer.

View File

@@ -91,6 +91,12 @@ const (
// The specified load balancer attribute does not exist.
ErrCodeLoadBalancerAttributeNotFoundException = "LoadBalancerAttributeNotFound"
// ErrCodeOperationNotPermittedException for service response error code
// "OperationNotPermitted".
//
// This operation is not allowed.
ErrCodeOperationNotPermittedException = "OperationNotPermitted"
// ErrCodePolicyNotFoundException for service response error code
// "PolicyNotFound".
//

View File

@@ -307,6 +307,8 @@ func ExampleELB_CreateLoadBalancer_shared00() {
fmt.Println(elb.ErrCodeDuplicateTagKeysException, aerr.Error())
case elb.ErrCodeUnsupportedProtocolException:
fmt.Println(elb.ErrCodeUnsupportedProtocolException, aerr.Error())
case elb.ErrCodeOperationNotPermittedException:
fmt.Println(elb.ErrCodeOperationNotPermittedException, aerr.Error())
default:
fmt.Println(aerr.Error())
}
@@ -367,6 +369,8 @@ func ExampleELB_CreateLoadBalancer_shared01() {
fmt.Println(elb.ErrCodeDuplicateTagKeysException, aerr.Error())
case elb.ErrCodeUnsupportedProtocolException:
fmt.Println(elb.ErrCodeUnsupportedProtocolException, aerr.Error())
case elb.ErrCodeOperationNotPermittedException:
fmt.Println(elb.ErrCodeOperationNotPermittedException, aerr.Error())
default:
fmt.Println(aerr.Error())
}
@@ -437,6 +441,8 @@ func ExampleELB_CreateLoadBalancer_shared02() {
fmt.Println(elb.ErrCodeDuplicateTagKeysException, aerr.Error())
case elb.ErrCodeUnsupportedProtocolException:
fmt.Println(elb.ErrCodeUnsupportedProtocolException, aerr.Error())
case elb.ErrCodeOperationNotPermittedException:
fmt.Println(elb.ErrCodeOperationNotPermittedException, aerr.Error())
default:
fmt.Println(aerr.Error())
}
@@ -504,6 +510,8 @@ func ExampleELB_CreateLoadBalancer_shared03() {
fmt.Println(elb.ErrCodeDuplicateTagKeysException, aerr.Error())
case elb.ErrCodeUnsupportedProtocolException:
fmt.Println(elb.ErrCodeUnsupportedProtocolException, aerr.Error())
case elb.ErrCodeOperationNotPermittedException:
fmt.Println(elb.ErrCodeOperationNotPermittedException, aerr.Error())
default:
fmt.Println(aerr.Error())
}
@@ -568,6 +576,8 @@ func ExampleELB_CreateLoadBalancer_shared04() {
fmt.Println(elb.ErrCodeDuplicateTagKeysException, aerr.Error())
case elb.ErrCodeUnsupportedProtocolException:
fmt.Println(elb.ErrCodeUnsupportedProtocolException, aerr.Error())
case elb.ErrCodeOperationNotPermittedException:
fmt.Println(elb.ErrCodeOperationNotPermittedException, aerr.Error())
default:
fmt.Println(aerr.Error())
}