Documentation ¶
Index ¶
- type MockClient
- func (c *MockClient) AddTags(ctx context.Context, i *elasticloadbalancing.AddTagsInput, ...) (*elasticloadbalancing.AddTagsOutput, error)
- func (c *MockClient) ApplySecurityGroupsToLoadBalancer(ctx context.Context, ...) (*elasticloadbalancing.ApplySecurityGroupsToLoadBalancerOutput, error)
- func (c *MockClient) AttachLoadBalancerToSubnets(ctx context.Context, i *elasticloadbalancing.AttachLoadBalancerToSubnetsInput, ...) (*elasticloadbalancing.AttachLoadBalancerToSubnetsOutput, error)
- func (c *MockClient) ConfigureHealthCheck(ctx context.Context, i *elasticloadbalancing.ConfigureHealthCheckInput, ...) (*elasticloadbalancing.ConfigureHealthCheckOutput, error)
- func (c *MockClient) CreateLoadBalancer(ctx context.Context, i *elasticloadbalancing.CreateLoadBalancerInput, ...) (*elasticloadbalancing.CreateLoadBalancerOutput, error)
- func (c *MockClient) CreateLoadBalancerListeners(ctx context.Context, i *elasticloadbalancing.CreateLoadBalancerListenersInput, ...) (*elasticloadbalancing.CreateLoadBalancerListenersOutput, error)
- func (c *MockClient) DeleteLoadBalancer(ctx context.Context, i *elasticloadbalancing.DeleteLoadBalancerInput, ...) (*elasticloadbalancing.DeleteLoadBalancerOutput, error)
- func (c *MockClient) DeleteLoadBalancerListeners(ctx context.Context, i *elasticloadbalancing.DeleteLoadBalancerListenersInput, ...) (*elasticloadbalancing.DeleteLoadBalancerListenersOutput, error)
- func (c *MockClient) DeregisterInstancesFromLoadBalancer(ctx context.Context, ...) (*elasticloadbalancing.DeregisterInstancesFromLoadBalancerOutput, error)
- func (c *MockClient) DescribeLoadBalancers(ctx context.Context, i *elasticloadbalancing.DescribeLoadBalancersInput, ...) (*elasticloadbalancing.DescribeLoadBalancersOutput, error)
- func (c *MockClient) DescribeTags(ctx context.Context, i *elasticloadbalancing.DescribeTagsInput, ...) (*elasticloadbalancing.DescribeTagsOutput, error)
- func (c *MockClient) DetachLoadBalancerFromSubnets(ctx context.Context, ...) (*elasticloadbalancing.DetachLoadBalancerFromSubnetsOutput, error)
- func (c *MockClient) DisableAvailabilityZonesForLoadBalancer(ctx context.Context, ...) (*elasticloadbalancing.DisableAvailabilityZonesForLoadBalancerOutput, error)
- func (c *MockClient) EnableAvailabilityZonesForLoadBalancer(ctx context.Context, ...) (*elasticloadbalancing.EnableAvailabilityZonesForLoadBalancerOutput, error)
- func (c *MockClient) RegisterInstancesWithLoadBalancer(ctx context.Context, ...) (*elasticloadbalancing.RegisterInstancesWithLoadBalancerOutput, error)
- func (c *MockClient) RemoveTags(ctx context.Context, i *elasticloadbalancing.RemoveTagsInput, ...) (*elasticloadbalancing.RemoveTagsOutput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct { MockDescribeLoadBalancers func(ctx context.Context, input *elb.DescribeLoadBalancersInput, opts []func(*elb.Options)) (*elb.DescribeLoadBalancersOutput, error) MockCreateLoadBalancer func(ctx context.Context, input *elb.CreateLoadBalancerInput, opts []func(*elb.Options)) (*elb.CreateLoadBalancerOutput, error) MockDeleteLoadBalancer func(ctx context.Context, input *elb.DeleteLoadBalancerInput, opts []func(*elb.Options)) (*elb.DeleteLoadBalancerOutput, error) MockEnableAvailabilityZonesForLoadBalancer func(ctx context.Context, input *elb.EnableAvailabilityZonesForLoadBalancerInput, opts []func(*elb.Options)) (*elb.EnableAvailabilityZonesForLoadBalancerOutput, error) MockDisableAvailabilityZonesForLoadBalancer func(ctx context.Context, input *elb.DisableAvailabilityZonesForLoadBalancerInput, opts []func(*elb.Options)) (*elb.DisableAvailabilityZonesForLoadBalancerOutput, error) MockDetachLoadBalancerFromSubnets func(ctx context.Context, input *elb.DetachLoadBalancerFromSubnetsInput, opts []func(*elb.Options)) (*elb.DetachLoadBalancerFromSubnetsOutput, error) MockAttachLoadBalancerToSubnets func(ctx context.Context, input *elb.AttachLoadBalancerToSubnetsInput, opts []func(*elb.Options)) (*elb.AttachLoadBalancerToSubnetsOutput, error) MockApplySecurityGroupsToLoadBalancer func(ctx context.Context, input *elb.ApplySecurityGroupsToLoadBalancerInput, opts []func(*elb.Options)) (*elb.ApplySecurityGroupsToLoadBalancerOutput, error) MockCreateLoadBalancerListeners func(ctx context.Context, input *elb.CreateLoadBalancerListenersInput, opts []func(*elb.Options)) (*elb.CreateLoadBalancerListenersOutput, error) MockDeleteLoadBalancerListeners func(ctx context.Context, input *elb.DeleteLoadBalancerListenersInput, opts []func(*elb.Options)) (*elb.DeleteLoadBalancerListenersOutput, error) MockRegisterInstancesWithLoadBalancer func(ctx context.Context, input *elb.RegisterInstancesWithLoadBalancerInput, opts []func(*elb.Options)) (*elb.RegisterInstancesWithLoadBalancerOutput, error) MockDeregisterInstancesFromLoadBalancer func(ctx context.Context, input *elb.DeregisterInstancesFromLoadBalancerInput, opts []func(*elb.Options)) (*elb.DeregisterInstancesFromLoadBalancerOutput, error) MockDescribeTags func(ctx context.Context, input *elb.DescribeTagsInput, opts []func(*elb.Options)) (*elb.DescribeTagsOutput, error) MockAddTags func(ctx context.Context, input *elb.AddTagsInput, opts []func(*elb.Options)) (*elb.AddTagsOutput, error) MockRemoveTags func(ctx context.Context, input *elb.RemoveTagsInput, opts []func(*elb.Options)) (*elb.RemoveTagsOutput, error) MockConfigureHealthCheck func(ctx context.Context, params *elb.ConfigureHealthCheckInput, opts []func(*elb.Options)) (*elb.ConfigureHealthCheckOutput, error) }
MockClient is a mock of the elb client
func (*MockClient) AddTags ¶
func (c *MockClient) AddTags(ctx context.Context, i *elasticloadbalancing.AddTagsInput, opts ...func(*elb.Options)) (*elasticloadbalancing.AddTagsOutput, error)
AddTags calls the underlying MockAddTags method.
func (*MockClient) ApplySecurityGroupsToLoadBalancer ¶
func (c *MockClient) ApplySecurityGroupsToLoadBalancer(ctx context.Context, i *elasticloadbalancing.ApplySecurityGroupsToLoadBalancerInput, opts ...func(*elb.Options)) (*elasticloadbalancing.ApplySecurityGroupsToLoadBalancerOutput, error)
ApplySecurityGroupsToLoadBalancer calls the underlying MockApplySecurityGroupsToLoadBalancer method.
func (*MockClient) AttachLoadBalancerToSubnets ¶
func (c *MockClient) AttachLoadBalancerToSubnets(ctx context.Context, i *elasticloadbalancing.AttachLoadBalancerToSubnetsInput, opts ...func(*elb.Options)) (*elasticloadbalancing.AttachLoadBalancerToSubnetsOutput, error)
AttachLoadBalancerToSubnets calls the underlying MockAttachLoadBalancerToSubnets method.
func (*MockClient) ConfigureHealthCheck ¶
func (c *MockClient) ConfigureHealthCheck(ctx context.Context, i *elasticloadbalancing.ConfigureHealthCheckInput, opts ...func(*elb.Options)) (*elasticloadbalancing.ConfigureHealthCheckOutput, error)
ConfigureHealthCheck calls the underlying MockConfigureHealthCheck method.
func (*MockClient) CreateLoadBalancer ¶
func (c *MockClient) CreateLoadBalancer(ctx context.Context, i *elasticloadbalancing.CreateLoadBalancerInput, opts ...func(*elb.Options)) (*elasticloadbalancing.CreateLoadBalancerOutput, error)
CreateLoadBalancer calls the underlying MockCreateLoadBalancer method.
func (*MockClient) CreateLoadBalancerListeners ¶
func (c *MockClient) CreateLoadBalancerListeners(ctx context.Context, i *elasticloadbalancing.CreateLoadBalancerListenersInput, opts ...func(*elb.Options)) (*elasticloadbalancing.CreateLoadBalancerListenersOutput, error)
CreateLoadBalancerListeners calls the underlying MockCreateLoadBalancerListeners method.
func (*MockClient) DeleteLoadBalancer ¶
func (c *MockClient) DeleteLoadBalancer(ctx context.Context, i *elasticloadbalancing.DeleteLoadBalancerInput, opts ...func(*elb.Options)) (*elasticloadbalancing.DeleteLoadBalancerOutput, error)
DeleteLoadBalancer calls the underlying MockDeleteLoadBalancer method.
func (*MockClient) DeleteLoadBalancerListeners ¶
func (c *MockClient) DeleteLoadBalancerListeners(ctx context.Context, i *elasticloadbalancing.DeleteLoadBalancerListenersInput, opts ...func(*elb.Options)) (*elasticloadbalancing.DeleteLoadBalancerListenersOutput, error)
DeleteLoadBalancerListeners calls the underlying MockDeleteLoadBalancerListeners method.
func (*MockClient) DeregisterInstancesFromLoadBalancer ¶
func (c *MockClient) DeregisterInstancesFromLoadBalancer(ctx context.Context, i *elasticloadbalancing.DeregisterInstancesFromLoadBalancerInput, opts ...func(*elb.Options)) (*elasticloadbalancing.DeregisterInstancesFromLoadBalancerOutput, error)
DeregisterInstancesFromLoadBalancer calls the underlying MockDeregisterInstancesWithLoadBalancer method.
func (*MockClient) DescribeLoadBalancers ¶
func (c *MockClient) DescribeLoadBalancers(ctx context.Context, i *elasticloadbalancing.DescribeLoadBalancersInput, opts ...func(*elb.Options)) (*elasticloadbalancing.DescribeLoadBalancersOutput, error)
DescribeLoadBalancers calls the underlying MockDescribeLoadBalancers method.
func (*MockClient) DescribeTags ¶
func (c *MockClient) DescribeTags(ctx context.Context, i *elasticloadbalancing.DescribeTagsInput, opts ...func(*elb.Options)) (*elasticloadbalancing.DescribeTagsOutput, error)
DescribeTags calls the underlying MockDescribeTags method.
func (*MockClient) DetachLoadBalancerFromSubnets ¶
func (c *MockClient) DetachLoadBalancerFromSubnets(ctx context.Context, i *elasticloadbalancing.DetachLoadBalancerFromSubnetsInput, opts ...func(*elb.Options)) (*elasticloadbalancing.DetachLoadBalancerFromSubnetsOutput, error)
DetachLoadBalancerFromSubnets calls the underlying MockDetachLoadBalancerFromSubnets method.
func (*MockClient) DisableAvailabilityZonesForLoadBalancer ¶
func (c *MockClient) DisableAvailabilityZonesForLoadBalancer(ctx context.Context, i *elasticloadbalancing.DisableAvailabilityZonesForLoadBalancerInput, opts ...func(*elb.Options)) (*elasticloadbalancing.DisableAvailabilityZonesForLoadBalancerOutput, error)
DisableAvailabilityZonesForLoadBalancer calls the underlying MockDisableAvailabilityZonesForLoadBalancer method.
func (*MockClient) EnableAvailabilityZonesForLoadBalancer ¶
func (c *MockClient) EnableAvailabilityZonesForLoadBalancer(ctx context.Context, i *elasticloadbalancing.EnableAvailabilityZonesForLoadBalancerInput, opts ...func(*elb.Options)) (*elasticloadbalancing.EnableAvailabilityZonesForLoadBalancerOutput, error)
EnableAvailabilityZonesForLoadBalancer calls the underlying MockEnableAvailabilityZonesForLoadBalancer method.
func (*MockClient) RegisterInstancesWithLoadBalancer ¶
func (c *MockClient) RegisterInstancesWithLoadBalancer(ctx context.Context, i *elasticloadbalancing.RegisterInstancesWithLoadBalancerInput, opts ...func(*elb.Options)) (*elasticloadbalancing.RegisterInstancesWithLoadBalancerOutput, error)
RegisterInstancesWithLoadBalancer calls the underlying MockRegisterInstancesWithLoadBalancer method.
func (*MockClient) RemoveTags ¶
func (c *MockClient) RemoveTags(ctx context.Context, i *elasticloadbalancing.RemoveTagsInput, opts ...func(*elb.Options)) (*elasticloadbalancing.RemoveTagsOutput, error)
RemoveTags calls the underlying MockRemoveTags method.