services

package
v0.0.0-...-31ec9f0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2025 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Package services is a generated GoMock package.

Package services is a generated GoMock package.

Package services is a generated GoMock package.

Package services is a generated GoMock package.

Package services is a generated GoMock package.

Package services is a generated GoMock package.

Package services is a generated GoMock package.

Package services is a generated GoMock package.

Index

Constants

View Source
const (
	ResourceTypeELBTargetGroup  = "elasticloadbalancing:targetgroup"
	ResourceTypeELBLoadBalancer = "elasticloadbalancing:loadbalancer"
)

Variables

This section is empty.

Functions

func ParseRGTTags

func ParseRGTTags(tags []rgttypes.Tag) map[string]string

Types

type ACM

type ACM interface {
	// wrapper to ListCertificatesPagesWithContext API, which aggregates paged results into list.
	ListCertificatesAsList(ctx context.Context, input *acm.ListCertificatesInput) ([]types.CertificateSummary, error)
	DescribeCertificateWithContext(ctx context.Context, req *acm.DescribeCertificateInput) (*acm.DescribeCertificateOutput, error)
}

func NewACM

func NewACM(awsClientsProvider provider.AWSClientsProvider) ACM

NewACM constructs new ACM implementation.

type Cloud

type Cloud interface {
	// EC2 provides API to AWS EC2
	EC2() EC2

	// ELBV2 provides API to AWS ELBV2
	ELBV2() ELBV2

	// ACM provides API to AWS ACM
	ACM() ACM

	// WAFv2 provides API to AWS WAFv2
	WAFv2() WAFv2

	// WAFRegional provides API to AWS WAFRegional
	WAFRegional() WAFRegional

	// Shield provides API to AWS Shield
	Shield() Shield

	// RGT provides API to AWS RGT
	RGT() RGT

	// Region for the kubernetes cluster
	Region() string

	// VpcID for the LoadBalancer resources.
	VpcID() string

	GetAssumedRoleELBV2(ctx context.Context, assumeRoleArn string, externalId string) (ELBV2, error)
}

type EC2

type EC2 interface {

	// DescribeInstancesAsList wraps the DescribeInstancesPagesWithContext API, which aggregates paged results into list.
	DescribeInstancesAsList(ctx context.Context, input *ec2.DescribeInstancesInput) ([]types.Instance, error)

	// DescribeNetworkInterfacesAsList wraps the DescribeNetworkInterfacesPagesWithContext API, which aggregates paged results into list.
	DescribeNetworkInterfacesAsList(ctx context.Context, input *ec2.DescribeNetworkInterfacesInput) ([]types.NetworkInterface, error)

	// DescribeSecurityGroupsAsList wraps the DescribeSecurityGroupsPagesWithContext API, which aggregates paged results into list.
	DescribeSecurityGroupsAsList(ctx context.Context, input *ec2.DescribeSecurityGroupsInput) ([]types.SecurityGroup, error)

	// DescribeSubnetsAsList wraps the DescribeSubnetsPagesWithContext API, which aggregates paged results into list.
	DescribeSubnetsAsList(ctx context.Context, input *ec2.DescribeSubnetsInput) ([]types.Subnet, error)

	// DescribeVPCsAsList wraps the DescribeVpcsPagesWithContext API, which aggregates paged results into list.
	DescribeVPCsAsList(ctx context.Context, input *ec2.DescribeVpcsInput) ([]types.Vpc, error)

	// DescribeRouteTablesAsList wraps the DescribeRouteTablesWithContext API, which aggregates paged results into list.
	DescribeRouteTablesAsList(ctx context.Context, input *ec2.DescribeRouteTablesInput) ([]types.RouteTable, error)

	CreateTagsWithContext(ctx context.Context, input *ec2.CreateTagsInput) (*ec2.CreateTagsOutput, error)
	DeleteTagsWithContext(ctx context.Context, input *ec2.DeleteTagsInput) (*ec2.DeleteTagsOutput, error)
	CreateSecurityGroupWithContext(ctx context.Context, input *ec2.CreateSecurityGroupInput) (*ec2.CreateSecurityGroupOutput, error)
	DeleteSecurityGroupWithContext(ctx context.Context, input *ec2.DeleteSecurityGroupInput) (*ec2.DeleteSecurityGroupOutput, error)
	AuthorizeSecurityGroupIngressWithContext(ctx context.Context, input *ec2.AuthorizeSecurityGroupIngressInput) (*ec2.AuthorizeSecurityGroupIngressOutput, error)
	RevokeSecurityGroupIngressWithContext(ctx context.Context, input *ec2.RevokeSecurityGroupIngressInput) (*ec2.RevokeSecurityGroupIngressOutput, error)
	DescribeAvailabilityZonesWithContext(ctx context.Context, input *ec2.DescribeAvailabilityZonesInput) (*ec2.DescribeAvailabilityZonesOutput, error)
	DescribeVpcsWithContext(ctx context.Context, input *ec2.DescribeVpcsInput) (*ec2.DescribeVpcsOutput, error)
	DescribeInstancesWithContext(ctx context.Context, input *ec2.DescribeInstancesInput) (*ec2.DescribeInstancesOutput, error)
}

func NewEC2

func NewEC2(awsClientsProvider provider.AWSClientsProvider) EC2

NewEC2 constructs new EC2 implementation.

type EC2Metadata

type EC2Metadata interface {
	Region() (string, error)
	VpcID() (string, error)
}

func NewEC2Metadata

func NewEC2Metadata(cfg aws.Config, endpointsResolver *endpoints.Resolver) EC2Metadata

NewEC2Metadata constructs new EC2Metadata implementation.

type ELBV2

type ELBV2 interface {
	// wrapper to DescribeLoadBalancersPagesWithContext API, which aggregates paged results into list.
	DescribeLoadBalancersAsList(ctx context.Context, input *elasticloadbalancingv2.DescribeLoadBalancersInput) ([]types.LoadBalancer, error)

	// wrapper to DescribeTargetGroupsPagesWithContext API, which aggregates paged results into list.
	DescribeTargetGroupsAsList(ctx context.Context, input *elasticloadbalancingv2.DescribeTargetGroupsInput) ([]types.TargetGroup, error)

	// wrapper to DescribeListenersPagesWithContext API, which aggregates paged results into list.
	DescribeListenersAsList(ctx context.Context, input *elasticloadbalancingv2.DescribeListenersInput) ([]types.Listener, error)

	// wrapper to DescribeListenerCertificatesWithContext API, which aggregates paged results into list.
	DescribeListenerCertificatesAsList(ctx context.Context, input *elasticloadbalancingv2.DescribeListenerCertificatesInput) ([]types.Certificate, error)

	// wrapper to DescribeRulesWithContext API, which aggregates paged results into list.
	DescribeRulesAsList(ctx context.Context, input *elasticloadbalancingv2.DescribeRulesInput) ([]types.Rule, error)
	AddTagsWithContext(ctx context.Context, input *elasticloadbalancingv2.AddTagsInput) (*elasticloadbalancingv2.AddTagsOutput, error)
	RemoveTagsWithContext(ctx context.Context, input *elasticloadbalancingv2.RemoveTagsInput) (*elasticloadbalancingv2.RemoveTagsOutput, error)
	DescribeTagsWithContext(ctx context.Context, input *elasticloadbalancingv2.DescribeTagsInput) (*elasticloadbalancingv2.DescribeTagsOutput, error)
	CreateListenerWithContext(ctx context.Context, input *elasticloadbalancingv2.CreateListenerInput) (*elasticloadbalancingv2.CreateListenerOutput, error)
	DeleteListenerWithContext(ctx context.Context, input *elasticloadbalancingv2.DeleteListenerInput) (*elasticloadbalancingv2.DeleteListenerOutput, error)
	ModifyListenerWithContext(ctx context.Context, input *elasticloadbalancingv2.ModifyListenerInput) (*elasticloadbalancingv2.ModifyListenerOutput, error)
	ModifyLoadBalancerAttributesWithContext(ctx context.Context, input *elasticloadbalancingv2.ModifyLoadBalancerAttributesInput) (*elasticloadbalancingv2.ModifyLoadBalancerAttributesOutput, error)
	DescribeLoadBalancerAttributesWithContext(ctx context.Context, input *elasticloadbalancingv2.DescribeLoadBalancerAttributesInput) (*elasticloadbalancingv2.DescribeLoadBalancerAttributesOutput, error)
	CreateLoadBalancerWithContext(ctx context.Context, input *elasticloadbalancingv2.CreateLoadBalancerInput) (*elasticloadbalancingv2.CreateLoadBalancerOutput, error)
	DeleteLoadBalancerWithContext(ctx context.Context, input *elasticloadbalancingv2.DeleteLoadBalancerInput) (*elasticloadbalancingv2.DeleteLoadBalancerOutput, error)
	SetIpAddressTypeWithContext(ctx context.Context, input *elasticloadbalancingv2.SetIpAddressTypeInput) (*elasticloadbalancingv2.SetIpAddressTypeOutput, error)
	SetSubnetsWithContext(ctx context.Context, input *elasticloadbalancingv2.SetSubnetsInput) (*elasticloadbalancingv2.SetSubnetsOutput, error)
	SetSecurityGroupsWithContext(ctx context.Context, input *elasticloadbalancingv2.SetSecurityGroupsInput) (*elasticloadbalancingv2.SetSecurityGroupsOutput, error)
	ModifyTargetGroupAttributesWithContext(ctx context.Context, input *elasticloadbalancingv2.ModifyTargetGroupAttributesInput) (*elasticloadbalancingv2.ModifyTargetGroupAttributesOutput, error)
	DescribeTargetGroupAttributesWithContext(ctx context.Context, input *elasticloadbalancingv2.DescribeTargetGroupAttributesInput) (*elasticloadbalancingv2.DescribeTargetGroupAttributesOutput, error)
	CreateTargetGroupWithContext(ctx context.Context, input *elasticloadbalancingv2.CreateTargetGroupInput) (*elasticloadbalancingv2.CreateTargetGroupOutput, error)
	ModifyTargetGroupWithContext(ctx context.Context, input *elasticloadbalancingv2.ModifyTargetGroupInput) (*elasticloadbalancingv2.ModifyTargetGroupOutput, error)
	DeleteTargetGroupWithContext(ctx context.Context, input *elasticloadbalancingv2.DeleteTargetGroupInput) (*elasticloadbalancingv2.DeleteTargetGroupOutput, error)
	DescribeTargetGroupsWithContext(ctx context.Context, input *elasticloadbalancingv2.DescribeTargetGroupsInput) (*elasticloadbalancingv2.DescribeTargetGroupsOutput, error)
	DescribeTargetHealthWithContext(ctx context.Context, input *elasticloadbalancingv2.DescribeTargetHealthInput) (*elasticloadbalancingv2.DescribeTargetHealthOutput, error)
	DescribeLoadBalancersWithContext(ctx context.Context, input *elasticloadbalancingv2.DescribeLoadBalancersInput) (*elasticloadbalancingv2.DescribeLoadBalancersOutput, error)
	WaitUntilLoadBalancerAvailableWithContext(ctx context.Context, input *elasticloadbalancingv2.DescribeLoadBalancersInput) error
	DescribeListenersWithContext(ctx context.Context, input *elasticloadbalancingv2.DescribeListenersInput) (*elasticloadbalancingv2.DescribeListenersOutput, error)
	DescribeRulesWithContext(ctx context.Context, input *elasticloadbalancingv2.DescribeRulesInput) (*elasticloadbalancingv2.DescribeRulesOutput, error)
	CreateRuleWithContext(ctx context.Context, input *elasticloadbalancingv2.CreateRuleInput) (*elasticloadbalancingv2.CreateRuleOutput, error)
	DeleteRuleWithContext(ctx context.Context, input *elasticloadbalancingv2.DeleteRuleInput) (*elasticloadbalancingv2.DeleteRuleOutput, error)
	ModifyRuleWithContext(ctx context.Context, input *elasticloadbalancingv2.ModifyRuleInput) (*elasticloadbalancingv2.ModifyRuleOutput, error)
	SetRulePrioritiesWithContext(ctx context.Context, input *elasticloadbalancingv2.SetRulePrioritiesInput) (*elasticloadbalancingv2.SetRulePrioritiesOutput, error)
	RegisterTargetsWithContext(ctx context.Context, input *elasticloadbalancingv2.RegisterTargetsInput) (*elasticloadbalancingv2.RegisterTargetsOutput, error)
	DeregisterTargetsWithContext(ctx context.Context, input *elasticloadbalancingv2.DeregisterTargetsInput) (*elasticloadbalancingv2.DeregisterTargetsOutput, error)
	DescribeTrustStoresWithContext(ctx context.Context, input *elasticloadbalancingv2.DescribeTrustStoresInput) (*elasticloadbalancingv2.DescribeTrustStoresOutput, error)
	RemoveListenerCertificatesWithContext(ctx context.Context, input *elasticloadbalancingv2.RemoveListenerCertificatesInput) (*elasticloadbalancingv2.RemoveListenerCertificatesOutput, error)
	AddListenerCertificatesWithContext(ctx context.Context, input *elasticloadbalancingv2.AddListenerCertificatesInput) (*elasticloadbalancingv2.AddListenerCertificatesOutput, error)
	DescribeListenerAttributesWithContext(ctx context.Context, input *elasticloadbalancingv2.DescribeListenerAttributesInput) (*elasticloadbalancingv2.DescribeListenerAttributesOutput, error)
	ModifyListenerAttributesWithContext(ctx context.Context, input *elasticloadbalancingv2.ModifyListenerAttributesInput) (*elasticloadbalancingv2.ModifyListenerAttributesOutput, error)
	ModifyCapacityReservationWithContext(ctx context.Context, input *elasticloadbalancingv2.ModifyCapacityReservationInput) (*elasticloadbalancingv2.ModifyCapacityReservationOutput, error)
	DescribeCapacityReservationWithContext(ctx context.Context, input *elasticloadbalancingv2.DescribeCapacityReservationInput) (*elasticloadbalancingv2.DescribeCapacityReservationOutput, error)
	ModifyIPPoolsWithContext(ctx context.Context, input *elasticloadbalancingv2.ModifyIpPoolsInput) (*elasticloadbalancingv2.ModifyIpPoolsOutput, error)
	AssumeRole(ctx context.Context, assumeRoleArn string, externalId string) (ELBV2, error)
}

func NewELBV2

func NewELBV2(awsClientsProvider provider.AWSClientsProvider, cloud Cloud) ELBV2

func NewELBV2FromStaticClient

func NewELBV2FromStaticClient(staticELBClient *elasticloadbalancingv2.Client, cloud Cloud) ELBV2

type MockACM

type MockACM struct {
	// contains filtered or unexported fields
}

MockACM is a mock of ACM interface.

func NewMockACM

func NewMockACM(ctrl *gomock.Controller) *MockACM

NewMockACM creates a new mock instance.

func (*MockACM) DescribeCertificateWithContext

func (m *MockACM) DescribeCertificateWithContext(arg0 context.Context, arg1 *acm.DescribeCertificateInput) (*acm.DescribeCertificateOutput, error)

DescribeCertificateWithContext mocks base method.

func (*MockACM) EXPECT

func (m *MockACM) EXPECT() *MockACMMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockACM) ListCertificatesAsList

func (m *MockACM) ListCertificatesAsList(arg0 context.Context, arg1 *acm.ListCertificatesInput) ([]types.CertificateSummary, error)

ListCertificatesAsList mocks base method.

type MockACMMockRecorder

type MockACMMockRecorder struct {
	// contains filtered or unexported fields
}

MockACMMockRecorder is the mock recorder for MockACM.

func (*MockACMMockRecorder) DescribeCertificateWithContext

func (mr *MockACMMockRecorder) DescribeCertificateWithContext(arg0, arg1 interface{}) *gomock.Call

DescribeCertificateWithContext indicates an expected call of DescribeCertificateWithContext.

func (*MockACMMockRecorder) ListCertificatesAsList

func (mr *MockACMMockRecorder) ListCertificatesAsList(arg0, arg1 interface{}) *gomock.Call

ListCertificatesAsList indicates an expected call of ListCertificatesAsList.

type MockEC2

type MockEC2 struct {
	// contains filtered or unexported fields
}

MockEC2 is a mock of EC2 interface.

func NewMockEC2

func NewMockEC2(ctrl *gomock.Controller) *MockEC2

NewMockEC2 creates a new mock instance.

func (*MockEC2) AuthorizeSecurityGroupIngressWithContext

func (m *MockEC2) AuthorizeSecurityGroupIngressWithContext(arg0 context.Context, arg1 *ec2.AuthorizeSecurityGroupIngressInput) (*ec2.AuthorizeSecurityGroupIngressOutput, error)

AuthorizeSecurityGroupIngressWithContext mocks base method.

func (*MockEC2) CreateSecurityGroupWithContext

func (m *MockEC2) CreateSecurityGroupWithContext(arg0 context.Context, arg1 *ec2.CreateSecurityGroupInput) (*ec2.CreateSecurityGroupOutput, error)

CreateSecurityGroupWithContext mocks base method.

func (*MockEC2) CreateTagsWithContext

func (m *MockEC2) CreateTagsWithContext(arg0 context.Context, arg1 *ec2.CreateTagsInput) (*ec2.CreateTagsOutput, error)

CreateTagsWithContext mocks base method.

func (*MockEC2) DeleteSecurityGroupWithContext

func (m *MockEC2) DeleteSecurityGroupWithContext(arg0 context.Context, arg1 *ec2.DeleteSecurityGroupInput) (*ec2.DeleteSecurityGroupOutput, error)

DeleteSecurityGroupWithContext mocks base method.

func (*MockEC2) DeleteTagsWithContext

func (m *MockEC2) DeleteTagsWithContext(arg0 context.Context, arg1 *ec2.DeleteTagsInput) (*ec2.DeleteTagsOutput, error)

DeleteTagsWithContext mocks base method.

func (*MockEC2) DescribeAvailabilityZonesWithContext

func (m *MockEC2) DescribeAvailabilityZonesWithContext(arg0 context.Context, arg1 *ec2.DescribeAvailabilityZonesInput) (*ec2.DescribeAvailabilityZonesOutput, error)

DescribeAvailabilityZonesWithContext mocks base method.

func (*MockEC2) DescribeInstancesAsList

func (m *MockEC2) DescribeInstancesAsList(arg0 context.Context, arg1 *ec2.DescribeInstancesInput) ([]types.Instance, error)

DescribeInstancesAsList mocks base method.

func (*MockEC2) DescribeInstancesWithContext

func (m *MockEC2) DescribeInstancesWithContext(arg0 context.Context, arg1 *ec2.DescribeInstancesInput) (*ec2.DescribeInstancesOutput, error)

DescribeInstancesWithContext mocks base method.

func (*MockEC2) DescribeNetworkInterfacesAsList

func (m *MockEC2) DescribeNetworkInterfacesAsList(arg0 context.Context, arg1 *ec2.DescribeNetworkInterfacesInput) ([]types.NetworkInterface, error)

DescribeNetworkInterfacesAsList mocks base method.

func (*MockEC2) DescribeRouteTablesAsList

func (m *MockEC2) DescribeRouteTablesAsList(arg0 context.Context, arg1 *ec2.DescribeRouteTablesInput) ([]types.RouteTable, error)

DescribeRouteTablesAsList mocks base method.

func (*MockEC2) DescribeSecurityGroupsAsList

func (m *MockEC2) DescribeSecurityGroupsAsList(arg0 context.Context, arg1 *ec2.DescribeSecurityGroupsInput) ([]types.SecurityGroup, error)

DescribeSecurityGroupsAsList mocks base method.

func (*MockEC2) DescribeSubnetsAsList

func (m *MockEC2) DescribeSubnetsAsList(arg0 context.Context, arg1 *ec2.DescribeSubnetsInput) ([]types.Subnet, error)

DescribeSubnetsAsList mocks base method.

func (*MockEC2) DescribeVPCsAsList

func (m *MockEC2) DescribeVPCsAsList(arg0 context.Context, arg1 *ec2.DescribeVpcsInput) ([]types.Vpc, error)

DescribeVPCsAsList mocks base method.

func (*MockEC2) DescribeVpcsWithContext

func (m *MockEC2) DescribeVpcsWithContext(arg0 context.Context, arg1 *ec2.DescribeVpcsInput) (*ec2.DescribeVpcsOutput, error)

DescribeVpcsWithContext mocks base method.

func (*MockEC2) EXPECT

func (m *MockEC2) EXPECT() *MockEC2MockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockEC2) RevokeSecurityGroupIngressWithContext

func (m *MockEC2) RevokeSecurityGroupIngressWithContext(arg0 context.Context, arg1 *ec2.RevokeSecurityGroupIngressInput) (*ec2.RevokeSecurityGroupIngressOutput, error)

RevokeSecurityGroupIngressWithContext mocks base method.

type MockEC2Metadata

type MockEC2Metadata struct {
	// contains filtered or unexported fields
}

MockEC2Metadata is a mock of EC2Metadata interface.

func NewMockEC2Metadata

func NewMockEC2Metadata(ctrl *gomock.Controller) *MockEC2Metadata

NewMockEC2Metadata creates a new mock instance.

func (*MockEC2Metadata) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockEC2Metadata) Region

func (m *MockEC2Metadata) Region() (string, error)

Region mocks base method.

func (*MockEC2Metadata) VpcID

func (m *MockEC2Metadata) VpcID() (string, error)

VpcID mocks base method.

type MockEC2MetadataMockRecorder

type MockEC2MetadataMockRecorder struct {
	// contains filtered or unexported fields
}

MockEC2MetadataMockRecorder is the mock recorder for MockEC2Metadata.

func (*MockEC2MetadataMockRecorder) Region

func (mr *MockEC2MetadataMockRecorder) Region() *gomock.Call

Region indicates an expected call of Region.

func (*MockEC2MetadataMockRecorder) VpcID

VpcID indicates an expected call of VpcID.

type MockEC2MockRecorder

type MockEC2MockRecorder struct {
	// contains filtered or unexported fields
}

MockEC2MockRecorder is the mock recorder for MockEC2.

func (*MockEC2MockRecorder) AuthorizeSecurityGroupIngressWithContext

func (mr *MockEC2MockRecorder) AuthorizeSecurityGroupIngressWithContext(arg0, arg1 interface{}) *gomock.Call

AuthorizeSecurityGroupIngressWithContext indicates an expected call of AuthorizeSecurityGroupIngressWithContext.

func (*MockEC2MockRecorder) CreateSecurityGroupWithContext

func (mr *MockEC2MockRecorder) CreateSecurityGroupWithContext(arg0, arg1 interface{}) *gomock.Call

CreateSecurityGroupWithContext indicates an expected call of CreateSecurityGroupWithContext.

func (*MockEC2MockRecorder) CreateTagsWithContext

func (mr *MockEC2MockRecorder) CreateTagsWithContext(arg0, arg1 interface{}) *gomock.Call

CreateTagsWithContext indicates an expected call of CreateTagsWithContext.

func (*MockEC2MockRecorder) DeleteSecurityGroupWithContext

func (mr *MockEC2MockRecorder) DeleteSecurityGroupWithContext(arg0, arg1 interface{}) *gomock.Call

DeleteSecurityGroupWithContext indicates an expected call of DeleteSecurityGroupWithContext.

func (*MockEC2MockRecorder) DeleteTagsWithContext

func (mr *MockEC2MockRecorder) DeleteTagsWithContext(arg0, arg1 interface{}) *gomock.Call

DeleteTagsWithContext indicates an expected call of DeleteTagsWithContext.

func (*MockEC2MockRecorder) DescribeAvailabilityZonesWithContext

func (mr *MockEC2MockRecorder) DescribeAvailabilityZonesWithContext(arg0, arg1 interface{}) *gomock.Call

DescribeAvailabilityZonesWithContext indicates an expected call of DescribeAvailabilityZonesWithContext.

func (*MockEC2MockRecorder) DescribeInstancesAsList

func (mr *MockEC2MockRecorder) DescribeInstancesAsList(arg0, arg1 interface{}) *gomock.Call

DescribeInstancesAsList indicates an expected call of DescribeInstancesAsList.

func (*MockEC2MockRecorder) DescribeInstancesWithContext

func (mr *MockEC2MockRecorder) DescribeInstancesWithContext(arg0, arg1 interface{}) *gomock.Call

DescribeInstancesWithContext indicates an expected call of DescribeInstancesWithContext.

func (*MockEC2MockRecorder) DescribeNetworkInterfacesAsList

func (mr *MockEC2MockRecorder) DescribeNetworkInterfacesAsList(arg0, arg1 interface{}) *gomock.Call

DescribeNetworkInterfacesAsList indicates an expected call of DescribeNetworkInterfacesAsList.

func (*MockEC2MockRecorder) DescribeRouteTablesAsList

func (mr *MockEC2MockRecorder) DescribeRouteTablesAsList(arg0, arg1 interface{}) *gomock.Call

DescribeRouteTablesAsList indicates an expected call of DescribeRouteTablesAsList.

func (*MockEC2MockRecorder) DescribeSecurityGroupsAsList

func (mr *MockEC2MockRecorder) DescribeSecurityGroupsAsList(arg0, arg1 interface{}) *gomock.Call

DescribeSecurityGroupsAsList indicates an expected call of DescribeSecurityGroupsAsList.

func (*MockEC2MockRecorder) DescribeSubnetsAsList

func (mr *MockEC2MockRecorder) DescribeSubnetsAsList(arg0, arg1 interface{}) *gomock.Call

DescribeSubnetsAsList indicates an expected call of DescribeSubnetsAsList.

func (*MockEC2MockRecorder) DescribeVPCsAsList

func (mr *MockEC2MockRecorder) DescribeVPCsAsList(arg0, arg1 interface{}) *gomock.Call

DescribeVPCsAsList indicates an expected call of DescribeVPCsAsList.

func (*MockEC2MockRecorder) DescribeVpcsWithContext

func (mr *MockEC2MockRecorder) DescribeVpcsWithContext(arg0, arg1 interface{}) *gomock.Call

DescribeVpcsWithContext indicates an expected call of DescribeVpcsWithContext.

func (*MockEC2MockRecorder) RevokeSecurityGroupIngressWithContext

func (mr *MockEC2MockRecorder) RevokeSecurityGroupIngressWithContext(arg0, arg1 interface{}) *gomock.Call

RevokeSecurityGroupIngressWithContext indicates an expected call of RevokeSecurityGroupIngressWithContext.

type MockELBV2

type MockELBV2 struct {
	// contains filtered or unexported fields
}

MockELBV2 is a mock of ELBV2 interface.

func NewMockELBV2

func NewMockELBV2(ctrl *gomock.Controller) *MockELBV2

NewMockELBV2 creates a new mock instance.

func (*MockELBV2) AddListenerCertificatesWithContext

AddListenerCertificatesWithContext mocks base method.

func (*MockELBV2) AddTagsWithContext

AddTagsWithContext mocks base method.

func (*MockELBV2) AssumeRole

func (m *MockELBV2) AssumeRole(arg0 context.Context, arg1, arg2 string) (ELBV2, error)

AssumeRole mocks base method.

func (*MockELBV2) CreateListenerWithContext

CreateListenerWithContext mocks base method.

func (*MockELBV2) CreateLoadBalancerWithContext

CreateLoadBalancerWithContext mocks base method.

func (*MockELBV2) CreateRuleWithContext

CreateRuleWithContext mocks base method.

func (*MockELBV2) CreateTargetGroupWithContext

CreateTargetGroupWithContext mocks base method.

func (*MockELBV2) DeleteListenerWithContext

DeleteListenerWithContext mocks base method.

func (*MockELBV2) DeleteLoadBalancerWithContext

DeleteLoadBalancerWithContext mocks base method.

func (*MockELBV2) DeleteRuleWithContext

DeleteRuleWithContext mocks base method.

func (*MockELBV2) DeleteTargetGroupWithContext

DeleteTargetGroupWithContext mocks base method.

func (*MockELBV2) DeregisterTargetsWithContext

DeregisterTargetsWithContext mocks base method.

func (*MockELBV2) DescribeCapacityReservationWithContext

DescribeCapacityReservationWithContext mocks base method.

func (*MockELBV2) DescribeListenerAttributesWithContext

DescribeListenerAttributesWithContext mocks base method.

func (*MockELBV2) DescribeListenerCertificatesAsList

func (m *MockELBV2) DescribeListenerCertificatesAsList(arg0 context.Context, arg1 *elasticloadbalancingv2.DescribeListenerCertificatesInput) ([]types.Certificate, error)

DescribeListenerCertificatesAsList mocks base method.

func (*MockELBV2) DescribeListenersAsList

func (m *MockELBV2) DescribeListenersAsList(arg0 context.Context, arg1 *elasticloadbalancingv2.DescribeListenersInput) ([]types.Listener, error)

DescribeListenersAsList mocks base method.

func (*MockELBV2) DescribeListenersWithContext

DescribeListenersWithContext mocks base method.

func (*MockELBV2) DescribeLoadBalancerAttributesWithContext

DescribeLoadBalancerAttributesWithContext mocks base method.

func (*MockELBV2) DescribeLoadBalancersAsList

func (m *MockELBV2) DescribeLoadBalancersAsList(arg0 context.Context, arg1 *elasticloadbalancingv2.DescribeLoadBalancersInput) ([]types.LoadBalancer, error)

DescribeLoadBalancersAsList mocks base method.

func (*MockELBV2) DescribeLoadBalancersWithContext

DescribeLoadBalancersWithContext mocks base method.

func (*MockELBV2) DescribeRulesAsList

func (m *MockELBV2) DescribeRulesAsList(arg0 context.Context, arg1 *elasticloadbalancingv2.DescribeRulesInput) ([]types.Rule, error)

DescribeRulesAsList mocks base method.

func (*MockELBV2) DescribeRulesWithContext

DescribeRulesWithContext mocks base method.

func (*MockELBV2) DescribeTagsWithContext

DescribeTagsWithContext mocks base method.

func (*MockELBV2) DescribeTargetGroupAttributesWithContext

DescribeTargetGroupAttributesWithContext mocks base method.

func (*MockELBV2) DescribeTargetGroupsAsList

func (m *MockELBV2) DescribeTargetGroupsAsList(arg0 context.Context, arg1 *elasticloadbalancingv2.DescribeTargetGroupsInput) ([]types.TargetGroup, error)

DescribeTargetGroupsAsList mocks base method.

func (*MockELBV2) DescribeTargetGroupsWithContext

DescribeTargetGroupsWithContext mocks base method.

func (*MockELBV2) DescribeTargetHealthWithContext

DescribeTargetHealthWithContext mocks base method.

func (*MockELBV2) DescribeTrustStoresWithContext

DescribeTrustStoresWithContext mocks base method.

func (*MockELBV2) EXPECT

func (m *MockELBV2) EXPECT() *MockELBV2MockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockELBV2) ModifyCapacityReservationWithContext

ModifyCapacityReservationWithContext mocks base method.

func (*MockELBV2) ModifyIPPoolsWithContext

ModifyIPPoolsWithContext mocks base method.

func (*MockELBV2) ModifyListenerAttributesWithContext

ModifyListenerAttributesWithContext mocks base method.

func (*MockELBV2) ModifyListenerWithContext

ModifyListenerWithContext mocks base method.

func (*MockELBV2) ModifyLoadBalancerAttributesWithContext

ModifyLoadBalancerAttributesWithContext mocks base method.

func (*MockELBV2) ModifyRuleWithContext

ModifyRuleWithContext mocks base method.

func (*MockELBV2) ModifyTargetGroupAttributesWithContext

ModifyTargetGroupAttributesWithContext mocks base method.

func (*MockELBV2) ModifyTargetGroupWithContext

ModifyTargetGroupWithContext mocks base method.

func (*MockELBV2) RegisterTargetsWithContext

RegisterTargetsWithContext mocks base method.

func (*MockELBV2) RemoveListenerCertificatesWithContext

RemoveListenerCertificatesWithContext mocks base method.

func (*MockELBV2) RemoveTagsWithContext

RemoveTagsWithContext mocks base method.

func (*MockELBV2) SetIpAddressTypeWithContext

SetIpAddressTypeWithContext mocks base method.

func (*MockELBV2) SetRulePrioritiesWithContext

SetRulePrioritiesWithContext mocks base method.

func (*MockELBV2) SetSecurityGroupsWithContext

SetSecurityGroupsWithContext mocks base method.

func (*MockELBV2) SetSubnetsWithContext

SetSubnetsWithContext mocks base method.

func (*MockELBV2) WaitUntilLoadBalancerAvailableWithContext

func (m *MockELBV2) WaitUntilLoadBalancerAvailableWithContext(arg0 context.Context, arg1 *elasticloadbalancingv2.DescribeLoadBalancersInput) error

WaitUntilLoadBalancerAvailableWithContext mocks base method.

type MockELBV2MockRecorder

type MockELBV2MockRecorder struct {
	// contains filtered or unexported fields
}

MockELBV2MockRecorder is the mock recorder for MockELBV2.

func (*MockELBV2MockRecorder) AddListenerCertificatesWithContext

func (mr *MockELBV2MockRecorder) AddListenerCertificatesWithContext(arg0, arg1 interface{}) *gomock.Call

AddListenerCertificatesWithContext indicates an expected call of AddListenerCertificatesWithContext.

func (*MockELBV2MockRecorder) AddTagsWithContext

func (mr *MockELBV2MockRecorder) AddTagsWithContext(arg0, arg1 interface{}) *gomock.Call

AddTagsWithContext indicates an expected call of AddTagsWithContext.

func (*MockELBV2MockRecorder) AssumeRole

func (mr *MockELBV2MockRecorder) AssumeRole(arg0, arg1, arg2 interface{}) *gomock.Call

AssumeRole indicates an expected call of AssumeRole.

func (*MockELBV2MockRecorder) CreateListenerWithContext

func (mr *MockELBV2MockRecorder) CreateListenerWithContext(arg0, arg1 interface{}) *gomock.Call

CreateListenerWithContext indicates an expected call of CreateListenerWithContext.

func (*MockELBV2MockRecorder) CreateLoadBalancerWithContext

func (mr *MockELBV2MockRecorder) CreateLoadBalancerWithContext(arg0, arg1 interface{}) *gomock.Call

CreateLoadBalancerWithContext indicates an expected call of CreateLoadBalancerWithContext.

func (*MockELBV2MockRecorder) CreateRuleWithContext

func (mr *MockELBV2MockRecorder) CreateRuleWithContext(arg0, arg1 interface{}) *gomock.Call

CreateRuleWithContext indicates an expected call of CreateRuleWithContext.

func (*MockELBV2MockRecorder) CreateTargetGroupWithContext

func (mr *MockELBV2MockRecorder) CreateTargetGroupWithContext(arg0, arg1 interface{}) *gomock.Call

CreateTargetGroupWithContext indicates an expected call of CreateTargetGroupWithContext.

func (*MockELBV2MockRecorder) DeleteListenerWithContext

func (mr *MockELBV2MockRecorder) DeleteListenerWithContext(arg0, arg1 interface{}) *gomock.Call

DeleteListenerWithContext indicates an expected call of DeleteListenerWithContext.

func (*MockELBV2MockRecorder) DeleteLoadBalancerWithContext

func (mr *MockELBV2MockRecorder) DeleteLoadBalancerWithContext(arg0, arg1 interface{}) *gomock.Call

DeleteLoadBalancerWithContext indicates an expected call of DeleteLoadBalancerWithContext.

func (*MockELBV2MockRecorder) DeleteRuleWithContext

func (mr *MockELBV2MockRecorder) DeleteRuleWithContext(arg0, arg1 interface{}) *gomock.Call

DeleteRuleWithContext indicates an expected call of DeleteRuleWithContext.

func (*MockELBV2MockRecorder) DeleteTargetGroupWithContext

func (mr *MockELBV2MockRecorder) DeleteTargetGroupWithContext(arg0, arg1 interface{}) *gomock.Call

DeleteTargetGroupWithContext indicates an expected call of DeleteTargetGroupWithContext.

func (*MockELBV2MockRecorder) DeregisterTargetsWithContext

func (mr *MockELBV2MockRecorder) DeregisterTargetsWithContext(arg0, arg1 interface{}) *gomock.Call

DeregisterTargetsWithContext indicates an expected call of DeregisterTargetsWithContext.

func (*MockELBV2MockRecorder) DescribeCapacityReservationWithContext

func (mr *MockELBV2MockRecorder) DescribeCapacityReservationWithContext(arg0, arg1 interface{}) *gomock.Call

DescribeCapacityReservationWithContext indicates an expected call of DescribeCapacityReservationWithContext.

func (*MockELBV2MockRecorder) DescribeListenerAttributesWithContext

func (mr *MockELBV2MockRecorder) DescribeListenerAttributesWithContext(arg0, arg1 interface{}) *gomock.Call

DescribeListenerAttributesWithContext indicates an expected call of DescribeListenerAttributesWithContext.

func (*MockELBV2MockRecorder) DescribeListenerCertificatesAsList

func (mr *MockELBV2MockRecorder) DescribeListenerCertificatesAsList(arg0, arg1 interface{}) *gomock.Call

DescribeListenerCertificatesAsList indicates an expected call of DescribeListenerCertificatesAsList.

func (*MockELBV2MockRecorder) DescribeListenersAsList

func (mr *MockELBV2MockRecorder) DescribeListenersAsList(arg0, arg1 interface{}) *gomock.Call

DescribeListenersAsList indicates an expected call of DescribeListenersAsList.

func (*MockELBV2MockRecorder) DescribeListenersWithContext

func (mr *MockELBV2MockRecorder) DescribeListenersWithContext(arg0, arg1 interface{}) *gomock.Call

DescribeListenersWithContext indicates an expected call of DescribeListenersWithContext.

func (*MockELBV2MockRecorder) DescribeLoadBalancerAttributesWithContext

func (mr *MockELBV2MockRecorder) DescribeLoadBalancerAttributesWithContext(arg0, arg1 interface{}) *gomock.Call

DescribeLoadBalancerAttributesWithContext indicates an expected call of DescribeLoadBalancerAttributesWithContext.

func (*MockELBV2MockRecorder) DescribeLoadBalancersAsList

func (mr *MockELBV2MockRecorder) DescribeLoadBalancersAsList(arg0, arg1 interface{}) *gomock.Call

DescribeLoadBalancersAsList indicates an expected call of DescribeLoadBalancersAsList.

func (*MockELBV2MockRecorder) DescribeLoadBalancersWithContext

func (mr *MockELBV2MockRecorder) DescribeLoadBalancersWithContext(arg0, arg1 interface{}) *gomock.Call

DescribeLoadBalancersWithContext indicates an expected call of DescribeLoadBalancersWithContext.

func (*MockELBV2MockRecorder) DescribeRulesAsList

func (mr *MockELBV2MockRecorder) DescribeRulesAsList(arg0, arg1 interface{}) *gomock.Call

DescribeRulesAsList indicates an expected call of DescribeRulesAsList.

func (*MockELBV2MockRecorder) DescribeRulesWithContext

func (mr *MockELBV2MockRecorder) DescribeRulesWithContext(arg0, arg1 interface{}) *gomock.Call

DescribeRulesWithContext indicates an expected call of DescribeRulesWithContext.

func (*MockELBV2MockRecorder) DescribeTagsWithContext

func (mr *MockELBV2MockRecorder) DescribeTagsWithContext(arg0, arg1 interface{}) *gomock.Call

DescribeTagsWithContext indicates an expected call of DescribeTagsWithContext.

func (*MockELBV2MockRecorder) DescribeTargetGroupAttributesWithContext

func (mr *MockELBV2MockRecorder) DescribeTargetGroupAttributesWithContext(arg0, arg1 interface{}) *gomock.Call

DescribeTargetGroupAttributesWithContext indicates an expected call of DescribeTargetGroupAttributesWithContext.

func (*MockELBV2MockRecorder) DescribeTargetGroupsAsList

func (mr *MockELBV2MockRecorder) DescribeTargetGroupsAsList(arg0, arg1 interface{}) *gomock.Call

DescribeTargetGroupsAsList indicates an expected call of DescribeTargetGroupsAsList.

func (*MockELBV2MockRecorder) DescribeTargetGroupsWithContext

func (mr *MockELBV2MockRecorder) DescribeTargetGroupsWithContext(arg0, arg1 interface{}) *gomock.Call

DescribeTargetGroupsWithContext indicates an expected call of DescribeTargetGroupsWithContext.

func (*MockELBV2MockRecorder) DescribeTargetHealthWithContext

func (mr *MockELBV2MockRecorder) DescribeTargetHealthWithContext(arg0, arg1 interface{}) *gomock.Call

DescribeTargetHealthWithContext indicates an expected call of DescribeTargetHealthWithContext.

func (*MockELBV2MockRecorder) DescribeTrustStoresWithContext

func (mr *MockELBV2MockRecorder) DescribeTrustStoresWithContext(arg0, arg1 interface{}) *gomock.Call

DescribeTrustStoresWithContext indicates an expected call of DescribeTrustStoresWithContext.

func (*MockELBV2MockRecorder) ModifyCapacityReservationWithContext

func (mr *MockELBV2MockRecorder) ModifyCapacityReservationWithContext(arg0, arg1 interface{}) *gomock.Call

ModifyCapacityReservationWithContext indicates an expected call of ModifyCapacityReservationWithContext.

func (*MockELBV2MockRecorder) ModifyIPPoolsWithContext

func (mr *MockELBV2MockRecorder) ModifyIPPoolsWithContext(arg0, arg1 interface{}) *gomock.Call

ModifyIPPoolsWithContext indicates an expected call of ModifyIPPoolsWithContext.

func (*MockELBV2MockRecorder) ModifyListenerAttributesWithContext

func (mr *MockELBV2MockRecorder) ModifyListenerAttributesWithContext(arg0, arg1 interface{}) *gomock.Call

ModifyListenerAttributesWithContext indicates an expected call of ModifyListenerAttributesWithContext.

func (*MockELBV2MockRecorder) ModifyListenerWithContext

func (mr *MockELBV2MockRecorder) ModifyListenerWithContext(arg0, arg1 interface{}) *gomock.Call

ModifyListenerWithContext indicates an expected call of ModifyListenerWithContext.

func (*MockELBV2MockRecorder) ModifyLoadBalancerAttributesWithContext

func (mr *MockELBV2MockRecorder) ModifyLoadBalancerAttributesWithContext(arg0, arg1 interface{}) *gomock.Call

ModifyLoadBalancerAttributesWithContext indicates an expected call of ModifyLoadBalancerAttributesWithContext.

func (*MockELBV2MockRecorder) ModifyRuleWithContext

func (mr *MockELBV2MockRecorder) ModifyRuleWithContext(arg0, arg1 interface{}) *gomock.Call

ModifyRuleWithContext indicates an expected call of ModifyRuleWithContext.

func (*MockELBV2MockRecorder) ModifyTargetGroupAttributesWithContext

func (mr *MockELBV2MockRecorder) ModifyTargetGroupAttributesWithContext(arg0, arg1 interface{}) *gomock.Call

ModifyTargetGroupAttributesWithContext indicates an expected call of ModifyTargetGroupAttributesWithContext.

func (*MockELBV2MockRecorder) ModifyTargetGroupWithContext

func (mr *MockELBV2MockRecorder) ModifyTargetGroupWithContext(arg0, arg1 interface{}) *gomock.Call

ModifyTargetGroupWithContext indicates an expected call of ModifyTargetGroupWithContext.

func (*MockELBV2MockRecorder) RegisterTargetsWithContext

func (mr *MockELBV2MockRecorder) RegisterTargetsWithContext(arg0, arg1 interface{}) *gomock.Call

RegisterTargetsWithContext indicates an expected call of RegisterTargetsWithContext.

func (*MockELBV2MockRecorder) RemoveListenerCertificatesWithContext

func (mr *MockELBV2MockRecorder) RemoveListenerCertificatesWithContext(arg0, arg1 interface{}) *gomock.Call

RemoveListenerCertificatesWithContext indicates an expected call of RemoveListenerCertificatesWithContext.

func (*MockELBV2MockRecorder) RemoveTagsWithContext

func (mr *MockELBV2MockRecorder) RemoveTagsWithContext(arg0, arg1 interface{}) *gomock.Call

RemoveTagsWithContext indicates an expected call of RemoveTagsWithContext.

func (*MockELBV2MockRecorder) SetIpAddressTypeWithContext

func (mr *MockELBV2MockRecorder) SetIpAddressTypeWithContext(arg0, arg1 interface{}) *gomock.Call

SetIpAddressTypeWithContext indicates an expected call of SetIpAddressTypeWithContext.

func (*MockELBV2MockRecorder) SetRulePrioritiesWithContext

func (mr *MockELBV2MockRecorder) SetRulePrioritiesWithContext(arg0, arg1 interface{}) *gomock.Call

SetRulePrioritiesWithContext indicates an expected call of SetRulePrioritiesWithContext.

func (*MockELBV2MockRecorder) SetSecurityGroupsWithContext

func (mr *MockELBV2MockRecorder) SetSecurityGroupsWithContext(arg0, arg1 interface{}) *gomock.Call

SetSecurityGroupsWithContext indicates an expected call of SetSecurityGroupsWithContext.

func (*MockELBV2MockRecorder) SetSubnetsWithContext

func (mr *MockELBV2MockRecorder) SetSubnetsWithContext(arg0, arg1 interface{}) *gomock.Call

SetSubnetsWithContext indicates an expected call of SetSubnetsWithContext.

func (*MockELBV2MockRecorder) WaitUntilLoadBalancerAvailableWithContext

func (mr *MockELBV2MockRecorder) WaitUntilLoadBalancerAvailableWithContext(arg0, arg1 interface{}) *gomock.Call

WaitUntilLoadBalancerAvailableWithContext indicates an expected call of WaitUntilLoadBalancerAvailableWithContext.

type MockRGT

type MockRGT struct {
	// contains filtered or unexported fields
}

MockRGT is a mock of RGT interface.

func NewMockRGT

func NewMockRGT(ctrl *gomock.Controller) *MockRGT

NewMockRGT creates a new mock instance.

func (*MockRGT) EXPECT

func (m *MockRGT) EXPECT() *MockRGTMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRGT) GetResourcesAsList

GetResourcesAsList mocks base method.

type MockRGTMockRecorder

type MockRGTMockRecorder struct {
	// contains filtered or unexported fields
}

MockRGTMockRecorder is the mock recorder for MockRGT.

func (*MockRGTMockRecorder) GetResourcesAsList

func (mr *MockRGTMockRecorder) GetResourcesAsList(arg0, arg1 interface{}) *gomock.Call

GetResourcesAsList indicates an expected call of GetResourcesAsList.

type MockShield

type MockShield struct {
	// contains filtered or unexported fields
}

MockShield is a mock of Shield interface.

func NewMockShield

func NewMockShield(ctrl *gomock.Controller) *MockShield

NewMockShield creates a new mock instance.

func (*MockShield) CreateProtectionWithContext

func (m *MockShield) CreateProtectionWithContext(arg0 context.Context, arg1 *shield.CreateProtectionInput) (*shield.CreateProtectionOutput, error)

CreateProtectionWithContext mocks base method.

func (*MockShield) DeleteProtectionWithContext

func (m *MockShield) DeleteProtectionWithContext(arg0 context.Context, arg1 *shield.DeleteProtectionInput) (*shield.DeleteProtectionOutput, error)

DeleteProtectionWithContext mocks base method.

func (*MockShield) DescribeProtectionWithContext

func (m *MockShield) DescribeProtectionWithContext(arg0 context.Context, arg1 *shield.DescribeProtectionInput) (*shield.DescribeProtectionOutput, error)

DescribeProtectionWithContext mocks base method.

func (*MockShield) EXPECT

func (m *MockShield) EXPECT() *MockShieldMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockShield) GetSubscriptionStateWithContext

func (m *MockShield) GetSubscriptionStateWithContext(arg0 context.Context, arg1 *shield.GetSubscriptionStateInput) (*shield.GetSubscriptionStateOutput, error)

GetSubscriptionStateWithContext mocks base method.

type MockShieldMockRecorder

type MockShieldMockRecorder struct {
	// contains filtered or unexported fields
}

MockShieldMockRecorder is the mock recorder for MockShield.

func (*MockShieldMockRecorder) CreateProtectionWithContext

func (mr *MockShieldMockRecorder) CreateProtectionWithContext(arg0, arg1 interface{}) *gomock.Call

CreateProtectionWithContext indicates an expected call of CreateProtectionWithContext.

func (*MockShieldMockRecorder) DeleteProtectionWithContext

func (mr *MockShieldMockRecorder) DeleteProtectionWithContext(arg0, arg1 interface{}) *gomock.Call

DeleteProtectionWithContext indicates an expected call of DeleteProtectionWithContext.

func (*MockShieldMockRecorder) DescribeProtectionWithContext

func (mr *MockShieldMockRecorder) DescribeProtectionWithContext(arg0, arg1 interface{}) *gomock.Call

DescribeProtectionWithContext indicates an expected call of DescribeProtectionWithContext.

func (*MockShieldMockRecorder) GetSubscriptionStateWithContext

func (mr *MockShieldMockRecorder) GetSubscriptionStateWithContext(arg0, arg1 interface{}) *gomock.Call

GetSubscriptionStateWithContext indicates an expected call of GetSubscriptionStateWithContext.

type MockWAFRegional

type MockWAFRegional struct {
	// contains filtered or unexported fields
}

MockWAFRegional is a mock of WAFRegional interface.

func NewMockWAFRegional

func NewMockWAFRegional(ctrl *gomock.Controller) *MockWAFRegional

NewMockWAFRegional creates a new mock instance.

func (*MockWAFRegional) AssociateWebACLWithContext

AssociateWebACLWithContext mocks base method.

func (*MockWAFRegional) Available

func (m *MockWAFRegional) Available() bool

Available mocks base method.

func (*MockWAFRegional) DisassociateWebACLWithContext

DisassociateWebACLWithContext mocks base method.

func (*MockWAFRegional) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockWAFRegional) GetWebACLForResourceWithContext

GetWebACLForResourceWithContext mocks base method.

type MockWAFRegionalMockRecorder

type MockWAFRegionalMockRecorder struct {
	// contains filtered or unexported fields
}

MockWAFRegionalMockRecorder is the mock recorder for MockWAFRegional.

func (*MockWAFRegionalMockRecorder) AssociateWebACLWithContext

func (mr *MockWAFRegionalMockRecorder) AssociateWebACLWithContext(arg0, arg1 interface{}) *gomock.Call

AssociateWebACLWithContext indicates an expected call of AssociateWebACLWithContext.

func (*MockWAFRegionalMockRecorder) Available

func (mr *MockWAFRegionalMockRecorder) Available() *gomock.Call

Available indicates an expected call of Available.

func (*MockWAFRegionalMockRecorder) DisassociateWebACLWithContext

func (mr *MockWAFRegionalMockRecorder) DisassociateWebACLWithContext(arg0, arg1 interface{}) *gomock.Call

DisassociateWebACLWithContext indicates an expected call of DisassociateWebACLWithContext.

func (*MockWAFRegionalMockRecorder) GetWebACLForResourceWithContext

func (mr *MockWAFRegionalMockRecorder) GetWebACLForResourceWithContext(arg0, arg1 interface{}) *gomock.Call

GetWebACLForResourceWithContext indicates an expected call of GetWebACLForResourceWithContext.

type MockWAFv2

type MockWAFv2 struct {
	// contains filtered or unexported fields
}

MockWAFv2 is a mock of WAFv2 interface.

func NewMockWAFv2

func NewMockWAFv2(ctrl *gomock.Controller) *MockWAFv2

NewMockWAFv2 creates a new mock instance.

func (*MockWAFv2) AssociateWebACLWithContext

func (m *MockWAFv2) AssociateWebACLWithContext(arg0 context.Context, arg1 *wafv2.AssociateWebACLInput) (*wafv2.AssociateWebACLOutput, error)

AssociateWebACLWithContext mocks base method.

func (*MockWAFv2) DisassociateWebACLWithContext

func (m *MockWAFv2) DisassociateWebACLWithContext(arg0 context.Context, arg1 *wafv2.DisassociateWebACLInput) (*wafv2.DisassociateWebACLOutput, error)

DisassociateWebACLWithContext mocks base method.

func (*MockWAFv2) EXPECT

func (m *MockWAFv2) EXPECT() *MockWAFv2MockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockWAFv2) GetWebACLForResourceWithContext

func (m *MockWAFv2) GetWebACLForResourceWithContext(arg0 context.Context, arg1 *wafv2.GetWebACLForResourceInput) (*wafv2.GetWebACLForResourceOutput, error)

GetWebACLForResourceWithContext mocks base method.

type MockWAFv2MockRecorder

type MockWAFv2MockRecorder struct {
	// contains filtered or unexported fields
}

MockWAFv2MockRecorder is the mock recorder for MockWAFv2.

func (*MockWAFv2MockRecorder) AssociateWebACLWithContext

func (mr *MockWAFv2MockRecorder) AssociateWebACLWithContext(arg0, arg1 interface{}) *gomock.Call

AssociateWebACLWithContext indicates an expected call of AssociateWebACLWithContext.

func (*MockWAFv2MockRecorder) DisassociateWebACLWithContext

func (mr *MockWAFv2MockRecorder) DisassociateWebACLWithContext(arg0, arg1 interface{}) *gomock.Call

DisassociateWebACLWithContext indicates an expected call of DisassociateWebACLWithContext.

func (*MockWAFv2MockRecorder) GetWebACLForResourceWithContext

func (mr *MockWAFv2MockRecorder) GetWebACLForResourceWithContext(arg0, arg1 interface{}) *gomock.Call

GetWebACLForResourceWithContext indicates an expected call of GetWebACLForResourceWithContext.

type RGT

type RGT interface {
	GetResourcesAsList(ctx context.Context, input *resourcegroupstaggingapi.GetResourcesInput) ([]rgttypes.ResourceTagMapping, error)
}

func NewRGT

func NewRGT(awsClientsProvider provider.AWSClientsProvider) RGT

NewRGT constructs new RGT implementation.

type Shield

type Shield interface {
	CreateProtectionWithContext(ctx context.Context, input *shieldsdk.CreateProtectionInput) (*shieldsdk.CreateProtectionOutput, error)
	DeleteProtectionWithContext(ctx context.Context, input *shieldsdk.DeleteProtectionInput) (*shieldsdk.DeleteProtectionOutput, error)
	DescribeProtectionWithContext(ctx context.Context, input *shieldsdk.DescribeProtectionInput) (*shieldsdk.DescribeProtectionOutput, error)
	GetSubscriptionStateWithContext(ctx context.Context, input *shieldsdk.GetSubscriptionStateInput) (*shieldsdk.GetSubscriptionStateOutput, error)
}

func NewShield

func NewShield(awsClientsProvider provider.AWSClientsProvider) Shield

NewShield constructs new Shield implementation.

type WAFRegional

type WAFRegional interface {
	Available() bool

	AssociateWebACLWithContext(ctx context.Context, input *wafregional.AssociateWebACLInput) (*wafregional.AssociateWebACLOutput, error)
	DisassociateWebACLWithContext(ctx context.Context, input *wafregional.DisassociateWebACLInput) (*wafregional.DisassociateWebACLOutput, error)
	GetWebACLForResourceWithContext(ctx context.Context, input *wafregional.GetWebACLForResourceInput) (*wafregional.GetWebACLForResourceOutput, error)
}

func NewWAFRegional

func NewWAFRegional(awsClientsProvider provider.AWSClientsProvider, region string) WAFRegional

NewWAFRegional constructs new WAFRegional implementation.

type WAFv2

type WAFv2 interface {
	AssociateWebACLWithContext(context.Context, *wafv2.AssociateWebACLInput) (*wafv2.AssociateWebACLOutput, error)
	DisassociateWebACLWithContext(ctx context.Context, req *wafv2.DisassociateWebACLInput) (*wafv2.DisassociateWebACLOutput, error)
	GetWebACLForResourceWithContext(ctx context.Context, req *wafv2.GetWebACLForResourceInput) (*wafv2.GetWebACLForResourceOutput, error)
}

func NewWAFv2

func NewWAFv2(awsClientsProvider provider.AWSClientsProvider) WAFv2

NewWAFv2 constructs new WAFv2 implementation.

Jump to

Keyboard shortcuts

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