mocks

package
v0.0.3 Latest Latest
Warning

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

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

func (_m *IClient) AssociateResource(ctx context.Context, params *synthetics.AssociateResourceInput, optFns ...func(*synthetics.Options)) (*synthetics.AssociateResourceOutput, error)

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

func (*IClient) CreateCanary

func (_m *IClient) CreateCanary(ctx context.Context, params *synthetics.CreateCanaryInput, optFns ...func(*synthetics.Options)) (*synthetics.CreateCanaryOutput, error)

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

func (*IClient) CreateGroup

func (_m *IClient) CreateGroup(ctx context.Context, params *synthetics.CreateGroupInput, optFns ...func(*synthetics.Options)) (*synthetics.CreateGroupOutput, error)

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

func (*IClient) DeleteCanary

func (_m *IClient) DeleteCanary(ctx context.Context, params *synthetics.DeleteCanaryInput, optFns ...func(*synthetics.Options)) (*synthetics.DeleteCanaryOutput, error)

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

func (*IClient) DeleteGroup

func (_m *IClient) DeleteGroup(ctx context.Context, params *synthetics.DeleteGroupInput, optFns ...func(*synthetics.Options)) (*synthetics.DeleteGroupOutput, error)

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

func (*IClient) DescribeCanaries

func (_m *IClient) DescribeCanaries(ctx context.Context, params *synthetics.DescribeCanariesInput, optFns ...func(*synthetics.Options)) (*synthetics.DescribeCanariesOutput, error)

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

func (*IClient) DescribeCanariesLastRun

func (_m *IClient) DescribeCanariesLastRun(ctx context.Context, params *synthetics.DescribeCanariesLastRunInput, optFns ...func(*synthetics.Options)) (*synthetics.DescribeCanariesLastRunOutput, error)

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

func (*IClient) DescribeRuntimeVersions

func (_m *IClient) DescribeRuntimeVersions(ctx context.Context, params *synthetics.DescribeRuntimeVersionsInput, optFns ...func(*synthetics.Options)) (*synthetics.DescribeRuntimeVersionsOutput, error)

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

func (*IClient) DisassociateResource

func (_m *IClient) DisassociateResource(ctx context.Context, params *synthetics.DisassociateResourceInput, optFns ...func(*synthetics.Options)) (*synthetics.DisassociateResourceOutput, error)

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

func (*IClient) GetCanary

func (_m *IClient) GetCanary(ctx context.Context, params *synthetics.GetCanaryInput, optFns ...func(*synthetics.Options)) (*synthetics.GetCanaryOutput, error)

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

func (*IClient) GetCanaryRuns

func (_m *IClient) GetCanaryRuns(ctx context.Context, params *synthetics.GetCanaryRunsInput, optFns ...func(*synthetics.Options)) (*synthetics.GetCanaryRunsOutput, error)

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

func (*IClient) GetGroup

func (_m *IClient) GetGroup(ctx context.Context, params *synthetics.GetGroupInput, optFns ...func(*synthetics.Options)) (*synthetics.GetGroupOutput, error)

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

func (*IClient) ListAssociatedGroups

func (_m *IClient) ListAssociatedGroups(ctx context.Context, params *synthetics.ListAssociatedGroupsInput, optFns ...func(*synthetics.Options)) (*synthetics.ListAssociatedGroupsOutput, error)

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

func (*IClient) ListGroupResources

func (_m *IClient) ListGroupResources(ctx context.Context, params *synthetics.ListGroupResourcesInput, optFns ...func(*synthetics.Options)) (*synthetics.ListGroupResourcesOutput, error)

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

func (*IClient) ListGroups

func (_m *IClient) ListGroups(ctx context.Context, params *synthetics.ListGroupsInput, optFns ...func(*synthetics.Options)) (*synthetics.ListGroupsOutput, error)

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

func (*IClient) ListTagsForResource

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

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) StartCanary

func (_m *IClient) StartCanary(ctx context.Context, params *synthetics.StartCanaryInput, optFns ...func(*synthetics.Options)) (*synthetics.StartCanaryOutput, error)

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

func (*IClient) StopCanary

func (_m *IClient) StopCanary(ctx context.Context, params *synthetics.StopCanaryInput, optFns ...func(*synthetics.Options)) (*synthetics.StopCanaryOutput, error)

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

func (*IClient) TagResource

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

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

func (*IClient) UntagResource

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

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

func (*IClient) UpdateCanary

func (_m *IClient) UpdateCanary(ctx context.Context, params *synthetics.UpdateCanaryInput, optFns ...func(*synthetics.Options)) (*synthetics.UpdateCanaryOutput, error)

UpdateCanary 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