mocks

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 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) CreateAlertManagerDefinition

func (_m *IClient) CreateAlertManagerDefinition(ctx context.Context, params *amp.CreateAlertManagerDefinitionInput, optFns ...func(*amp.Options)) (*amp.CreateAlertManagerDefinitionOutput, error)

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

func (*IClient) CreateLoggingConfiguration

func (_m *IClient) CreateLoggingConfiguration(ctx context.Context, params *amp.CreateLoggingConfigurationInput, optFns ...func(*amp.Options)) (*amp.CreateLoggingConfigurationOutput, error)

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

func (*IClient) CreateRuleGroupsNamespace

func (_m *IClient) CreateRuleGroupsNamespace(ctx context.Context, params *amp.CreateRuleGroupsNamespaceInput, optFns ...func(*amp.Options)) (*amp.CreateRuleGroupsNamespaceOutput, error)

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

func (*IClient) CreateScraper

func (_m *IClient) CreateScraper(ctx context.Context, params *amp.CreateScraperInput, optFns ...func(*amp.Options)) (*amp.CreateScraperOutput, error)

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

func (*IClient) CreateWorkspace

func (_m *IClient) CreateWorkspace(ctx context.Context, params *amp.CreateWorkspaceInput, optFns ...func(*amp.Options)) (*amp.CreateWorkspaceOutput, error)

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

func (*IClient) DeleteAlertManagerDefinition

func (_m *IClient) DeleteAlertManagerDefinition(ctx context.Context, params *amp.DeleteAlertManagerDefinitionInput, optFns ...func(*amp.Options)) (*amp.DeleteAlertManagerDefinitionOutput, error)

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

func (*IClient) DeleteLoggingConfiguration

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

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

func (*IClient) DeleteRuleGroupsNamespace

func (_m *IClient) DeleteRuleGroupsNamespace(ctx context.Context, params *amp.DeleteRuleGroupsNamespaceInput, optFns ...func(*amp.Options)) (*amp.DeleteRuleGroupsNamespaceOutput, error)

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

func (*IClient) DeleteScraper

func (_m *IClient) DeleteScraper(ctx context.Context, params *amp.DeleteScraperInput, optFns ...func(*amp.Options)) (*amp.DeleteScraperOutput, error)

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

func (*IClient) DeleteWorkspace

func (_m *IClient) DeleteWorkspace(ctx context.Context, params *amp.DeleteWorkspaceInput, optFns ...func(*amp.Options)) (*amp.DeleteWorkspaceOutput, error)

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

func (*IClient) DescribeAlertManagerDefinition

func (_m *IClient) DescribeAlertManagerDefinition(ctx context.Context, params *amp.DescribeAlertManagerDefinitionInput, optFns ...func(*amp.Options)) (*amp.DescribeAlertManagerDefinitionOutput, error)

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

func (*IClient) DescribeLoggingConfiguration

func (_m *IClient) DescribeLoggingConfiguration(ctx context.Context, params *amp.DescribeLoggingConfigurationInput, optFns ...func(*amp.Options)) (*amp.DescribeLoggingConfigurationOutput, error)

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

func (*IClient) DescribeRuleGroupsNamespace

func (_m *IClient) DescribeRuleGroupsNamespace(ctx context.Context, params *amp.DescribeRuleGroupsNamespaceInput, optFns ...func(*amp.Options)) (*amp.DescribeRuleGroupsNamespaceOutput, error)

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

func (*IClient) DescribeScraper

func (_m *IClient) DescribeScraper(ctx context.Context, params *amp.DescribeScraperInput, optFns ...func(*amp.Options)) (*amp.DescribeScraperOutput, error)

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

func (*IClient) DescribeWorkspace

func (_m *IClient) DescribeWorkspace(ctx context.Context, params *amp.DescribeWorkspaceInput, optFns ...func(*amp.Options)) (*amp.DescribeWorkspaceOutput, error)

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

func (*IClient) GetDefaultScraperConfiguration

func (_m *IClient) GetDefaultScraperConfiguration(ctx context.Context, params *amp.GetDefaultScraperConfigurationInput, optFns ...func(*amp.Options)) (*amp.GetDefaultScraperConfigurationOutput, error)

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

func (*IClient) ListRuleGroupsNamespaces

func (_m *IClient) ListRuleGroupsNamespaces(ctx context.Context, params *amp.ListRuleGroupsNamespacesInput, optFns ...func(*amp.Options)) (*amp.ListRuleGroupsNamespacesOutput, error)

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

func (*IClient) ListScrapers

func (_m *IClient) ListScrapers(ctx context.Context, params *amp.ListScrapersInput, optFns ...func(*amp.Options)) (*amp.ListScrapersOutput, error)

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

func (*IClient) ListTagsForResource

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

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

func (*IClient) ListWorkspaces

func (_m *IClient) ListWorkspaces(ctx context.Context, params *amp.ListWorkspacesInput, optFns ...func(*amp.Options)) (*amp.ListWorkspacesOutput, error)

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) PutAlertManagerDefinition

func (_m *IClient) PutAlertManagerDefinition(ctx context.Context, params *amp.PutAlertManagerDefinitionInput, optFns ...func(*amp.Options)) (*amp.PutAlertManagerDefinitionOutput, error)

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

func (*IClient) PutRuleGroupsNamespace

func (_m *IClient) PutRuleGroupsNamespace(ctx context.Context, params *amp.PutRuleGroupsNamespaceInput, optFns ...func(*amp.Options)) (*amp.PutRuleGroupsNamespaceOutput, error)

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

func (*IClient) TagResource

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

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

func (*IClient) UntagResource

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

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

func (*IClient) UpdateLoggingConfiguration

func (_m *IClient) UpdateLoggingConfiguration(ctx context.Context, params *amp.UpdateLoggingConfigurationInput, optFns ...func(*amp.Options)) (*amp.UpdateLoggingConfigurationOutput, error)

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

func (*IClient) UpdateWorkspaceAlias

func (_m *IClient) UpdateWorkspaceAlias(ctx context.Context, params *amp.UpdateWorkspaceAliasInput, optFns ...func(*amp.Options)) (*amp.UpdateWorkspaceAliasOutput, error)

UpdateWorkspaceAlias 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