mocks

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 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) AssociateAdminAccount

func (_m *IClient) AssociateAdminAccount(ctx context.Context, params *fms.AssociateAdminAccountInput, optFns ...func(*fms.Options)) (*fms.AssociateAdminAccountOutput, error)

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

func (*IClient) AssociateThirdPartyFirewall

func (_m *IClient) AssociateThirdPartyFirewall(ctx context.Context, params *fms.AssociateThirdPartyFirewallInput, optFns ...func(*fms.Options)) (*fms.AssociateThirdPartyFirewallOutput, error)

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

func (*IClient) BatchAssociateResource

func (_m *IClient) BatchAssociateResource(ctx context.Context, params *fms.BatchAssociateResourceInput, optFns ...func(*fms.Options)) (*fms.BatchAssociateResourceOutput, error)

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

func (*IClient) BatchDisassociateResource

func (_m *IClient) BatchDisassociateResource(ctx context.Context, params *fms.BatchDisassociateResourceInput, optFns ...func(*fms.Options)) (*fms.BatchDisassociateResourceOutput, error)

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

func (*IClient) DeleteAppsList

func (_m *IClient) DeleteAppsList(ctx context.Context, params *fms.DeleteAppsListInput, optFns ...func(*fms.Options)) (*fms.DeleteAppsListOutput, error)

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

func (*IClient) DeleteNotificationChannel

func (_m *IClient) DeleteNotificationChannel(ctx context.Context, params *fms.DeleteNotificationChannelInput, optFns ...func(*fms.Options)) (*fms.DeleteNotificationChannelOutput, error)

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

func (*IClient) DeletePolicy

func (_m *IClient) DeletePolicy(ctx context.Context, params *fms.DeletePolicyInput, optFns ...func(*fms.Options)) (*fms.DeletePolicyOutput, error)

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

func (*IClient) DeleteProtocolsList

func (_m *IClient) DeleteProtocolsList(ctx context.Context, params *fms.DeleteProtocolsListInput, optFns ...func(*fms.Options)) (*fms.DeleteProtocolsListOutput, error)

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

func (*IClient) DeleteResourceSet

func (_m *IClient) DeleteResourceSet(ctx context.Context, params *fms.DeleteResourceSetInput, optFns ...func(*fms.Options)) (*fms.DeleteResourceSetOutput, error)

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

func (*IClient) DisassociateAdminAccount

func (_m *IClient) DisassociateAdminAccount(ctx context.Context, params *fms.DisassociateAdminAccountInput, optFns ...func(*fms.Options)) (*fms.DisassociateAdminAccountOutput, error)

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

func (*IClient) DisassociateThirdPartyFirewall

func (_m *IClient) DisassociateThirdPartyFirewall(ctx context.Context, params *fms.DisassociateThirdPartyFirewallInput, optFns ...func(*fms.Options)) (*fms.DisassociateThirdPartyFirewallOutput, error)

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

func (*IClient) GetAdminAccount

func (_m *IClient) GetAdminAccount(ctx context.Context, params *fms.GetAdminAccountInput, optFns ...func(*fms.Options)) (*fms.GetAdminAccountOutput, error)

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

func (*IClient) GetAdminScope

func (_m *IClient) GetAdminScope(ctx context.Context, params *fms.GetAdminScopeInput, optFns ...func(*fms.Options)) (*fms.GetAdminScopeOutput, error)

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

func (*IClient) GetAppsList

func (_m *IClient) GetAppsList(ctx context.Context, params *fms.GetAppsListInput, optFns ...func(*fms.Options)) (*fms.GetAppsListOutput, error)

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

func (*IClient) GetComplianceDetail

func (_m *IClient) GetComplianceDetail(ctx context.Context, params *fms.GetComplianceDetailInput, optFns ...func(*fms.Options)) (*fms.GetComplianceDetailOutput, error)

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

func (*IClient) GetNotificationChannel

func (_m *IClient) GetNotificationChannel(ctx context.Context, params *fms.GetNotificationChannelInput, optFns ...func(*fms.Options)) (*fms.GetNotificationChannelOutput, error)

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

func (*IClient) GetPolicy

func (_m *IClient) GetPolicy(ctx context.Context, params *fms.GetPolicyInput, optFns ...func(*fms.Options)) (*fms.GetPolicyOutput, error)

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

func (*IClient) GetProtectionStatus

func (_m *IClient) GetProtectionStatus(ctx context.Context, params *fms.GetProtectionStatusInput, optFns ...func(*fms.Options)) (*fms.GetProtectionStatusOutput, error)

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

func (*IClient) GetProtocolsList

func (_m *IClient) GetProtocolsList(ctx context.Context, params *fms.GetProtocolsListInput, optFns ...func(*fms.Options)) (*fms.GetProtocolsListOutput, error)

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

func (*IClient) GetResourceSet

func (_m *IClient) GetResourceSet(ctx context.Context, params *fms.GetResourceSetInput, optFns ...func(*fms.Options)) (*fms.GetResourceSetOutput, error)

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

func (*IClient) GetThirdPartyFirewallAssociationStatus

func (_m *IClient) GetThirdPartyFirewallAssociationStatus(ctx context.Context, params *fms.GetThirdPartyFirewallAssociationStatusInput, optFns ...func(*fms.Options)) (*fms.GetThirdPartyFirewallAssociationStatusOutput, error)

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

func (*IClient) GetViolationDetails

func (_m *IClient) GetViolationDetails(ctx context.Context, params *fms.GetViolationDetailsInput, optFns ...func(*fms.Options)) (*fms.GetViolationDetailsOutput, error)

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

func (*IClient) ListAdminAccountsForOrganization

func (_m *IClient) ListAdminAccountsForOrganization(ctx context.Context, params *fms.ListAdminAccountsForOrganizationInput, optFns ...func(*fms.Options)) (*fms.ListAdminAccountsForOrganizationOutput, error)

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

func (*IClient) ListAdminsManagingAccount

func (_m *IClient) ListAdminsManagingAccount(ctx context.Context, params *fms.ListAdminsManagingAccountInput, optFns ...func(*fms.Options)) (*fms.ListAdminsManagingAccountOutput, error)

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

func (*IClient) ListAppsLists

func (_m *IClient) ListAppsLists(ctx context.Context, params *fms.ListAppsListsInput, optFns ...func(*fms.Options)) (*fms.ListAppsListsOutput, error)

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

func (*IClient) ListComplianceStatus

func (_m *IClient) ListComplianceStatus(ctx context.Context, params *fms.ListComplianceStatusInput, optFns ...func(*fms.Options)) (*fms.ListComplianceStatusOutput, error)

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

func (*IClient) ListDiscoveredResources

func (_m *IClient) ListDiscoveredResources(ctx context.Context, params *fms.ListDiscoveredResourcesInput, optFns ...func(*fms.Options)) (*fms.ListDiscoveredResourcesOutput, error)

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

func (*IClient) ListMemberAccounts

func (_m *IClient) ListMemberAccounts(ctx context.Context, params *fms.ListMemberAccountsInput, optFns ...func(*fms.Options)) (*fms.ListMemberAccountsOutput, error)

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

func (*IClient) ListPolicies

func (_m *IClient) ListPolicies(ctx context.Context, params *fms.ListPoliciesInput, optFns ...func(*fms.Options)) (*fms.ListPoliciesOutput, error)

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

func (*IClient) ListProtocolsLists

func (_m *IClient) ListProtocolsLists(ctx context.Context, params *fms.ListProtocolsListsInput, optFns ...func(*fms.Options)) (*fms.ListProtocolsListsOutput, error)

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

func (*IClient) ListResourceSetResources

func (_m *IClient) ListResourceSetResources(ctx context.Context, params *fms.ListResourceSetResourcesInput, optFns ...func(*fms.Options)) (*fms.ListResourceSetResourcesOutput, error)

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

func (*IClient) ListResourceSets

func (_m *IClient) ListResourceSets(ctx context.Context, params *fms.ListResourceSetsInput, optFns ...func(*fms.Options)) (*fms.ListResourceSetsOutput, error)

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

func (*IClient) ListTagsForResource

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

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

func (*IClient) ListThirdPartyFirewallFirewallPolicies

func (_m *IClient) ListThirdPartyFirewallFirewallPolicies(ctx context.Context, params *fms.ListThirdPartyFirewallFirewallPoliciesInput, optFns ...func(*fms.Options)) (*fms.ListThirdPartyFirewallFirewallPoliciesOutput, error)

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) PutAdminAccount

func (_m *IClient) PutAdminAccount(ctx context.Context, params *fms.PutAdminAccountInput, optFns ...func(*fms.Options)) (*fms.PutAdminAccountOutput, error)

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

func (*IClient) PutAppsList

func (_m *IClient) PutAppsList(ctx context.Context, params *fms.PutAppsListInput, optFns ...func(*fms.Options)) (*fms.PutAppsListOutput, error)

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

func (*IClient) PutNotificationChannel

func (_m *IClient) PutNotificationChannel(ctx context.Context, params *fms.PutNotificationChannelInput, optFns ...func(*fms.Options)) (*fms.PutNotificationChannelOutput, error)

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

func (*IClient) PutPolicy

func (_m *IClient) PutPolicy(ctx context.Context, params *fms.PutPolicyInput, optFns ...func(*fms.Options)) (*fms.PutPolicyOutput, error)

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

func (*IClient) PutProtocolsList

func (_m *IClient) PutProtocolsList(ctx context.Context, params *fms.PutProtocolsListInput, optFns ...func(*fms.Options)) (*fms.PutProtocolsListOutput, error)

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

func (*IClient) PutResourceSet

func (_m *IClient) PutResourceSet(ctx context.Context, params *fms.PutResourceSetInput, optFns ...func(*fms.Options)) (*fms.PutResourceSetOutput, error)

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

func (*IClient) TagResource

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

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

func (*IClient) UntagResource

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

UntagResource 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