Documentation ¶
Index ¶
- type Client
- type Config
- type DefaultClient
- func (c DefaultClient) CreateRule(params *elbv2.CreateRuleInput) ([]*elbv2.Rule, error)
- func (c DefaultClient) CreateTargetGroup(params *elbv2.CreateTargetGroupInput) ([]*elbv2.TargetGroup, error)
- func (c DefaultClient) DeleteRule(ruleArn string) error
- func (c DefaultClient) DeleteTargetGroup(targetGroupArn string) error
- func (c DefaultClient) DescribeLoadBalancers(names []string) (*elbv2.DescribeLoadBalancersOutput, error)
- func (c DefaultClient) DescribeRule(params *elbv2.DescribeRulesInput) ([]*elbv2.Rule, error)
- func (c DefaultClient) DescribeTargetGroup(groupNames []string) (map[string]*elbv2.TargetGroup, error)
- func (c DefaultClient) DescribeTargetHealth(targetGroupArn string) ([]*elbv2.TargetHealthDescription, error)
- func (c DefaultClient) ModifyRule(params *elbv2.ModifyRuleInput) ([]*elbv2.Rule, error)
- func (c DefaultClient) ModifyTargetGroup(params *elbv2.ModifyTargetGroupInput) ([]*elbv2.TargetGroup, error)
- type MockClient
- func (_m *MockClient) CreateRule(params *elbv2.CreateRuleInput) ([]*elbv2.Rule, error)
- func (_m *MockClient) CreateTargetGroup(params *elbv2.CreateTargetGroupInput) ([]*elbv2.TargetGroup, error)
- func (_m *MockClient) DeleteRule(ruleArn string) error
- func (_m *MockClient) DeleteTargetGroup(targetGroupArn string) error
- func (_m *MockClient) DescribeLoadBalancers(names []string) (*elbv2.DescribeLoadBalancersOutput, error)
- func (_m *MockClient) DescribeRule(params *elbv2.DescribeRulesInput) ([]*elbv2.Rule, error)
- func (_m *MockClient) DescribeTargetGroup(groupNames []string) (map[string]*elbv2.TargetGroup, error)
- func (_m *MockClient) DescribeTargetHealth(targetGroupArn string) ([]*elbv2.TargetHealthDescription, error)
- func (_m *MockClient) EXPECT() *_MockClientRecorder
- func (_m *MockClient) ModifyRule(params *elbv2.ModifyRuleInput) ([]*elbv2.Rule, error)
- func (_m *MockClient) ModifyTargetGroup(params *elbv2.ModifyTargetGroupInput) ([]*elbv2.TargetGroup, 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) (*elbv2.DescribeLoadBalancersOutput, error) CreateRule(params *elbv2.CreateRuleInput) ([]*elbv2.Rule, error) DeleteRule(ruleArn string) error DescribeRule(params *elbv2.DescribeRulesInput) ([]*elbv2.Rule, error) ModifyRule(params *elbv2.ModifyRuleInput) ([]*elbv2.Rule, error) CreateTargetGroup(params *elbv2.CreateTargetGroupInput) ([]*elbv2.TargetGroup, error) DeleteTargetGroup(targetGroupArn string) error DescribeTargetGroup(groupNames []string) (map[string]*elbv2.TargetGroup, error) ModifyTargetGroup(params *elbv2.ModifyTargetGroupInput) ([]*elbv2.TargetGroup, error) DescribeTargetHealth(targetGroupArn string) ([]*elbv2.TargetHealthDescription, error) }
type DefaultClient ¶
type DefaultClient struct {
// contains filtered or unexported fields
}
func (DefaultClient) CreateRule ¶
func (c DefaultClient) CreateRule(params *elbv2.CreateRuleInput) ([]*elbv2.Rule, error)
func (DefaultClient) CreateTargetGroup ¶
func (c DefaultClient) CreateTargetGroup(params *elbv2.CreateTargetGroupInput) ([]*elbv2.TargetGroup, error)
func (DefaultClient) DeleteRule ¶
func (c DefaultClient) DeleteRule(ruleArn string) error
func (DefaultClient) DeleteTargetGroup ¶
func (c DefaultClient) DeleteTargetGroup(targetGroupArn string) error
func (DefaultClient) DescribeLoadBalancers ¶
func (c DefaultClient) DescribeLoadBalancers(names []string) (*elbv2.DescribeLoadBalancersOutput, error)
func (DefaultClient) DescribeRule ¶
func (c DefaultClient) DescribeRule(params *elbv2.DescribeRulesInput) ([]*elbv2.Rule, error)
func (DefaultClient) DescribeTargetGroup ¶
func (c DefaultClient) DescribeTargetGroup(groupNames []string) (map[string]*elbv2.TargetGroup, error)
func (DefaultClient) DescribeTargetHealth ¶
func (c DefaultClient) DescribeTargetHealth(targetGroupArn string) ([]*elbv2.TargetHealthDescription, error)
func (DefaultClient) ModifyRule ¶
func (c DefaultClient) ModifyRule(params *elbv2.ModifyRuleInput) ([]*elbv2.Rule, error)
func (DefaultClient) ModifyTargetGroup ¶
func (c DefaultClient) ModifyTargetGroup(params *elbv2.ModifyTargetGroupInput) ([]*elbv2.TargetGroup, error)
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
Mock of Client interface
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
func (*MockClient) CreateRule ¶
func (_m *MockClient) CreateRule(params *elbv2.CreateRuleInput) ([]*elbv2.Rule, error)
func (*MockClient) CreateTargetGroup ¶
func (_m *MockClient) CreateTargetGroup(params *elbv2.CreateTargetGroupInput) ([]*elbv2.TargetGroup, error)
func (*MockClient) DeleteRule ¶
func (_m *MockClient) DeleteRule(ruleArn string) error
func (*MockClient) DeleteTargetGroup ¶
func (_m *MockClient) DeleteTargetGroup(targetGroupArn string) error
func (*MockClient) DescribeLoadBalancers ¶
func (_m *MockClient) DescribeLoadBalancers(names []string) (*elbv2.DescribeLoadBalancersOutput, error)
func (*MockClient) DescribeRule ¶
func (_m *MockClient) DescribeRule(params *elbv2.DescribeRulesInput) ([]*elbv2.Rule, error)
func (*MockClient) DescribeTargetGroup ¶
func (_m *MockClient) DescribeTargetGroup(groupNames []string) (map[string]*elbv2.TargetGroup, error)
func (*MockClient) DescribeTargetHealth ¶
func (_m *MockClient) DescribeTargetHealth(targetGroupArn string) ([]*elbv2.TargetHealthDescription, error)
func (*MockClient) EXPECT ¶
func (_m *MockClient) EXPECT() *_MockClientRecorder
func (*MockClient) ModifyRule ¶
func (_m *MockClient) ModifyRule(params *elbv2.ModifyRuleInput) ([]*elbv2.Rule, error)
func (*MockClient) ModifyTargetGroup ¶
func (_m *MockClient) ModifyTargetGroup(params *elbv2.ModifyTargetGroupInput) ([]*elbv2.TargetGroup, error)
Click to show internal directories.
Click to hide internal directories.