Documentation ¶
Index ¶
- type Client
- type Config
- type DefaultClient
- func (c DefaultClient) DeregisterInstancesFromLoadBalancer(lb string, instances []*elb.Instance) ([]*elb.Instance, error)
- func (c DefaultClient) DescribeLoadBalancers(names []string) (*elb.DescribeLoadBalancersOutput, error)
- func (c DefaultClient) RegisterInstancesWithLoadBalancer(name string, instances []*elb.Instance) ([]*elb.Instance, error)
- type MockClient
- func (_m *MockClient) DeregisterInstancesFromLoadBalancer(lb string, instances []*elb.Instance) ([]*elb.Instance, error)
- func (_m *MockClient) DescribeLoadBalancers(names []string) (*elb.DescribeLoadBalancersOutput, error)
- func (_m *MockClient) EXPECT() *_MockClientRecorder
- func (_m *MockClient) RegisterInstancesWithLoadBalancer(name string, instances []*elb.Instance) ([]*elb.Instance, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { DescribeLoadBalancers(names []string) (*elb.DescribeLoadBalancersOutput, error) RegisterInstancesWithLoadBalancer(name string, instances []*elb.Instance) ([]*elb.Instance, error) DeregisterInstancesFromLoadBalancer(lb string, instances []*elb.Instance) ([]*elb.Instance, error) }
type DefaultClient ¶
type DefaultClient struct {
// contains filtered or unexported fields
}
func (DefaultClient) DeregisterInstancesFromLoadBalancer ¶
func (DefaultClient) DescribeLoadBalancers ¶
func (c DefaultClient) DescribeLoadBalancers(names []string) (*elb.DescribeLoadBalancersOutput, error)
func (DefaultClient) RegisterInstancesWithLoadBalancer ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
Mock of Client interface
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
func (*MockClient) DeregisterInstancesFromLoadBalancer ¶
func (*MockClient) DescribeLoadBalancers ¶
func (_m *MockClient) DescribeLoadBalancers(names []string) (*elb.DescribeLoadBalancersOutput, error)
func (*MockClient) EXPECT ¶
func (_m *MockClient) EXPECT() *_MockClientRecorder
func (*MockClient) RegisterInstancesWithLoadBalancer ¶
Click to show internal directories.
Click to hide internal directories.