mocks

package
v0.0.7 Latest Latest
Warning

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

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

func (_m *IClient) AddSourceIdentifierToSubscription(ctx context.Context, params *docdb.AddSourceIdentifierToSubscriptionInput, optFns ...func(*docdb.Options)) (*docdb.AddSourceIdentifierToSubscriptionOutput, error)

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

func (*IClient) AddTagsToResource

func (_m *IClient) AddTagsToResource(ctx context.Context, params *docdb.AddTagsToResourceInput, optFns ...func(*docdb.Options)) (*docdb.AddTagsToResourceOutput, error)

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

func (*IClient) ApplyPendingMaintenanceAction

func (_m *IClient) ApplyPendingMaintenanceAction(ctx context.Context, params *docdb.ApplyPendingMaintenanceActionInput, optFns ...func(*docdb.Options)) (*docdb.ApplyPendingMaintenanceActionOutput, error)

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

func (*IClient) CopyDBClusterParameterGroup

func (_m *IClient) CopyDBClusterParameterGroup(ctx context.Context, params *docdb.CopyDBClusterParameterGroupInput, optFns ...func(*docdb.Options)) (*docdb.CopyDBClusterParameterGroupOutput, error)

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

func (*IClient) CopyDBClusterSnapshot

func (_m *IClient) CopyDBClusterSnapshot(ctx context.Context, params *docdb.CopyDBClusterSnapshotInput, optFns ...func(*docdb.Options)) (*docdb.CopyDBClusterSnapshotOutput, error)

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

func (*IClient) CreateDBCluster

func (_m *IClient) CreateDBCluster(ctx context.Context, params *docdb.CreateDBClusterInput, optFns ...func(*docdb.Options)) (*docdb.CreateDBClusterOutput, error)

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

func (*IClient) CreateDBClusterParameterGroup

func (_m *IClient) CreateDBClusterParameterGroup(ctx context.Context, params *docdb.CreateDBClusterParameterGroupInput, optFns ...func(*docdb.Options)) (*docdb.CreateDBClusterParameterGroupOutput, error)

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

func (*IClient) CreateDBClusterSnapshot

func (_m *IClient) CreateDBClusterSnapshot(ctx context.Context, params *docdb.CreateDBClusterSnapshotInput, optFns ...func(*docdb.Options)) (*docdb.CreateDBClusterSnapshotOutput, error)

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

func (*IClient) CreateDBInstance

func (_m *IClient) CreateDBInstance(ctx context.Context, params *docdb.CreateDBInstanceInput, optFns ...func(*docdb.Options)) (*docdb.CreateDBInstanceOutput, error)

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

func (*IClient) CreateDBSubnetGroup

func (_m *IClient) CreateDBSubnetGroup(ctx context.Context, params *docdb.CreateDBSubnetGroupInput, optFns ...func(*docdb.Options)) (*docdb.CreateDBSubnetGroupOutput, error)

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

func (*IClient) CreateEventSubscription

func (_m *IClient) CreateEventSubscription(ctx context.Context, params *docdb.CreateEventSubscriptionInput, optFns ...func(*docdb.Options)) (*docdb.CreateEventSubscriptionOutput, error)

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

func (*IClient) CreateGlobalCluster

func (_m *IClient) CreateGlobalCluster(ctx context.Context, params *docdb.CreateGlobalClusterInput, optFns ...func(*docdb.Options)) (*docdb.CreateGlobalClusterOutput, error)

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

func (*IClient) DeleteDBCluster

func (_m *IClient) DeleteDBCluster(ctx context.Context, params *docdb.DeleteDBClusterInput, optFns ...func(*docdb.Options)) (*docdb.DeleteDBClusterOutput, error)

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

func (*IClient) DeleteDBClusterParameterGroup

func (_m *IClient) DeleteDBClusterParameterGroup(ctx context.Context, params *docdb.DeleteDBClusterParameterGroupInput, optFns ...func(*docdb.Options)) (*docdb.DeleteDBClusterParameterGroupOutput, error)

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

func (*IClient) DeleteDBClusterSnapshot

func (_m *IClient) DeleteDBClusterSnapshot(ctx context.Context, params *docdb.DeleteDBClusterSnapshotInput, optFns ...func(*docdb.Options)) (*docdb.DeleteDBClusterSnapshotOutput, error)

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

func (*IClient) DeleteDBInstance

func (_m *IClient) DeleteDBInstance(ctx context.Context, params *docdb.DeleteDBInstanceInput, optFns ...func(*docdb.Options)) (*docdb.DeleteDBInstanceOutput, error)

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

func (*IClient) DeleteDBSubnetGroup

func (_m *IClient) DeleteDBSubnetGroup(ctx context.Context, params *docdb.DeleteDBSubnetGroupInput, optFns ...func(*docdb.Options)) (*docdb.DeleteDBSubnetGroupOutput, error)

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

func (*IClient) DeleteEventSubscription

func (_m *IClient) DeleteEventSubscription(ctx context.Context, params *docdb.DeleteEventSubscriptionInput, optFns ...func(*docdb.Options)) (*docdb.DeleteEventSubscriptionOutput, error)

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

func (*IClient) DeleteGlobalCluster

func (_m *IClient) DeleteGlobalCluster(ctx context.Context, params *docdb.DeleteGlobalClusterInput, optFns ...func(*docdb.Options)) (*docdb.DeleteGlobalClusterOutput, error)

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

func (*IClient) DescribeCertificates

func (_m *IClient) DescribeCertificates(ctx context.Context, params *docdb.DescribeCertificatesInput, optFns ...func(*docdb.Options)) (*docdb.DescribeCertificatesOutput, error)

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

func (*IClient) DescribeDBClusterParameterGroups

func (_m *IClient) DescribeDBClusterParameterGroups(ctx context.Context, params *docdb.DescribeDBClusterParameterGroupsInput, optFns ...func(*docdb.Options)) (*docdb.DescribeDBClusterParameterGroupsOutput, error)

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

func (*IClient) DescribeDBClusterParameters

func (_m *IClient) DescribeDBClusterParameters(ctx context.Context, params *docdb.DescribeDBClusterParametersInput, optFns ...func(*docdb.Options)) (*docdb.DescribeDBClusterParametersOutput, error)

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

func (*IClient) DescribeDBClusterSnapshotAttributes

func (_m *IClient) DescribeDBClusterSnapshotAttributes(ctx context.Context, params *docdb.DescribeDBClusterSnapshotAttributesInput, optFns ...func(*docdb.Options)) (*docdb.DescribeDBClusterSnapshotAttributesOutput, error)

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

func (*IClient) DescribeDBClusterSnapshots

func (_m *IClient) DescribeDBClusterSnapshots(ctx context.Context, params *docdb.DescribeDBClusterSnapshotsInput, optFns ...func(*docdb.Options)) (*docdb.DescribeDBClusterSnapshotsOutput, error)

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

func (*IClient) DescribeDBClusters

func (_m *IClient) DescribeDBClusters(ctx context.Context, params *docdb.DescribeDBClustersInput, optFns ...func(*docdb.Options)) (*docdb.DescribeDBClustersOutput, error)

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

func (*IClient) DescribeDBEngineVersions

func (_m *IClient) DescribeDBEngineVersions(ctx context.Context, params *docdb.DescribeDBEngineVersionsInput, optFns ...func(*docdb.Options)) (*docdb.DescribeDBEngineVersionsOutput, error)

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

func (*IClient) DescribeDBInstances

func (_m *IClient) DescribeDBInstances(ctx context.Context, params *docdb.DescribeDBInstancesInput, optFns ...func(*docdb.Options)) (*docdb.DescribeDBInstancesOutput, error)

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

func (*IClient) DescribeDBSubnetGroups

func (_m *IClient) DescribeDBSubnetGroups(ctx context.Context, params *docdb.DescribeDBSubnetGroupsInput, optFns ...func(*docdb.Options)) (*docdb.DescribeDBSubnetGroupsOutput, error)

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

func (*IClient) DescribeEngineDefaultClusterParameters

func (_m *IClient) DescribeEngineDefaultClusterParameters(ctx context.Context, params *docdb.DescribeEngineDefaultClusterParametersInput, optFns ...func(*docdb.Options)) (*docdb.DescribeEngineDefaultClusterParametersOutput, error)

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

func (*IClient) DescribeEventCategories

func (_m *IClient) DescribeEventCategories(ctx context.Context, params *docdb.DescribeEventCategoriesInput, optFns ...func(*docdb.Options)) (*docdb.DescribeEventCategoriesOutput, error)

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

func (*IClient) DescribeEventSubscriptions

func (_m *IClient) DescribeEventSubscriptions(ctx context.Context, params *docdb.DescribeEventSubscriptionsInput, optFns ...func(*docdb.Options)) (*docdb.DescribeEventSubscriptionsOutput, error)

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

func (*IClient) DescribeEvents

func (_m *IClient) DescribeEvents(ctx context.Context, params *docdb.DescribeEventsInput, optFns ...func(*docdb.Options)) (*docdb.DescribeEventsOutput, error)

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

func (*IClient) DescribeGlobalClusters

func (_m *IClient) DescribeGlobalClusters(ctx context.Context, params *docdb.DescribeGlobalClustersInput, optFns ...func(*docdb.Options)) (*docdb.DescribeGlobalClustersOutput, error)

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

func (*IClient) DescribeOrderableDBInstanceOptions

func (_m *IClient) DescribeOrderableDBInstanceOptions(ctx context.Context, params *docdb.DescribeOrderableDBInstanceOptionsInput, optFns ...func(*docdb.Options)) (*docdb.DescribeOrderableDBInstanceOptionsOutput, error)

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

func (*IClient) DescribePendingMaintenanceActions

func (_m *IClient) DescribePendingMaintenanceActions(ctx context.Context, params *docdb.DescribePendingMaintenanceActionsInput, optFns ...func(*docdb.Options)) (*docdb.DescribePendingMaintenanceActionsOutput, error)

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

func (*IClient) FailoverDBCluster

func (_m *IClient) FailoverDBCluster(ctx context.Context, params *docdb.FailoverDBClusterInput, optFns ...func(*docdb.Options)) (*docdb.FailoverDBClusterOutput, error)

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

func (*IClient) ListTagsForResource

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

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

func (*IClient) ModifyDBCluster

func (_m *IClient) ModifyDBCluster(ctx context.Context, params *docdb.ModifyDBClusterInput, optFns ...func(*docdb.Options)) (*docdb.ModifyDBClusterOutput, error)

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

func (*IClient) ModifyDBClusterParameterGroup

func (_m *IClient) ModifyDBClusterParameterGroup(ctx context.Context, params *docdb.ModifyDBClusterParameterGroupInput, optFns ...func(*docdb.Options)) (*docdb.ModifyDBClusterParameterGroupOutput, error)

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

func (*IClient) ModifyDBClusterSnapshotAttribute

func (_m *IClient) ModifyDBClusterSnapshotAttribute(ctx context.Context, params *docdb.ModifyDBClusterSnapshotAttributeInput, optFns ...func(*docdb.Options)) (*docdb.ModifyDBClusterSnapshotAttributeOutput, error)

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

func (*IClient) ModifyDBInstance

func (_m *IClient) ModifyDBInstance(ctx context.Context, params *docdb.ModifyDBInstanceInput, optFns ...func(*docdb.Options)) (*docdb.ModifyDBInstanceOutput, error)

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

func (*IClient) ModifyDBSubnetGroup

func (_m *IClient) ModifyDBSubnetGroup(ctx context.Context, params *docdb.ModifyDBSubnetGroupInput, optFns ...func(*docdb.Options)) (*docdb.ModifyDBSubnetGroupOutput, error)

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

func (*IClient) ModifyEventSubscription

func (_m *IClient) ModifyEventSubscription(ctx context.Context, params *docdb.ModifyEventSubscriptionInput, optFns ...func(*docdb.Options)) (*docdb.ModifyEventSubscriptionOutput, error)

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

func (*IClient) ModifyGlobalCluster

func (_m *IClient) ModifyGlobalCluster(ctx context.Context, params *docdb.ModifyGlobalClusterInput, optFns ...func(*docdb.Options)) (*docdb.ModifyGlobalClusterOutput, error)

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) RebootDBInstance

func (_m *IClient) RebootDBInstance(ctx context.Context, params *docdb.RebootDBInstanceInput, optFns ...func(*docdb.Options)) (*docdb.RebootDBInstanceOutput, error)

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

func (*IClient) RemoveFromGlobalCluster

func (_m *IClient) RemoveFromGlobalCluster(ctx context.Context, params *docdb.RemoveFromGlobalClusterInput, optFns ...func(*docdb.Options)) (*docdb.RemoveFromGlobalClusterOutput, error)

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

func (*IClient) RemoveSourceIdentifierFromSubscription

func (_m *IClient) RemoveSourceIdentifierFromSubscription(ctx context.Context, params *docdb.RemoveSourceIdentifierFromSubscriptionInput, optFns ...func(*docdb.Options)) (*docdb.RemoveSourceIdentifierFromSubscriptionOutput, error)

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

func (*IClient) RemoveTagsFromResource

func (_m *IClient) RemoveTagsFromResource(ctx context.Context, params *docdb.RemoveTagsFromResourceInput, optFns ...func(*docdb.Options)) (*docdb.RemoveTagsFromResourceOutput, error)

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

func (*IClient) ResetDBClusterParameterGroup

func (_m *IClient) ResetDBClusterParameterGroup(ctx context.Context, params *docdb.ResetDBClusterParameterGroupInput, optFns ...func(*docdb.Options)) (*docdb.ResetDBClusterParameterGroupOutput, error)

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

func (*IClient) RestoreDBClusterFromSnapshot

func (_m *IClient) RestoreDBClusterFromSnapshot(ctx context.Context, params *docdb.RestoreDBClusterFromSnapshotInput, optFns ...func(*docdb.Options)) (*docdb.RestoreDBClusterFromSnapshotOutput, error)

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

func (*IClient) RestoreDBClusterToPointInTime

func (_m *IClient) RestoreDBClusterToPointInTime(ctx context.Context, params *docdb.RestoreDBClusterToPointInTimeInput, optFns ...func(*docdb.Options)) (*docdb.RestoreDBClusterToPointInTimeOutput, error)

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

func (*IClient) StartDBCluster

func (_m *IClient) StartDBCluster(ctx context.Context, params *docdb.StartDBClusterInput, optFns ...func(*docdb.Options)) (*docdb.StartDBClusterOutput, error)

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

func (*IClient) StopDBCluster

func (_m *IClient) StopDBCluster(ctx context.Context, params *docdb.StopDBClusterInput, optFns ...func(*docdb.Options)) (*docdb.StopDBClusterOutput, error)

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

func (*IClient) SwitchoverGlobalCluster

func (_m *IClient) SwitchoverGlobalCluster(ctx context.Context, params *docdb.SwitchoverGlobalClusterInput, optFns ...func(*docdb.Options)) (*docdb.SwitchoverGlobalClusterOutput, error)

SwitchoverGlobalCluster 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