mocks

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 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) AcknowledgeJob

func (_m *IClient) AcknowledgeJob(ctx context.Context, params *codepipeline.AcknowledgeJobInput, optFns ...func(*codepipeline.Options)) (*codepipeline.AcknowledgeJobOutput, error)

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

func (*IClient) AcknowledgeThirdPartyJob

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

func (*IClient) CreateCustomActionType

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

func (*IClient) CreatePipeline

func (_m *IClient) CreatePipeline(ctx context.Context, params *codepipeline.CreatePipelineInput, optFns ...func(*codepipeline.Options)) (*codepipeline.CreatePipelineOutput, error)

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

func (*IClient) DeleteCustomActionType

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

func (*IClient) DeletePipeline

func (_m *IClient) DeletePipeline(ctx context.Context, params *codepipeline.DeletePipelineInput, optFns ...func(*codepipeline.Options)) (*codepipeline.DeletePipelineOutput, error)

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

func (*IClient) DeleteWebhook

func (_m *IClient) DeleteWebhook(ctx context.Context, params *codepipeline.DeleteWebhookInput, optFns ...func(*codepipeline.Options)) (*codepipeline.DeleteWebhookOutput, error)

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

func (*IClient) DeregisterWebhookWithThirdParty

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

func (*IClient) DisableStageTransition

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

func (*IClient) EnableStageTransition

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

func (*IClient) GetActionType

func (_m *IClient) GetActionType(ctx context.Context, params *codepipeline.GetActionTypeInput, optFns ...func(*codepipeline.Options)) (*codepipeline.GetActionTypeOutput, error)

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

func (*IClient) GetJobDetails

func (_m *IClient) GetJobDetails(ctx context.Context, params *codepipeline.GetJobDetailsInput, optFns ...func(*codepipeline.Options)) (*codepipeline.GetJobDetailsOutput, error)

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

func (*IClient) GetPipeline

func (_m *IClient) GetPipeline(ctx context.Context, params *codepipeline.GetPipelineInput, optFns ...func(*codepipeline.Options)) (*codepipeline.GetPipelineOutput, error)

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

func (*IClient) GetPipelineExecution

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

func (*IClient) GetPipelineState

func (_m *IClient) GetPipelineState(ctx context.Context, params *codepipeline.GetPipelineStateInput, optFns ...func(*codepipeline.Options)) (*codepipeline.GetPipelineStateOutput, error)

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

func (*IClient) GetThirdPartyJobDetails

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

func (*IClient) ListActionExecutions

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

func (*IClient) ListActionTypes

func (_m *IClient) ListActionTypes(ctx context.Context, params *codepipeline.ListActionTypesInput, optFns ...func(*codepipeline.Options)) (*codepipeline.ListActionTypesOutput, error)

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

func (*IClient) ListPipelineExecutions

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

func (*IClient) ListPipelines

func (_m *IClient) ListPipelines(ctx context.Context, params *codepipeline.ListPipelinesInput, optFns ...func(*codepipeline.Options)) (*codepipeline.ListPipelinesOutput, error)

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

func (*IClient) ListTagsForResource

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

func (*IClient) ListWebhooks

func (_m *IClient) ListWebhooks(ctx context.Context, params *codepipeline.ListWebhooksInput, optFns ...func(*codepipeline.Options)) (*codepipeline.ListWebhooksOutput, error)

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) PollForJobs

func (_m *IClient) PollForJobs(ctx context.Context, params *codepipeline.PollForJobsInput, optFns ...func(*codepipeline.Options)) (*codepipeline.PollForJobsOutput, error)

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

func (*IClient) PollForThirdPartyJobs

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

func (*IClient) PutActionRevision

func (_m *IClient) PutActionRevision(ctx context.Context, params *codepipeline.PutActionRevisionInput, optFns ...func(*codepipeline.Options)) (*codepipeline.PutActionRevisionOutput, error)

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

func (*IClient) PutApprovalResult

func (_m *IClient) PutApprovalResult(ctx context.Context, params *codepipeline.PutApprovalResultInput, optFns ...func(*codepipeline.Options)) (*codepipeline.PutApprovalResultOutput, error)

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

func (*IClient) PutJobFailureResult

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

func (*IClient) PutJobSuccessResult

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

func (*IClient) PutThirdPartyJobFailureResult

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

func (*IClient) PutThirdPartyJobSuccessResult

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

func (*IClient) PutWebhook

func (_m *IClient) PutWebhook(ctx context.Context, params *codepipeline.PutWebhookInput, optFns ...func(*codepipeline.Options)) (*codepipeline.PutWebhookOutput, error)

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

func (*IClient) RegisterWebhookWithThirdParty

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

func (*IClient) RetryStageExecution

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

func (*IClient) RollbackStage

func (_m *IClient) RollbackStage(ctx context.Context, params *codepipeline.RollbackStageInput, optFns ...func(*codepipeline.Options)) (*codepipeline.RollbackStageOutput, error)

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

func (*IClient) StartPipelineExecution

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

func (*IClient) StopPipelineExecution

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

func (*IClient) TagResource

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

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

func (*IClient) UntagResource

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

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

func (*IClient) UpdateActionType

func (_m *IClient) UpdateActionType(ctx context.Context, params *codepipeline.UpdateActionTypeInput, optFns ...func(*codepipeline.Options)) (*codepipeline.UpdateActionTypeOutput, error)

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

func (*IClient) UpdatePipeline

func (_m *IClient) UpdatePipeline(ctx context.Context, params *codepipeline.UpdatePipelineInput, optFns ...func(*codepipeline.Options)) (*codepipeline.UpdatePipelineOutput, error)

UpdatePipeline 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