mocks

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IClient

type IClient struct {
	mock.Mock
}

IClient is an autogenerated mock type for the IClient type

func NewIClient

func NewIClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *IClient

NewIClient creates a new instance of IClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*IClient) AssociateWebACL

func (_m *IClient) AssociateWebACL(ctx context.Context, params *wafv2.AssociateWebACLInput, optFns ...func(*wafv2.Options)) (*wafv2.AssociateWebACLOutput, error)

AssociateWebACL provides a mock function with given fields: ctx, params, optFns

func (*IClient) CheckCapacity

func (_m *IClient) CheckCapacity(ctx context.Context, params *wafv2.CheckCapacityInput, optFns ...func(*wafv2.Options)) (*wafv2.CheckCapacityOutput, error)

CheckCapacity provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateAPIKey

func (_m *IClient) CreateAPIKey(ctx context.Context, params *wafv2.CreateAPIKeyInput, optFns ...func(*wafv2.Options)) (*wafv2.CreateAPIKeyOutput, error)

CreateAPIKey provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateIPSet

func (_m *IClient) CreateIPSet(ctx context.Context, params *wafv2.CreateIPSetInput, optFns ...func(*wafv2.Options)) (*wafv2.CreateIPSetOutput, error)

CreateIPSet provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateRegexPatternSet

func (_m *IClient) CreateRegexPatternSet(ctx context.Context, params *wafv2.CreateRegexPatternSetInput, optFns ...func(*wafv2.Options)) (*wafv2.CreateRegexPatternSetOutput, error)

CreateRegexPatternSet provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateRuleGroup

func (_m *IClient) CreateRuleGroup(ctx context.Context, params *wafv2.CreateRuleGroupInput, optFns ...func(*wafv2.Options)) (*wafv2.CreateRuleGroupOutput, error)

CreateRuleGroup provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateWebACL

func (_m *IClient) CreateWebACL(ctx context.Context, params *wafv2.CreateWebACLInput, optFns ...func(*wafv2.Options)) (*wafv2.CreateWebACLOutput, error)

CreateWebACL provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteAPIKey

func (_m *IClient) DeleteAPIKey(ctx context.Context, params *wafv2.DeleteAPIKeyInput, optFns ...func(*wafv2.Options)) (*wafv2.DeleteAPIKeyOutput, error)

DeleteAPIKey provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteFirewallManagerRuleGroups

func (_m *IClient) DeleteFirewallManagerRuleGroups(ctx context.Context, params *wafv2.DeleteFirewallManagerRuleGroupsInput, optFns ...func(*wafv2.Options)) (*wafv2.DeleteFirewallManagerRuleGroupsOutput, error)

DeleteFirewallManagerRuleGroups provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteIPSet

func (_m *IClient) DeleteIPSet(ctx context.Context, params *wafv2.DeleteIPSetInput, optFns ...func(*wafv2.Options)) (*wafv2.DeleteIPSetOutput, error)

DeleteIPSet provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteLoggingConfiguration

func (_m *IClient) DeleteLoggingConfiguration(ctx context.Context, params *wafv2.DeleteLoggingConfigurationInput, optFns ...func(*wafv2.Options)) (*wafv2.DeleteLoggingConfigurationOutput, error)

DeleteLoggingConfiguration provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeletePermissionPolicy

func (_m *IClient) DeletePermissionPolicy(ctx context.Context, params *wafv2.DeletePermissionPolicyInput, optFns ...func(*wafv2.Options)) (*wafv2.DeletePermissionPolicyOutput, error)

DeletePermissionPolicy provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteRegexPatternSet

func (_m *IClient) DeleteRegexPatternSet(ctx context.Context, params *wafv2.DeleteRegexPatternSetInput, optFns ...func(*wafv2.Options)) (*wafv2.DeleteRegexPatternSetOutput, error)

DeleteRegexPatternSet provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteRuleGroup

func (_m *IClient) DeleteRuleGroup(ctx context.Context, params *wafv2.DeleteRuleGroupInput, optFns ...func(*wafv2.Options)) (*wafv2.DeleteRuleGroupOutput, error)

DeleteRuleGroup provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteWebACL

func (_m *IClient) DeleteWebACL(ctx context.Context, params *wafv2.DeleteWebACLInput, optFns ...func(*wafv2.Options)) (*wafv2.DeleteWebACLOutput, error)

DeleteWebACL provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeAllManagedProducts

func (_m *IClient) DescribeAllManagedProducts(ctx context.Context, params *wafv2.DescribeAllManagedProductsInput, optFns ...func(*wafv2.Options)) (*wafv2.DescribeAllManagedProductsOutput, error)

DescribeAllManagedProducts provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeManagedProductsByVendor

func (_m *IClient) DescribeManagedProductsByVendor(ctx context.Context, params *wafv2.DescribeManagedProductsByVendorInput, optFns ...func(*wafv2.Options)) (*wafv2.DescribeManagedProductsByVendorOutput, error)

DescribeManagedProductsByVendor provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeManagedRuleGroup

func (_m *IClient) DescribeManagedRuleGroup(ctx context.Context, params *wafv2.DescribeManagedRuleGroupInput, optFns ...func(*wafv2.Options)) (*wafv2.DescribeManagedRuleGroupOutput, error)

DescribeManagedRuleGroup provides a mock function with given fields: ctx, params, optFns

func (*IClient) DisassociateWebACL

func (_m *IClient) DisassociateWebACL(ctx context.Context, params *wafv2.DisassociateWebACLInput, optFns ...func(*wafv2.Options)) (*wafv2.DisassociateWebACLOutput, error)

DisassociateWebACL provides a mock function with given fields: ctx, params, optFns

func (*IClient) GenerateMobileSdkReleaseUrl

func (_m *IClient) GenerateMobileSdkReleaseUrl(ctx context.Context, params *wafv2.GenerateMobileSdkReleaseUrlInput, optFns ...func(*wafv2.Options)) (*wafv2.GenerateMobileSdkReleaseUrlOutput, error)

GenerateMobileSdkReleaseUrl provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetDecryptedAPIKey

func (_m *IClient) GetDecryptedAPIKey(ctx context.Context, params *wafv2.GetDecryptedAPIKeyInput, optFns ...func(*wafv2.Options)) (*wafv2.GetDecryptedAPIKeyOutput, error)

GetDecryptedAPIKey provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetIPSet

func (_m *IClient) GetIPSet(ctx context.Context, params *wafv2.GetIPSetInput, optFns ...func(*wafv2.Options)) (*wafv2.GetIPSetOutput, error)

GetIPSet provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetLoggingConfiguration

func (_m *IClient) GetLoggingConfiguration(ctx context.Context, params *wafv2.GetLoggingConfigurationInput, optFns ...func(*wafv2.Options)) (*wafv2.GetLoggingConfigurationOutput, error)

GetLoggingConfiguration provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetManagedRuleSet

func (_m *IClient) GetManagedRuleSet(ctx context.Context, params *wafv2.GetManagedRuleSetInput, optFns ...func(*wafv2.Options)) (*wafv2.GetManagedRuleSetOutput, error)

GetManagedRuleSet provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetMobileSdkRelease

func (_m *IClient) GetMobileSdkRelease(ctx context.Context, params *wafv2.GetMobileSdkReleaseInput, optFns ...func(*wafv2.Options)) (*wafv2.GetMobileSdkReleaseOutput, error)

GetMobileSdkRelease provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetPermissionPolicy

func (_m *IClient) GetPermissionPolicy(ctx context.Context, params *wafv2.GetPermissionPolicyInput, optFns ...func(*wafv2.Options)) (*wafv2.GetPermissionPolicyOutput, error)

GetPermissionPolicy provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetRateBasedStatementManagedKeys

func (_m *IClient) GetRateBasedStatementManagedKeys(ctx context.Context, params *wafv2.GetRateBasedStatementManagedKeysInput, optFns ...func(*wafv2.Options)) (*wafv2.GetRateBasedStatementManagedKeysOutput, error)

GetRateBasedStatementManagedKeys provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetRegexPatternSet

func (_m *IClient) GetRegexPatternSet(ctx context.Context, params *wafv2.GetRegexPatternSetInput, optFns ...func(*wafv2.Options)) (*wafv2.GetRegexPatternSetOutput, error)

GetRegexPatternSet provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetRuleGroup

func (_m *IClient) GetRuleGroup(ctx context.Context, params *wafv2.GetRuleGroupInput, optFns ...func(*wafv2.Options)) (*wafv2.GetRuleGroupOutput, error)

GetRuleGroup provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetSampledRequests

func (_m *IClient) GetSampledRequests(ctx context.Context, params *wafv2.GetSampledRequestsInput, optFns ...func(*wafv2.Options)) (*wafv2.GetSampledRequestsOutput, error)

GetSampledRequests provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetWebACL

func (_m *IClient) GetWebACL(ctx context.Context, params *wafv2.GetWebACLInput, optFns ...func(*wafv2.Options)) (*wafv2.GetWebACLOutput, error)

GetWebACL provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetWebACLForResource

func (_m *IClient) GetWebACLForResource(ctx context.Context, params *wafv2.GetWebACLForResourceInput, optFns ...func(*wafv2.Options)) (*wafv2.GetWebACLForResourceOutput, error)

GetWebACLForResource provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListAPIKeys

func (_m *IClient) ListAPIKeys(ctx context.Context, params *wafv2.ListAPIKeysInput, optFns ...func(*wafv2.Options)) (*wafv2.ListAPIKeysOutput, error)

ListAPIKeys provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListAvailableManagedRuleGroupVersions

func (_m *IClient) ListAvailableManagedRuleGroupVersions(ctx context.Context, params *wafv2.ListAvailableManagedRuleGroupVersionsInput, optFns ...func(*wafv2.Options)) (*wafv2.ListAvailableManagedRuleGroupVersionsOutput, error)

ListAvailableManagedRuleGroupVersions provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListAvailableManagedRuleGroups

func (_m *IClient) ListAvailableManagedRuleGroups(ctx context.Context, params *wafv2.ListAvailableManagedRuleGroupsInput, optFns ...func(*wafv2.Options)) (*wafv2.ListAvailableManagedRuleGroupsOutput, error)

ListAvailableManagedRuleGroups provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListIPSets

func (_m *IClient) ListIPSets(ctx context.Context, params *wafv2.ListIPSetsInput, optFns ...func(*wafv2.Options)) (*wafv2.ListIPSetsOutput, error)

ListIPSets provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListLoggingConfigurations

func (_m *IClient) ListLoggingConfigurations(ctx context.Context, params *wafv2.ListLoggingConfigurationsInput, optFns ...func(*wafv2.Options)) (*wafv2.ListLoggingConfigurationsOutput, error)

ListLoggingConfigurations provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListManagedRuleSets

func (_m *IClient) ListManagedRuleSets(ctx context.Context, params *wafv2.ListManagedRuleSetsInput, optFns ...func(*wafv2.Options)) (*wafv2.ListManagedRuleSetsOutput, error)

ListManagedRuleSets provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListMobileSdkReleases

func (_m *IClient) ListMobileSdkReleases(ctx context.Context, params *wafv2.ListMobileSdkReleasesInput, optFns ...func(*wafv2.Options)) (*wafv2.ListMobileSdkReleasesOutput, error)

ListMobileSdkReleases provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListRegexPatternSets

func (_m *IClient) ListRegexPatternSets(ctx context.Context, params *wafv2.ListRegexPatternSetsInput, optFns ...func(*wafv2.Options)) (*wafv2.ListRegexPatternSetsOutput, error)

ListRegexPatternSets provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListResourcesForWebACL

func (_m *IClient) ListResourcesForWebACL(ctx context.Context, params *wafv2.ListResourcesForWebACLInput, optFns ...func(*wafv2.Options)) (*wafv2.ListResourcesForWebACLOutput, error)

ListResourcesForWebACL provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListRuleGroups

func (_m *IClient) ListRuleGroups(ctx context.Context, params *wafv2.ListRuleGroupsInput, optFns ...func(*wafv2.Options)) (*wafv2.ListRuleGroupsOutput, error)

ListRuleGroups provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListTagsForResource

func (_m *IClient) ListTagsForResource(ctx context.Context, params *wafv2.ListTagsForResourceInput, optFns ...func(*wafv2.Options)) (*wafv2.ListTagsForResourceOutput, error)

ListTagsForResource provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListWebACLs

func (_m *IClient) ListWebACLs(ctx context.Context, params *wafv2.ListWebACLsInput, optFns ...func(*wafv2.Options)) (*wafv2.ListWebACLsOutput, error)

ListWebACLs provides a mock function with given fields: ctx, params, optFns

func (*IClient) Options

func (_m *IClient) Options() wafv2.Options

Options provides a mock function with given fields:

func (*IClient) PutLoggingConfiguration

func (_m *IClient) PutLoggingConfiguration(ctx context.Context, params *wafv2.PutLoggingConfigurationInput, optFns ...func(*wafv2.Options)) (*wafv2.PutLoggingConfigurationOutput, error)

PutLoggingConfiguration provides a mock function with given fields: ctx, params, optFns

func (*IClient) PutManagedRuleSetVersions

func (_m *IClient) PutManagedRuleSetVersions(ctx context.Context, params *wafv2.PutManagedRuleSetVersionsInput, optFns ...func(*wafv2.Options)) (*wafv2.PutManagedRuleSetVersionsOutput, error)

PutManagedRuleSetVersions provides a mock function with given fields: ctx, params, optFns

func (*IClient) PutPermissionPolicy

func (_m *IClient) PutPermissionPolicy(ctx context.Context, params *wafv2.PutPermissionPolicyInput, optFns ...func(*wafv2.Options)) (*wafv2.PutPermissionPolicyOutput, error)

PutPermissionPolicy provides a mock function with given fields: ctx, params, optFns

func (*IClient) TagResource

func (_m *IClient) TagResource(ctx context.Context, params *wafv2.TagResourceInput, optFns ...func(*wafv2.Options)) (*wafv2.TagResourceOutput, error)

TagResource provides a mock function with given fields: ctx, params, optFns

func (*IClient) UntagResource

func (_m *IClient) UntagResource(ctx context.Context, params *wafv2.UntagResourceInput, optFns ...func(*wafv2.Options)) (*wafv2.UntagResourceOutput, error)

UntagResource provides a mock function with given fields: ctx, params, optFns

func (*IClient) UpdateIPSet

func (_m *IClient) UpdateIPSet(ctx context.Context, params *wafv2.UpdateIPSetInput, optFns ...func(*wafv2.Options)) (*wafv2.UpdateIPSetOutput, error)

UpdateIPSet provides a mock function with given fields: ctx, params, optFns

func (*IClient) UpdateManagedRuleSetVersionExpiryDate

func (_m *IClient) UpdateManagedRuleSetVersionExpiryDate(ctx context.Context, params *wafv2.UpdateManagedRuleSetVersionExpiryDateInput, optFns ...func(*wafv2.Options)) (*wafv2.UpdateManagedRuleSetVersionExpiryDateOutput, error)

UpdateManagedRuleSetVersionExpiryDate provides a mock function with given fields: ctx, params, optFns

func (*IClient) UpdateRegexPatternSet

func (_m *IClient) UpdateRegexPatternSet(ctx context.Context, params *wafv2.UpdateRegexPatternSetInput, optFns ...func(*wafv2.Options)) (*wafv2.UpdateRegexPatternSetOutput, error)

UpdateRegexPatternSet provides a mock function with given fields: ctx, params, optFns

func (*IClient) UpdateRuleGroup

func (_m *IClient) UpdateRuleGroup(ctx context.Context, params *wafv2.UpdateRuleGroupInput, optFns ...func(*wafv2.Options)) (*wafv2.UpdateRuleGroupOutput, error)

UpdateRuleGroup provides a mock function with given fields: ctx, params, optFns

func (*IClient) UpdateWebACL

func (_m *IClient) UpdateWebACL(ctx context.Context, params *wafv2.UpdateWebACLInput, optFns ...func(*wafv2.Options)) (*wafv2.UpdateWebACLOutput, error)

UpdateWebACL provides a mock function with given fields: ctx, params, optFns

Jump to

Keyboard shortcuts

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