mocks

package
v0.1.0-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) AddTagsToOnPremisesInstances

func (_m *IClient) AddTagsToOnPremisesInstances(ctx context.Context, params *codedeploy.AddTagsToOnPremisesInstancesInput, optFns ...func(*codedeploy.Options)) (*codedeploy.AddTagsToOnPremisesInstancesOutput, error)

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

func (*IClient) BatchGetApplicationRevisions

func (_m *IClient) BatchGetApplicationRevisions(ctx context.Context, params *codedeploy.BatchGetApplicationRevisionsInput, optFns ...func(*codedeploy.Options)) (*codedeploy.BatchGetApplicationRevisionsOutput, error)

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

func (*IClient) BatchGetApplications

func (_m *IClient) BatchGetApplications(ctx context.Context, params *codedeploy.BatchGetApplicationsInput, optFns ...func(*codedeploy.Options)) (*codedeploy.BatchGetApplicationsOutput, error)

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

func (*IClient) BatchGetDeploymentGroups

func (_m *IClient) BatchGetDeploymentGroups(ctx context.Context, params *codedeploy.BatchGetDeploymentGroupsInput, optFns ...func(*codedeploy.Options)) (*codedeploy.BatchGetDeploymentGroupsOutput, error)

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

func (*IClient) BatchGetDeploymentInstances

func (_m *IClient) BatchGetDeploymentInstances(ctx context.Context, params *codedeploy.BatchGetDeploymentInstancesInput, optFns ...func(*codedeploy.Options)) (*codedeploy.BatchGetDeploymentInstancesOutput, error)

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

func (*IClient) BatchGetDeploymentTargets

func (_m *IClient) BatchGetDeploymentTargets(ctx context.Context, params *codedeploy.BatchGetDeploymentTargetsInput, optFns ...func(*codedeploy.Options)) (*codedeploy.BatchGetDeploymentTargetsOutput, error)

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

func (*IClient) BatchGetDeployments

func (_m *IClient) BatchGetDeployments(ctx context.Context, params *codedeploy.BatchGetDeploymentsInput, optFns ...func(*codedeploy.Options)) (*codedeploy.BatchGetDeploymentsOutput, error)

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

func (*IClient) BatchGetOnPremisesInstances

func (_m *IClient) BatchGetOnPremisesInstances(ctx context.Context, params *codedeploy.BatchGetOnPremisesInstancesInput, optFns ...func(*codedeploy.Options)) (*codedeploy.BatchGetOnPremisesInstancesOutput, error)

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

func (*IClient) ContinueDeployment

func (_m *IClient) ContinueDeployment(ctx context.Context, params *codedeploy.ContinueDeploymentInput, optFns ...func(*codedeploy.Options)) (*codedeploy.ContinueDeploymentOutput, error)

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

func (*IClient) CreateApplication

func (_m *IClient) CreateApplication(ctx context.Context, params *codedeploy.CreateApplicationInput, optFns ...func(*codedeploy.Options)) (*codedeploy.CreateApplicationOutput, error)

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

func (*IClient) CreateDeployment

func (_m *IClient) CreateDeployment(ctx context.Context, params *codedeploy.CreateDeploymentInput, optFns ...func(*codedeploy.Options)) (*codedeploy.CreateDeploymentOutput, error)

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

func (*IClient) CreateDeploymentConfig

func (_m *IClient) CreateDeploymentConfig(ctx context.Context, params *codedeploy.CreateDeploymentConfigInput, optFns ...func(*codedeploy.Options)) (*codedeploy.CreateDeploymentConfigOutput, error)

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

func (*IClient) CreateDeploymentGroup

func (_m *IClient) CreateDeploymentGroup(ctx context.Context, params *codedeploy.CreateDeploymentGroupInput, optFns ...func(*codedeploy.Options)) (*codedeploy.CreateDeploymentGroupOutput, error)

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

func (*IClient) DeleteApplication

func (_m *IClient) DeleteApplication(ctx context.Context, params *codedeploy.DeleteApplicationInput, optFns ...func(*codedeploy.Options)) (*codedeploy.DeleteApplicationOutput, error)

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

func (*IClient) DeleteDeploymentConfig

func (_m *IClient) DeleteDeploymentConfig(ctx context.Context, params *codedeploy.DeleteDeploymentConfigInput, optFns ...func(*codedeploy.Options)) (*codedeploy.DeleteDeploymentConfigOutput, error)

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

func (*IClient) DeleteDeploymentGroup

func (_m *IClient) DeleteDeploymentGroup(ctx context.Context, params *codedeploy.DeleteDeploymentGroupInput, optFns ...func(*codedeploy.Options)) (*codedeploy.DeleteDeploymentGroupOutput, error)

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

func (*IClient) DeleteGitHubAccountToken

func (_m *IClient) DeleteGitHubAccountToken(ctx context.Context, params *codedeploy.DeleteGitHubAccountTokenInput, optFns ...func(*codedeploy.Options)) (*codedeploy.DeleteGitHubAccountTokenOutput, error)

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

func (*IClient) DeleteResourcesByExternalId

func (_m *IClient) DeleteResourcesByExternalId(ctx context.Context, params *codedeploy.DeleteResourcesByExternalIdInput, optFns ...func(*codedeploy.Options)) (*codedeploy.DeleteResourcesByExternalIdOutput, error)

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

func (*IClient) DeregisterOnPremisesInstance

func (_m *IClient) DeregisterOnPremisesInstance(ctx context.Context, params *codedeploy.DeregisterOnPremisesInstanceInput, optFns ...func(*codedeploy.Options)) (*codedeploy.DeregisterOnPremisesInstanceOutput, error)

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

func (*IClient) GetApplication

func (_m *IClient) GetApplication(ctx context.Context, params *codedeploy.GetApplicationInput, optFns ...func(*codedeploy.Options)) (*codedeploy.GetApplicationOutput, error)

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

func (*IClient) GetApplicationRevision

func (_m *IClient) GetApplicationRevision(ctx context.Context, params *codedeploy.GetApplicationRevisionInput, optFns ...func(*codedeploy.Options)) (*codedeploy.GetApplicationRevisionOutput, error)

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

func (*IClient) GetDeployment

func (_m *IClient) GetDeployment(ctx context.Context, params *codedeploy.GetDeploymentInput, optFns ...func(*codedeploy.Options)) (*codedeploy.GetDeploymentOutput, error)

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

func (*IClient) GetDeploymentConfig

func (_m *IClient) GetDeploymentConfig(ctx context.Context, params *codedeploy.GetDeploymentConfigInput, optFns ...func(*codedeploy.Options)) (*codedeploy.GetDeploymentConfigOutput, error)

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

func (*IClient) GetDeploymentGroup

func (_m *IClient) GetDeploymentGroup(ctx context.Context, params *codedeploy.GetDeploymentGroupInput, optFns ...func(*codedeploy.Options)) (*codedeploy.GetDeploymentGroupOutput, error)

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

func (*IClient) GetDeploymentInstance

func (_m *IClient) GetDeploymentInstance(ctx context.Context, params *codedeploy.GetDeploymentInstanceInput, optFns ...func(*codedeploy.Options)) (*codedeploy.GetDeploymentInstanceOutput, error)

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

func (*IClient) GetDeploymentTarget

func (_m *IClient) GetDeploymentTarget(ctx context.Context, params *codedeploy.GetDeploymentTargetInput, optFns ...func(*codedeploy.Options)) (*codedeploy.GetDeploymentTargetOutput, error)

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

func (*IClient) GetOnPremisesInstance

func (_m *IClient) GetOnPremisesInstance(ctx context.Context, params *codedeploy.GetOnPremisesInstanceInput, optFns ...func(*codedeploy.Options)) (*codedeploy.GetOnPremisesInstanceOutput, error)

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

func (*IClient) ListApplicationRevisions

func (_m *IClient) ListApplicationRevisions(ctx context.Context, params *codedeploy.ListApplicationRevisionsInput, optFns ...func(*codedeploy.Options)) (*codedeploy.ListApplicationRevisionsOutput, error)

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

func (*IClient) ListApplications

func (_m *IClient) ListApplications(ctx context.Context, params *codedeploy.ListApplicationsInput, optFns ...func(*codedeploy.Options)) (*codedeploy.ListApplicationsOutput, error)

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

func (*IClient) ListDeploymentConfigs

func (_m *IClient) ListDeploymentConfigs(ctx context.Context, params *codedeploy.ListDeploymentConfigsInput, optFns ...func(*codedeploy.Options)) (*codedeploy.ListDeploymentConfigsOutput, error)

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

func (*IClient) ListDeploymentGroups

func (_m *IClient) ListDeploymentGroups(ctx context.Context, params *codedeploy.ListDeploymentGroupsInput, optFns ...func(*codedeploy.Options)) (*codedeploy.ListDeploymentGroupsOutput, error)

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

func (*IClient) ListDeploymentInstances

func (_m *IClient) ListDeploymentInstances(ctx context.Context, params *codedeploy.ListDeploymentInstancesInput, optFns ...func(*codedeploy.Options)) (*codedeploy.ListDeploymentInstancesOutput, error)

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

func (*IClient) ListDeploymentTargets

func (_m *IClient) ListDeploymentTargets(ctx context.Context, params *codedeploy.ListDeploymentTargetsInput, optFns ...func(*codedeploy.Options)) (*codedeploy.ListDeploymentTargetsOutput, error)

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

func (*IClient) ListDeployments

func (_m *IClient) ListDeployments(ctx context.Context, params *codedeploy.ListDeploymentsInput, optFns ...func(*codedeploy.Options)) (*codedeploy.ListDeploymentsOutput, error)

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

func (*IClient) ListGitHubAccountTokenNames

func (_m *IClient) ListGitHubAccountTokenNames(ctx context.Context, params *codedeploy.ListGitHubAccountTokenNamesInput, optFns ...func(*codedeploy.Options)) (*codedeploy.ListGitHubAccountTokenNamesOutput, error)

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

func (*IClient) ListOnPremisesInstances

func (_m *IClient) ListOnPremisesInstances(ctx context.Context, params *codedeploy.ListOnPremisesInstancesInput, optFns ...func(*codedeploy.Options)) (*codedeploy.ListOnPremisesInstancesOutput, error)

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

func (*IClient) ListTagsForResource

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

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) PutLifecycleEventHookExecutionStatus

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

func (*IClient) RegisterApplicationRevision

func (_m *IClient) RegisterApplicationRevision(ctx context.Context, params *codedeploy.RegisterApplicationRevisionInput, optFns ...func(*codedeploy.Options)) (*codedeploy.RegisterApplicationRevisionOutput, error)

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

func (*IClient) RegisterOnPremisesInstance

func (_m *IClient) RegisterOnPremisesInstance(ctx context.Context, params *codedeploy.RegisterOnPremisesInstanceInput, optFns ...func(*codedeploy.Options)) (*codedeploy.RegisterOnPremisesInstanceOutput, error)

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

func (*IClient) RemoveTagsFromOnPremisesInstances

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

func (*IClient) SkipWaitTimeForInstanceTermination

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

func (*IClient) StopDeployment

func (_m *IClient) StopDeployment(ctx context.Context, params *codedeploy.StopDeploymentInput, optFns ...func(*codedeploy.Options)) (*codedeploy.StopDeploymentOutput, error)

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

func (*IClient) TagResource

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

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

func (*IClient) UntagResource

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

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

func (*IClient) UpdateApplication

func (_m *IClient) UpdateApplication(ctx context.Context, params *codedeploy.UpdateApplicationInput, optFns ...func(*codedeploy.Options)) (*codedeploy.UpdateApplicationOutput, error)

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

func (*IClient) UpdateDeploymentGroup

func (_m *IClient) UpdateDeploymentGroup(ctx context.Context, params *codedeploy.UpdateDeploymentGroupInput, optFns ...func(*codedeploy.Options)) (*codedeploy.UpdateDeploymentGroupOutput, error)

UpdateDeploymentGroup 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