mocks

package
v0.0.9 Latest Latest
Warning

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

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

func (_m *IClient) BatchDeleteBuilds(ctx context.Context, params *codebuild.BatchDeleteBuildsInput, optFns ...func(*codebuild.Options)) (*codebuild.BatchDeleteBuildsOutput, error)

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

func (*IClient) BatchGetBuildBatches

func (_m *IClient) BatchGetBuildBatches(ctx context.Context, params *codebuild.BatchGetBuildBatchesInput, optFns ...func(*codebuild.Options)) (*codebuild.BatchGetBuildBatchesOutput, error)

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

func (*IClient) BatchGetBuilds

func (_m *IClient) BatchGetBuilds(ctx context.Context, params *codebuild.BatchGetBuildsInput, optFns ...func(*codebuild.Options)) (*codebuild.BatchGetBuildsOutput, error)

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

func (*IClient) BatchGetFleets

func (_m *IClient) BatchGetFleets(ctx context.Context, params *codebuild.BatchGetFleetsInput, optFns ...func(*codebuild.Options)) (*codebuild.BatchGetFleetsOutput, error)

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

func (*IClient) BatchGetProjects

func (_m *IClient) BatchGetProjects(ctx context.Context, params *codebuild.BatchGetProjectsInput, optFns ...func(*codebuild.Options)) (*codebuild.BatchGetProjectsOutput, error)

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

func (*IClient) BatchGetReportGroups

func (_m *IClient) BatchGetReportGroups(ctx context.Context, params *codebuild.BatchGetReportGroupsInput, optFns ...func(*codebuild.Options)) (*codebuild.BatchGetReportGroupsOutput, error)

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

func (*IClient) BatchGetReports

func (_m *IClient) BatchGetReports(ctx context.Context, params *codebuild.BatchGetReportsInput, optFns ...func(*codebuild.Options)) (*codebuild.BatchGetReportsOutput, error)

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

func (*IClient) CreateFleet

func (_m *IClient) CreateFleet(ctx context.Context, params *codebuild.CreateFleetInput, optFns ...func(*codebuild.Options)) (*codebuild.CreateFleetOutput, error)

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

func (*IClient) CreateProject

func (_m *IClient) CreateProject(ctx context.Context, params *codebuild.CreateProjectInput, optFns ...func(*codebuild.Options)) (*codebuild.CreateProjectOutput, error)

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

func (*IClient) CreateReportGroup

func (_m *IClient) CreateReportGroup(ctx context.Context, params *codebuild.CreateReportGroupInput, optFns ...func(*codebuild.Options)) (*codebuild.CreateReportGroupOutput, error)

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

func (*IClient) CreateWebhook

func (_m *IClient) CreateWebhook(ctx context.Context, params *codebuild.CreateWebhookInput, optFns ...func(*codebuild.Options)) (*codebuild.CreateWebhookOutput, error)

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

func (*IClient) DeleteBuildBatch

func (_m *IClient) DeleteBuildBatch(ctx context.Context, params *codebuild.DeleteBuildBatchInput, optFns ...func(*codebuild.Options)) (*codebuild.DeleteBuildBatchOutput, error)

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

func (*IClient) DeleteFleet

func (_m *IClient) DeleteFleet(ctx context.Context, params *codebuild.DeleteFleetInput, optFns ...func(*codebuild.Options)) (*codebuild.DeleteFleetOutput, error)

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

func (*IClient) DeleteProject

func (_m *IClient) DeleteProject(ctx context.Context, params *codebuild.DeleteProjectInput, optFns ...func(*codebuild.Options)) (*codebuild.DeleteProjectOutput, error)

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

func (*IClient) DeleteReport

func (_m *IClient) DeleteReport(ctx context.Context, params *codebuild.DeleteReportInput, optFns ...func(*codebuild.Options)) (*codebuild.DeleteReportOutput, error)

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

func (*IClient) DeleteReportGroup

func (_m *IClient) DeleteReportGroup(ctx context.Context, params *codebuild.DeleteReportGroupInput, optFns ...func(*codebuild.Options)) (*codebuild.DeleteReportGroupOutput, error)

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

func (*IClient) DeleteResourcePolicy

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

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

func (*IClient) DeleteSourceCredentials

func (_m *IClient) DeleteSourceCredentials(ctx context.Context, params *codebuild.DeleteSourceCredentialsInput, optFns ...func(*codebuild.Options)) (*codebuild.DeleteSourceCredentialsOutput, error)

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

func (*IClient) DeleteWebhook

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

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

func (*IClient) DescribeCodeCoverages

func (_m *IClient) DescribeCodeCoverages(ctx context.Context, params *codebuild.DescribeCodeCoveragesInput, optFns ...func(*codebuild.Options)) (*codebuild.DescribeCodeCoveragesOutput, error)

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

func (*IClient) DescribeTestCases

func (_m *IClient) DescribeTestCases(ctx context.Context, params *codebuild.DescribeTestCasesInput, optFns ...func(*codebuild.Options)) (*codebuild.DescribeTestCasesOutput, error)

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

func (*IClient) GetReportGroupTrend

func (_m *IClient) GetReportGroupTrend(ctx context.Context, params *codebuild.GetReportGroupTrendInput, optFns ...func(*codebuild.Options)) (*codebuild.GetReportGroupTrendOutput, error)

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

func (*IClient) GetResourcePolicy

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

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

func (*IClient) ImportSourceCredentials

func (_m *IClient) ImportSourceCredentials(ctx context.Context, params *codebuild.ImportSourceCredentialsInput, optFns ...func(*codebuild.Options)) (*codebuild.ImportSourceCredentialsOutput, error)

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

func (*IClient) InvalidateProjectCache

func (_m *IClient) InvalidateProjectCache(ctx context.Context, params *codebuild.InvalidateProjectCacheInput, optFns ...func(*codebuild.Options)) (*codebuild.InvalidateProjectCacheOutput, error)

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

func (*IClient) ListBuildBatches

func (_m *IClient) ListBuildBatches(ctx context.Context, params *codebuild.ListBuildBatchesInput, optFns ...func(*codebuild.Options)) (*codebuild.ListBuildBatchesOutput, error)

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

func (*IClient) ListBuildBatchesForProject

func (_m *IClient) ListBuildBatchesForProject(ctx context.Context, params *codebuild.ListBuildBatchesForProjectInput, optFns ...func(*codebuild.Options)) (*codebuild.ListBuildBatchesForProjectOutput, error)

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

func (*IClient) ListBuilds

func (_m *IClient) ListBuilds(ctx context.Context, params *codebuild.ListBuildsInput, optFns ...func(*codebuild.Options)) (*codebuild.ListBuildsOutput, error)

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

func (*IClient) ListBuildsForProject

func (_m *IClient) ListBuildsForProject(ctx context.Context, params *codebuild.ListBuildsForProjectInput, optFns ...func(*codebuild.Options)) (*codebuild.ListBuildsForProjectOutput, error)

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

func (*IClient) ListCuratedEnvironmentImages

func (_m *IClient) ListCuratedEnvironmentImages(ctx context.Context, params *codebuild.ListCuratedEnvironmentImagesInput, optFns ...func(*codebuild.Options)) (*codebuild.ListCuratedEnvironmentImagesOutput, error)

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

func (*IClient) ListFleets

func (_m *IClient) ListFleets(ctx context.Context, params *codebuild.ListFleetsInput, optFns ...func(*codebuild.Options)) (*codebuild.ListFleetsOutput, error)

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

func (*IClient) ListProjects

func (_m *IClient) ListProjects(ctx context.Context, params *codebuild.ListProjectsInput, optFns ...func(*codebuild.Options)) (*codebuild.ListProjectsOutput, error)

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

func (*IClient) ListReportGroups

func (_m *IClient) ListReportGroups(ctx context.Context, params *codebuild.ListReportGroupsInput, optFns ...func(*codebuild.Options)) (*codebuild.ListReportGroupsOutput, error)

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

func (*IClient) ListReports

func (_m *IClient) ListReports(ctx context.Context, params *codebuild.ListReportsInput, optFns ...func(*codebuild.Options)) (*codebuild.ListReportsOutput, error)

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

func (*IClient) ListReportsForReportGroup

func (_m *IClient) ListReportsForReportGroup(ctx context.Context, params *codebuild.ListReportsForReportGroupInput, optFns ...func(*codebuild.Options)) (*codebuild.ListReportsForReportGroupOutput, error)

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

func (*IClient) ListSharedProjects

func (_m *IClient) ListSharedProjects(ctx context.Context, params *codebuild.ListSharedProjectsInput, optFns ...func(*codebuild.Options)) (*codebuild.ListSharedProjectsOutput, error)

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

func (*IClient) ListSharedReportGroups

func (_m *IClient) ListSharedReportGroups(ctx context.Context, params *codebuild.ListSharedReportGroupsInput, optFns ...func(*codebuild.Options)) (*codebuild.ListSharedReportGroupsOutput, error)

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

func (*IClient) ListSourceCredentials

func (_m *IClient) ListSourceCredentials(ctx context.Context, params *codebuild.ListSourceCredentialsInput, optFns ...func(*codebuild.Options)) (*codebuild.ListSourceCredentialsOutput, error)

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) PutResourcePolicy

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

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

func (*IClient) RetryBuild

func (_m *IClient) RetryBuild(ctx context.Context, params *codebuild.RetryBuildInput, optFns ...func(*codebuild.Options)) (*codebuild.RetryBuildOutput, error)

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

func (*IClient) RetryBuildBatch

func (_m *IClient) RetryBuildBatch(ctx context.Context, params *codebuild.RetryBuildBatchInput, optFns ...func(*codebuild.Options)) (*codebuild.RetryBuildBatchOutput, error)

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

func (*IClient) StartBuild

func (_m *IClient) StartBuild(ctx context.Context, params *codebuild.StartBuildInput, optFns ...func(*codebuild.Options)) (*codebuild.StartBuildOutput, error)

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

func (*IClient) StartBuildBatch

func (_m *IClient) StartBuildBatch(ctx context.Context, params *codebuild.StartBuildBatchInput, optFns ...func(*codebuild.Options)) (*codebuild.StartBuildBatchOutput, error)

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

func (*IClient) StopBuild

func (_m *IClient) StopBuild(ctx context.Context, params *codebuild.StopBuildInput, optFns ...func(*codebuild.Options)) (*codebuild.StopBuildOutput, error)

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

func (*IClient) StopBuildBatch

func (_m *IClient) StopBuildBatch(ctx context.Context, params *codebuild.StopBuildBatchInput, optFns ...func(*codebuild.Options)) (*codebuild.StopBuildBatchOutput, error)

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

func (*IClient) UpdateFleet

func (_m *IClient) UpdateFleet(ctx context.Context, params *codebuild.UpdateFleetInput, optFns ...func(*codebuild.Options)) (*codebuild.UpdateFleetOutput, error)

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

func (*IClient) UpdateProject

func (_m *IClient) UpdateProject(ctx context.Context, params *codebuild.UpdateProjectInput, optFns ...func(*codebuild.Options)) (*codebuild.UpdateProjectOutput, error)

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

func (*IClient) UpdateProjectVisibility

func (_m *IClient) UpdateProjectVisibility(ctx context.Context, params *codebuild.UpdateProjectVisibilityInput, optFns ...func(*codebuild.Options)) (*codebuild.UpdateProjectVisibilityOutput, error)

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

func (*IClient) UpdateReportGroup

func (_m *IClient) UpdateReportGroup(ctx context.Context, params *codebuild.UpdateReportGroupInput, optFns ...func(*codebuild.Options)) (*codebuild.UpdateReportGroupOutput, error)

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

func (*IClient) UpdateWebhook

func (_m *IClient) UpdateWebhook(ctx context.Context, params *codebuild.UpdateWebhookInput, optFns ...func(*codebuild.Options)) (*codebuild.UpdateWebhookOutput, error)

UpdateWebhook 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