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) AcceptInboundConnection

func (_m *IClient) AcceptInboundConnection(ctx context.Context, params *opensearch.AcceptInboundConnectionInput, optFns ...func(*opensearch.Options)) (*opensearch.AcceptInboundConnectionOutput, error)

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

func (*IClient) AddDataSource

func (_m *IClient) AddDataSource(ctx context.Context, params *opensearch.AddDataSourceInput, optFns ...func(*opensearch.Options)) (*opensearch.AddDataSourceOutput, error)

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

func (*IClient) AddTags

func (_m *IClient) AddTags(ctx context.Context, params *opensearch.AddTagsInput, optFns ...func(*opensearch.Options)) (*opensearch.AddTagsOutput, error)

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

func (*IClient) AssociatePackage

func (_m *IClient) AssociatePackage(ctx context.Context, params *opensearch.AssociatePackageInput, optFns ...func(*opensearch.Options)) (*opensearch.AssociatePackageOutput, error)

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

func (*IClient) AuthorizeVpcEndpointAccess

func (_m *IClient) AuthorizeVpcEndpointAccess(ctx context.Context, params *opensearch.AuthorizeVpcEndpointAccessInput, optFns ...func(*opensearch.Options)) (*opensearch.AuthorizeVpcEndpointAccessOutput, error)

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

func (*IClient) CancelDomainConfigChange

func (_m *IClient) CancelDomainConfigChange(ctx context.Context, params *opensearch.CancelDomainConfigChangeInput, optFns ...func(*opensearch.Options)) (*opensearch.CancelDomainConfigChangeOutput, error)

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

func (*IClient) CancelServiceSoftwareUpdate

func (_m *IClient) CancelServiceSoftwareUpdate(ctx context.Context, params *opensearch.CancelServiceSoftwareUpdateInput, optFns ...func(*opensearch.Options)) (*opensearch.CancelServiceSoftwareUpdateOutput, error)

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

func (*IClient) CreateDomain

func (_m *IClient) CreateDomain(ctx context.Context, params *opensearch.CreateDomainInput, optFns ...func(*opensearch.Options)) (*opensearch.CreateDomainOutput, error)

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

func (*IClient) CreateOutboundConnection

func (_m *IClient) CreateOutboundConnection(ctx context.Context, params *opensearch.CreateOutboundConnectionInput, optFns ...func(*opensearch.Options)) (*opensearch.CreateOutboundConnectionOutput, error)

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

func (*IClient) CreatePackage

func (_m *IClient) CreatePackage(ctx context.Context, params *opensearch.CreatePackageInput, optFns ...func(*opensearch.Options)) (*opensearch.CreatePackageOutput, error)

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

func (*IClient) CreateVpcEndpoint

func (_m *IClient) CreateVpcEndpoint(ctx context.Context, params *opensearch.CreateVpcEndpointInput, optFns ...func(*opensearch.Options)) (*opensearch.CreateVpcEndpointOutput, error)

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

func (*IClient) DeleteDataSource

func (_m *IClient) DeleteDataSource(ctx context.Context, params *opensearch.DeleteDataSourceInput, optFns ...func(*opensearch.Options)) (*opensearch.DeleteDataSourceOutput, error)

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

func (*IClient) DeleteDomain

func (_m *IClient) DeleteDomain(ctx context.Context, params *opensearch.DeleteDomainInput, optFns ...func(*opensearch.Options)) (*opensearch.DeleteDomainOutput, error)

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

func (*IClient) DeleteInboundConnection

func (_m *IClient) DeleteInboundConnection(ctx context.Context, params *opensearch.DeleteInboundConnectionInput, optFns ...func(*opensearch.Options)) (*opensearch.DeleteInboundConnectionOutput, error)

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

func (*IClient) DeleteOutboundConnection

func (_m *IClient) DeleteOutboundConnection(ctx context.Context, params *opensearch.DeleteOutboundConnectionInput, optFns ...func(*opensearch.Options)) (*opensearch.DeleteOutboundConnectionOutput, error)

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

func (*IClient) DeletePackage

func (_m *IClient) DeletePackage(ctx context.Context, params *opensearch.DeletePackageInput, optFns ...func(*opensearch.Options)) (*opensearch.DeletePackageOutput, error)

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

func (*IClient) DeleteVpcEndpoint

func (_m *IClient) DeleteVpcEndpoint(ctx context.Context, params *opensearch.DeleteVpcEndpointInput, optFns ...func(*opensearch.Options)) (*opensearch.DeleteVpcEndpointOutput, error)

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

func (*IClient) DescribeDomain

func (_m *IClient) DescribeDomain(ctx context.Context, params *opensearch.DescribeDomainInput, optFns ...func(*opensearch.Options)) (*opensearch.DescribeDomainOutput, error)

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

func (*IClient) DescribeDomainAutoTunes

func (_m *IClient) DescribeDomainAutoTunes(ctx context.Context, params *opensearch.DescribeDomainAutoTunesInput, optFns ...func(*opensearch.Options)) (*opensearch.DescribeDomainAutoTunesOutput, error)

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

func (*IClient) DescribeDomainChangeProgress

func (_m *IClient) DescribeDomainChangeProgress(ctx context.Context, params *opensearch.DescribeDomainChangeProgressInput, optFns ...func(*opensearch.Options)) (*opensearch.DescribeDomainChangeProgressOutput, error)

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

func (*IClient) DescribeDomainConfig

func (_m *IClient) DescribeDomainConfig(ctx context.Context, params *opensearch.DescribeDomainConfigInput, optFns ...func(*opensearch.Options)) (*opensearch.DescribeDomainConfigOutput, error)

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

func (*IClient) DescribeDomainHealth

func (_m *IClient) DescribeDomainHealth(ctx context.Context, params *opensearch.DescribeDomainHealthInput, optFns ...func(*opensearch.Options)) (*opensearch.DescribeDomainHealthOutput, error)

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

func (*IClient) DescribeDomainNodes

func (_m *IClient) DescribeDomainNodes(ctx context.Context, params *opensearch.DescribeDomainNodesInput, optFns ...func(*opensearch.Options)) (*opensearch.DescribeDomainNodesOutput, error)

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

func (*IClient) DescribeDomains

func (_m *IClient) DescribeDomains(ctx context.Context, params *opensearch.DescribeDomainsInput, optFns ...func(*opensearch.Options)) (*opensearch.DescribeDomainsOutput, error)

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

func (*IClient) DescribeDryRunProgress

func (_m *IClient) DescribeDryRunProgress(ctx context.Context, params *opensearch.DescribeDryRunProgressInput, optFns ...func(*opensearch.Options)) (*opensearch.DescribeDryRunProgressOutput, error)

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

func (*IClient) DescribeInboundConnections

func (_m *IClient) DescribeInboundConnections(ctx context.Context, params *opensearch.DescribeInboundConnectionsInput, optFns ...func(*opensearch.Options)) (*opensearch.DescribeInboundConnectionsOutput, error)

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

func (*IClient) DescribeInstanceTypeLimits

func (_m *IClient) DescribeInstanceTypeLimits(ctx context.Context, params *opensearch.DescribeInstanceTypeLimitsInput, optFns ...func(*opensearch.Options)) (*opensearch.DescribeInstanceTypeLimitsOutput, error)

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

func (*IClient) DescribeOutboundConnections

func (_m *IClient) DescribeOutboundConnections(ctx context.Context, params *opensearch.DescribeOutboundConnectionsInput, optFns ...func(*opensearch.Options)) (*opensearch.DescribeOutboundConnectionsOutput, error)

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

func (*IClient) DescribePackages

func (_m *IClient) DescribePackages(ctx context.Context, params *opensearch.DescribePackagesInput, optFns ...func(*opensearch.Options)) (*opensearch.DescribePackagesOutput, error)

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

func (*IClient) DescribeReservedInstanceOfferings

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

func (*IClient) DescribeReservedInstances

func (_m *IClient) DescribeReservedInstances(ctx context.Context, params *opensearch.DescribeReservedInstancesInput, optFns ...func(*opensearch.Options)) (*opensearch.DescribeReservedInstancesOutput, error)

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

func (*IClient) DescribeVpcEndpoints

func (_m *IClient) DescribeVpcEndpoints(ctx context.Context, params *opensearch.DescribeVpcEndpointsInput, optFns ...func(*opensearch.Options)) (*opensearch.DescribeVpcEndpointsOutput, error)

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

func (*IClient) DissociatePackage

func (_m *IClient) DissociatePackage(ctx context.Context, params *opensearch.DissociatePackageInput, optFns ...func(*opensearch.Options)) (*opensearch.DissociatePackageOutput, error)

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

func (*IClient) GetCompatibleVersions

func (_m *IClient) GetCompatibleVersions(ctx context.Context, params *opensearch.GetCompatibleVersionsInput, optFns ...func(*opensearch.Options)) (*opensearch.GetCompatibleVersionsOutput, error)

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

func (*IClient) GetDataSource

func (_m *IClient) GetDataSource(ctx context.Context, params *opensearch.GetDataSourceInput, optFns ...func(*opensearch.Options)) (*opensearch.GetDataSourceOutput, error)

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

func (*IClient) GetDomainMaintenanceStatus

func (_m *IClient) GetDomainMaintenanceStatus(ctx context.Context, params *opensearch.GetDomainMaintenanceStatusInput, optFns ...func(*opensearch.Options)) (*opensearch.GetDomainMaintenanceStatusOutput, error)

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

func (*IClient) GetPackageVersionHistory

func (_m *IClient) GetPackageVersionHistory(ctx context.Context, params *opensearch.GetPackageVersionHistoryInput, optFns ...func(*opensearch.Options)) (*opensearch.GetPackageVersionHistoryOutput, error)

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

func (*IClient) GetUpgradeHistory

func (_m *IClient) GetUpgradeHistory(ctx context.Context, params *opensearch.GetUpgradeHistoryInput, optFns ...func(*opensearch.Options)) (*opensearch.GetUpgradeHistoryOutput, error)

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

func (*IClient) GetUpgradeStatus

func (_m *IClient) GetUpgradeStatus(ctx context.Context, params *opensearch.GetUpgradeStatusInput, optFns ...func(*opensearch.Options)) (*opensearch.GetUpgradeStatusOutput, error)

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

func (*IClient) ListDataSources

func (_m *IClient) ListDataSources(ctx context.Context, params *opensearch.ListDataSourcesInput, optFns ...func(*opensearch.Options)) (*opensearch.ListDataSourcesOutput, error)

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

func (*IClient) ListDomainMaintenances

func (_m *IClient) ListDomainMaintenances(ctx context.Context, params *opensearch.ListDomainMaintenancesInput, optFns ...func(*opensearch.Options)) (*opensearch.ListDomainMaintenancesOutput, error)

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

func (*IClient) ListDomainNames

func (_m *IClient) ListDomainNames(ctx context.Context, params *opensearch.ListDomainNamesInput, optFns ...func(*opensearch.Options)) (*opensearch.ListDomainNamesOutput, error)

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

func (*IClient) ListDomainsForPackage

func (_m *IClient) ListDomainsForPackage(ctx context.Context, params *opensearch.ListDomainsForPackageInput, optFns ...func(*opensearch.Options)) (*opensearch.ListDomainsForPackageOutput, error)

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

func (*IClient) ListInstanceTypeDetails

func (_m *IClient) ListInstanceTypeDetails(ctx context.Context, params *opensearch.ListInstanceTypeDetailsInput, optFns ...func(*opensearch.Options)) (*opensearch.ListInstanceTypeDetailsOutput, error)

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

func (*IClient) ListPackagesForDomain

func (_m *IClient) ListPackagesForDomain(ctx context.Context, params *opensearch.ListPackagesForDomainInput, optFns ...func(*opensearch.Options)) (*opensearch.ListPackagesForDomainOutput, error)

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

func (*IClient) ListScheduledActions

func (_m *IClient) ListScheduledActions(ctx context.Context, params *opensearch.ListScheduledActionsInput, optFns ...func(*opensearch.Options)) (*opensearch.ListScheduledActionsOutput, error)

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

func (*IClient) ListTags

func (_m *IClient) ListTags(ctx context.Context, params *opensearch.ListTagsInput, optFns ...func(*opensearch.Options)) (*opensearch.ListTagsOutput, error)

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

func (*IClient) ListVersions

func (_m *IClient) ListVersions(ctx context.Context, params *opensearch.ListVersionsInput, optFns ...func(*opensearch.Options)) (*opensearch.ListVersionsOutput, error)

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

func (*IClient) ListVpcEndpointAccess

func (_m *IClient) ListVpcEndpointAccess(ctx context.Context, params *opensearch.ListVpcEndpointAccessInput, optFns ...func(*opensearch.Options)) (*opensearch.ListVpcEndpointAccessOutput, error)

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

func (*IClient) ListVpcEndpoints

func (_m *IClient) ListVpcEndpoints(ctx context.Context, params *opensearch.ListVpcEndpointsInput, optFns ...func(*opensearch.Options)) (*opensearch.ListVpcEndpointsOutput, error)

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

func (*IClient) ListVpcEndpointsForDomain

func (_m *IClient) ListVpcEndpointsForDomain(ctx context.Context, params *opensearch.ListVpcEndpointsForDomainInput, optFns ...func(*opensearch.Options)) (*opensearch.ListVpcEndpointsForDomainOutput, error)

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) PurchaseReservedInstanceOffering

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

func (*IClient) RejectInboundConnection

func (_m *IClient) RejectInboundConnection(ctx context.Context, params *opensearch.RejectInboundConnectionInput, optFns ...func(*opensearch.Options)) (*opensearch.RejectInboundConnectionOutput, error)

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

func (*IClient) RemoveTags

func (_m *IClient) RemoveTags(ctx context.Context, params *opensearch.RemoveTagsInput, optFns ...func(*opensearch.Options)) (*opensearch.RemoveTagsOutput, error)

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

func (*IClient) RevokeVpcEndpointAccess

func (_m *IClient) RevokeVpcEndpointAccess(ctx context.Context, params *opensearch.RevokeVpcEndpointAccessInput, optFns ...func(*opensearch.Options)) (*opensearch.RevokeVpcEndpointAccessOutput, error)

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

func (*IClient) StartDomainMaintenance

func (_m *IClient) StartDomainMaintenance(ctx context.Context, params *opensearch.StartDomainMaintenanceInput, optFns ...func(*opensearch.Options)) (*opensearch.StartDomainMaintenanceOutput, error)

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

func (*IClient) StartServiceSoftwareUpdate

func (_m *IClient) StartServiceSoftwareUpdate(ctx context.Context, params *opensearch.StartServiceSoftwareUpdateInput, optFns ...func(*opensearch.Options)) (*opensearch.StartServiceSoftwareUpdateOutput, error)

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

func (*IClient) UpdateDataSource

func (_m *IClient) UpdateDataSource(ctx context.Context, params *opensearch.UpdateDataSourceInput, optFns ...func(*opensearch.Options)) (*opensearch.UpdateDataSourceOutput, error)

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

func (*IClient) UpdateDomainConfig

func (_m *IClient) UpdateDomainConfig(ctx context.Context, params *opensearch.UpdateDomainConfigInput, optFns ...func(*opensearch.Options)) (*opensearch.UpdateDomainConfigOutput, error)

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

func (*IClient) UpdatePackage

func (_m *IClient) UpdatePackage(ctx context.Context, params *opensearch.UpdatePackageInput, optFns ...func(*opensearch.Options)) (*opensearch.UpdatePackageOutput, error)

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

func (*IClient) UpdateScheduledAction

func (_m *IClient) UpdateScheduledAction(ctx context.Context, params *opensearch.UpdateScheduledActionInput, optFns ...func(*opensearch.Options)) (*opensearch.UpdateScheduledActionOutput, error)

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

func (*IClient) UpdateVpcEndpoint

func (_m *IClient) UpdateVpcEndpoint(ctx context.Context, params *opensearch.UpdateVpcEndpointInput, optFns ...func(*opensearch.Options)) (*opensearch.UpdateVpcEndpointOutput, error)

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

func (*IClient) UpgradeDomain

func (_m *IClient) UpgradeDomain(ctx context.Context, params *opensearch.UpgradeDomainInput, optFns ...func(*opensearch.Options)) (*opensearch.UpgradeDomainOutput, error)

UpgradeDomain 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