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

func (_m *IClient) BatchUpdateRule(ctx context.Context, params *vpclattice.BatchUpdateRuleInput, optFns ...func(*vpclattice.Options)) (*vpclattice.BatchUpdateRuleOutput, error)

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

func (*IClient) CreateAccessLogSubscription

func (_m *IClient) CreateAccessLogSubscription(ctx context.Context, params *vpclattice.CreateAccessLogSubscriptionInput, optFns ...func(*vpclattice.Options)) (*vpclattice.CreateAccessLogSubscriptionOutput, error)

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

func (*IClient) CreateListener

func (_m *IClient) CreateListener(ctx context.Context, params *vpclattice.CreateListenerInput, optFns ...func(*vpclattice.Options)) (*vpclattice.CreateListenerOutput, error)

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

func (*IClient) CreateResourceConfiguration added in v0.1.0

func (_m *IClient) CreateResourceConfiguration(ctx context.Context, params *vpclattice.CreateResourceConfigurationInput, optFns ...func(*vpclattice.Options)) (*vpclattice.CreateResourceConfigurationOutput, error)

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

func (*IClient) CreateResourceGateway added in v0.1.0

func (_m *IClient) CreateResourceGateway(ctx context.Context, params *vpclattice.CreateResourceGatewayInput, optFns ...func(*vpclattice.Options)) (*vpclattice.CreateResourceGatewayOutput, error)

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

func (*IClient) CreateRule

func (_m *IClient) CreateRule(ctx context.Context, params *vpclattice.CreateRuleInput, optFns ...func(*vpclattice.Options)) (*vpclattice.CreateRuleOutput, error)

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

func (*IClient) CreateService

func (_m *IClient) CreateService(ctx context.Context, params *vpclattice.CreateServiceInput, optFns ...func(*vpclattice.Options)) (*vpclattice.CreateServiceOutput, error)

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

func (*IClient) CreateServiceNetwork

func (_m *IClient) CreateServiceNetwork(ctx context.Context, params *vpclattice.CreateServiceNetworkInput, optFns ...func(*vpclattice.Options)) (*vpclattice.CreateServiceNetworkOutput, error)

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

func (*IClient) CreateServiceNetworkResourceAssociation added in v0.1.0

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

func (*IClient) CreateServiceNetworkServiceAssociation

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

func (*IClient) CreateServiceNetworkVpcAssociation

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

func (*IClient) CreateTargetGroup

func (_m *IClient) CreateTargetGroup(ctx context.Context, params *vpclattice.CreateTargetGroupInput, optFns ...func(*vpclattice.Options)) (*vpclattice.CreateTargetGroupOutput, error)

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

func (*IClient) DeleteAccessLogSubscription

func (_m *IClient) DeleteAccessLogSubscription(ctx context.Context, params *vpclattice.DeleteAccessLogSubscriptionInput, optFns ...func(*vpclattice.Options)) (*vpclattice.DeleteAccessLogSubscriptionOutput, error)

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

func (*IClient) DeleteAuthPolicy

func (_m *IClient) DeleteAuthPolicy(ctx context.Context, params *vpclattice.DeleteAuthPolicyInput, optFns ...func(*vpclattice.Options)) (*vpclattice.DeleteAuthPolicyOutput, error)

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

func (*IClient) DeleteListener

func (_m *IClient) DeleteListener(ctx context.Context, params *vpclattice.DeleteListenerInput, optFns ...func(*vpclattice.Options)) (*vpclattice.DeleteListenerOutput, error)

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

func (*IClient) DeleteResourceConfiguration added in v0.1.0

func (_m *IClient) DeleteResourceConfiguration(ctx context.Context, params *vpclattice.DeleteResourceConfigurationInput, optFns ...func(*vpclattice.Options)) (*vpclattice.DeleteResourceConfigurationOutput, error)

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

func (*IClient) DeleteResourceEndpointAssociation added in v0.1.0

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

func (*IClient) DeleteResourceGateway added in v0.1.0

func (_m *IClient) DeleteResourceGateway(ctx context.Context, params *vpclattice.DeleteResourceGatewayInput, optFns ...func(*vpclattice.Options)) (*vpclattice.DeleteResourceGatewayOutput, error)

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

func (*IClient) DeleteResourcePolicy

func (_m *IClient) DeleteResourcePolicy(ctx context.Context, params *vpclattice.DeleteResourcePolicyInput, optFns ...func(*vpclattice.Options)) (*vpclattice.DeleteResourcePolicyOutput, error)

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

func (*IClient) DeleteRule

func (_m *IClient) DeleteRule(ctx context.Context, params *vpclattice.DeleteRuleInput, optFns ...func(*vpclattice.Options)) (*vpclattice.DeleteRuleOutput, error)

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

func (*IClient) DeleteService

func (_m *IClient) DeleteService(ctx context.Context, params *vpclattice.DeleteServiceInput, optFns ...func(*vpclattice.Options)) (*vpclattice.DeleteServiceOutput, error)

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

func (*IClient) DeleteServiceNetwork

func (_m *IClient) DeleteServiceNetwork(ctx context.Context, params *vpclattice.DeleteServiceNetworkInput, optFns ...func(*vpclattice.Options)) (*vpclattice.DeleteServiceNetworkOutput, error)

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

func (*IClient) DeleteServiceNetworkResourceAssociation added in v0.1.0

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

func (*IClient) DeleteServiceNetworkServiceAssociation

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

func (*IClient) DeleteServiceNetworkVpcAssociation

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

func (*IClient) DeleteTargetGroup

func (_m *IClient) DeleteTargetGroup(ctx context.Context, params *vpclattice.DeleteTargetGroupInput, optFns ...func(*vpclattice.Options)) (*vpclattice.DeleteTargetGroupOutput, error)

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

func (*IClient) DeregisterTargets

func (_m *IClient) DeregisterTargets(ctx context.Context, params *vpclattice.DeregisterTargetsInput, optFns ...func(*vpclattice.Options)) (*vpclattice.DeregisterTargetsOutput, error)

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

func (*IClient) GetAccessLogSubscription

func (_m *IClient) GetAccessLogSubscription(ctx context.Context, params *vpclattice.GetAccessLogSubscriptionInput, optFns ...func(*vpclattice.Options)) (*vpclattice.GetAccessLogSubscriptionOutput, error)

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

func (*IClient) GetAuthPolicy

func (_m *IClient) GetAuthPolicy(ctx context.Context, params *vpclattice.GetAuthPolicyInput, optFns ...func(*vpclattice.Options)) (*vpclattice.GetAuthPolicyOutput, error)

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

func (*IClient) GetListener

func (_m *IClient) GetListener(ctx context.Context, params *vpclattice.GetListenerInput, optFns ...func(*vpclattice.Options)) (*vpclattice.GetListenerOutput, error)

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

func (*IClient) GetResourceConfiguration added in v0.1.0

func (_m *IClient) GetResourceConfiguration(ctx context.Context, params *vpclattice.GetResourceConfigurationInput, optFns ...func(*vpclattice.Options)) (*vpclattice.GetResourceConfigurationOutput, error)

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

func (*IClient) GetResourceGateway added in v0.1.0

func (_m *IClient) GetResourceGateway(ctx context.Context, params *vpclattice.GetResourceGatewayInput, optFns ...func(*vpclattice.Options)) (*vpclattice.GetResourceGatewayOutput, error)

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

func (*IClient) GetResourcePolicy

func (_m *IClient) GetResourcePolicy(ctx context.Context, params *vpclattice.GetResourcePolicyInput, optFns ...func(*vpclattice.Options)) (*vpclattice.GetResourcePolicyOutput, error)

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

func (*IClient) GetRule

func (_m *IClient) GetRule(ctx context.Context, params *vpclattice.GetRuleInput, optFns ...func(*vpclattice.Options)) (*vpclattice.GetRuleOutput, error)

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

func (*IClient) GetService

func (_m *IClient) GetService(ctx context.Context, params *vpclattice.GetServiceInput, optFns ...func(*vpclattice.Options)) (*vpclattice.GetServiceOutput, error)

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

func (*IClient) GetServiceNetwork

func (_m *IClient) GetServiceNetwork(ctx context.Context, params *vpclattice.GetServiceNetworkInput, optFns ...func(*vpclattice.Options)) (*vpclattice.GetServiceNetworkOutput, error)

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

func (*IClient) GetServiceNetworkResourceAssociation added in v0.1.0

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

func (*IClient) GetServiceNetworkServiceAssociation

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

func (*IClient) GetServiceNetworkVpcAssociation

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

func (*IClient) GetTargetGroup

func (_m *IClient) GetTargetGroup(ctx context.Context, params *vpclattice.GetTargetGroupInput, optFns ...func(*vpclattice.Options)) (*vpclattice.GetTargetGroupOutput, error)

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

func (*IClient) ListAccessLogSubscriptions

func (_m *IClient) ListAccessLogSubscriptions(ctx context.Context, params *vpclattice.ListAccessLogSubscriptionsInput, optFns ...func(*vpclattice.Options)) (*vpclattice.ListAccessLogSubscriptionsOutput, error)

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

func (*IClient) ListListeners

func (_m *IClient) ListListeners(ctx context.Context, params *vpclattice.ListListenersInput, optFns ...func(*vpclattice.Options)) (*vpclattice.ListListenersOutput, error)

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

func (*IClient) ListResourceConfigurations added in v0.1.0

func (_m *IClient) ListResourceConfigurations(ctx context.Context, params *vpclattice.ListResourceConfigurationsInput, optFns ...func(*vpclattice.Options)) (*vpclattice.ListResourceConfigurationsOutput, error)

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

func (*IClient) ListResourceEndpointAssociations added in v0.1.0

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

func (*IClient) ListResourceGateways added in v0.1.0

func (_m *IClient) ListResourceGateways(ctx context.Context, params *vpclattice.ListResourceGatewaysInput, optFns ...func(*vpclattice.Options)) (*vpclattice.ListResourceGatewaysOutput, error)

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

func (*IClient) ListRules

func (_m *IClient) ListRules(ctx context.Context, params *vpclattice.ListRulesInput, optFns ...func(*vpclattice.Options)) (*vpclattice.ListRulesOutput, error)

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

func (*IClient) ListServiceNetworkResourceAssociations added in v0.1.0

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

func (*IClient) ListServiceNetworkServiceAssociations

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

func (*IClient) ListServiceNetworkVpcAssociations

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

func (*IClient) ListServiceNetworkVpcEndpointAssociations added in v0.1.0

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

func (*IClient) ListServiceNetworks

func (_m *IClient) ListServiceNetworks(ctx context.Context, params *vpclattice.ListServiceNetworksInput, optFns ...func(*vpclattice.Options)) (*vpclattice.ListServiceNetworksOutput, error)

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

func (*IClient) ListServices

func (_m *IClient) ListServices(ctx context.Context, params *vpclattice.ListServicesInput, optFns ...func(*vpclattice.Options)) (*vpclattice.ListServicesOutput, error)

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

func (*IClient) ListTagsForResource

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

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

func (*IClient) ListTargetGroups

func (_m *IClient) ListTargetGroups(ctx context.Context, params *vpclattice.ListTargetGroupsInput, optFns ...func(*vpclattice.Options)) (*vpclattice.ListTargetGroupsOutput, error)

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

func (*IClient) ListTargets

func (_m *IClient) ListTargets(ctx context.Context, params *vpclattice.ListTargetsInput, optFns ...func(*vpclattice.Options)) (*vpclattice.ListTargetsOutput, error)

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) PutAuthPolicy

func (_m *IClient) PutAuthPolicy(ctx context.Context, params *vpclattice.PutAuthPolicyInput, optFns ...func(*vpclattice.Options)) (*vpclattice.PutAuthPolicyOutput, error)

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

func (*IClient) PutResourcePolicy

func (_m *IClient) PutResourcePolicy(ctx context.Context, params *vpclattice.PutResourcePolicyInput, optFns ...func(*vpclattice.Options)) (*vpclattice.PutResourcePolicyOutput, error)

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

func (*IClient) RegisterTargets

func (_m *IClient) RegisterTargets(ctx context.Context, params *vpclattice.RegisterTargetsInput, optFns ...func(*vpclattice.Options)) (*vpclattice.RegisterTargetsOutput, error)

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

func (*IClient) TagResource

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

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

func (*IClient) UntagResource

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

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

func (*IClient) UpdateAccessLogSubscription

func (_m *IClient) UpdateAccessLogSubscription(ctx context.Context, params *vpclattice.UpdateAccessLogSubscriptionInput, optFns ...func(*vpclattice.Options)) (*vpclattice.UpdateAccessLogSubscriptionOutput, error)

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

func (*IClient) UpdateListener

func (_m *IClient) UpdateListener(ctx context.Context, params *vpclattice.UpdateListenerInput, optFns ...func(*vpclattice.Options)) (*vpclattice.UpdateListenerOutput, error)

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

func (*IClient) UpdateResourceConfiguration added in v0.1.0

func (_m *IClient) UpdateResourceConfiguration(ctx context.Context, params *vpclattice.UpdateResourceConfigurationInput, optFns ...func(*vpclattice.Options)) (*vpclattice.UpdateResourceConfigurationOutput, error)

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

func (*IClient) UpdateResourceGateway added in v0.1.0

func (_m *IClient) UpdateResourceGateway(ctx context.Context, params *vpclattice.UpdateResourceGatewayInput, optFns ...func(*vpclattice.Options)) (*vpclattice.UpdateResourceGatewayOutput, error)

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

func (*IClient) UpdateRule

func (_m *IClient) UpdateRule(ctx context.Context, params *vpclattice.UpdateRuleInput, optFns ...func(*vpclattice.Options)) (*vpclattice.UpdateRuleOutput, error)

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

func (*IClient) UpdateService

func (_m *IClient) UpdateService(ctx context.Context, params *vpclattice.UpdateServiceInput, optFns ...func(*vpclattice.Options)) (*vpclattice.UpdateServiceOutput, error)

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

func (*IClient) UpdateServiceNetwork

func (_m *IClient) UpdateServiceNetwork(ctx context.Context, params *vpclattice.UpdateServiceNetworkInput, optFns ...func(*vpclattice.Options)) (*vpclattice.UpdateServiceNetworkOutput, error)

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

func (*IClient) UpdateServiceNetworkVpcAssociation

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

func (*IClient) UpdateTargetGroup

func (_m *IClient) UpdateTargetGroup(ctx context.Context, params *vpclattice.UpdateTargetGroupInput, optFns ...func(*vpclattice.Options)) (*vpclattice.UpdateTargetGroupOutput, error)

UpdateTargetGroup 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