mocks

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 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) AcceptResourceGroupingRecommendations added in v0.1.0

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

func (*IClient) AddDraftAppVersionResourceMappings

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

func (*IClient) BatchUpdateRecommendationStatus

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

func (*IClient) CreateApp

func (_m *IClient) CreateApp(ctx context.Context, params *resiliencehub.CreateAppInput, optFns ...func(*resiliencehub.Options)) (*resiliencehub.CreateAppOutput, error)

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

func (*IClient) CreateAppVersionAppComponent

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

func (*IClient) CreateAppVersionResource

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

func (*IClient) CreateRecommendationTemplate

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

func (*IClient) CreateResiliencyPolicy

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

func (*IClient) DeleteApp

func (_m *IClient) DeleteApp(ctx context.Context, params *resiliencehub.DeleteAppInput, optFns ...func(*resiliencehub.Options)) (*resiliencehub.DeleteAppOutput, error)

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

func (*IClient) DeleteAppAssessment

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

func (*IClient) DeleteAppInputSource

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

func (*IClient) DeleteAppVersionAppComponent

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

func (*IClient) DeleteAppVersionResource

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

func (*IClient) DeleteRecommendationTemplate

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

func (*IClient) DeleteResiliencyPolicy

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

func (*IClient) DescribeApp

func (_m *IClient) DescribeApp(ctx context.Context, params *resiliencehub.DescribeAppInput, optFns ...func(*resiliencehub.Options)) (*resiliencehub.DescribeAppOutput, error)

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

func (*IClient) DescribeAppAssessment

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

func (*IClient) DescribeAppVersion

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

func (*IClient) DescribeAppVersionAppComponent

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

func (*IClient) DescribeAppVersionResource

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

func (*IClient) DescribeAppVersionResourcesResolutionStatus

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

func (*IClient) DescribeAppVersionTemplate

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

func (*IClient) DescribeDraftAppVersionResourcesImportStatus

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

func (*IClient) DescribeMetricsExport added in v0.1.0

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

func (*IClient) DescribeResiliencyPolicy

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

func (*IClient) DescribeResourceGroupingRecommendationTask added in v0.1.0

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

func (*IClient) ImportResourcesToDraftAppVersion

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

func (*IClient) ListAlarmRecommendations

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

func (*IClient) ListAppAssessmentComplianceDrifts

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

func (*IClient) ListAppAssessmentResourceDrifts

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

func (*IClient) ListAppAssessments

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

func (*IClient) ListAppComponentCompliances

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

func (*IClient) ListAppComponentRecommendations

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

func (*IClient) ListAppInputSources

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

func (*IClient) ListAppVersionAppComponents

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

func (*IClient) ListAppVersionResourceMappings

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

func (*IClient) ListAppVersionResources

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

func (*IClient) ListAppVersions

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

func (*IClient) ListApps

func (_m *IClient) ListApps(ctx context.Context, params *resiliencehub.ListAppsInput, optFns ...func(*resiliencehub.Options)) (*resiliencehub.ListAppsOutput, error)

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

func (*IClient) ListMetrics added in v0.1.0

func (_m *IClient) ListMetrics(ctx context.Context, params *resiliencehub.ListMetricsInput, optFns ...func(*resiliencehub.Options)) (*resiliencehub.ListMetricsOutput, error)

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

func (*IClient) ListRecommendationTemplates

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

func (*IClient) ListResiliencyPolicies

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

func (*IClient) ListResourceGroupingRecommendations added in v0.1.0

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

func (*IClient) ListSopRecommendations

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

func (*IClient) ListSuggestedResiliencyPolicies

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

func (*IClient) ListTagsForResource

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

func (*IClient) ListTestRecommendations

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

func (*IClient) ListUnsupportedAppVersionResources

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) PublishAppVersion

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

func (*IClient) PutDraftAppVersionTemplate

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

func (*IClient) RejectResourceGroupingRecommendations added in v0.1.0

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

func (*IClient) RemoveDraftAppVersionResourceMappings

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

func (*IClient) ResolveAppVersionResources

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

func (*IClient) StartAppAssessment

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

func (*IClient) StartMetricsExport added in v0.1.0

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

func (*IClient) StartResourceGroupingRecommendationTask added in v0.1.0

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

func (*IClient) TagResource

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

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

func (*IClient) UntagResource

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

func (*IClient) UpdateApp

func (_m *IClient) UpdateApp(ctx context.Context, params *resiliencehub.UpdateAppInput, optFns ...func(*resiliencehub.Options)) (*resiliencehub.UpdateAppOutput, error)

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

func (*IClient) UpdateAppVersion

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

func (*IClient) UpdateAppVersionAppComponent

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

func (*IClient) UpdateAppVersionResource

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

func (*IClient) UpdateResiliencyPolicy

UpdateResiliencyPolicy 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