codebuilddouble

package
v0.0.0-...-8548fdf Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Code generated by go awsdoublegen; DO NOT EDIT. This file was generated at 2020-01-29T21:22:05+11:00 For SDKVersion 1.28.13 Package codebuilddouble contains test double implementation of codebuildiface.CodeBuildAPI

Package codebuilddouble provides a TestDouble implementation of codebuildiface.CodeBuildAPI

Code generated by go awsdoublegen; DO NOT EDIT. This file was generated at 2020-01-29T21:22:05+11:00

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CodeBuildDouble

type CodeBuildDouble struct {
	codebuildiface.CodeBuildAPI
	*awsdouble.AWSTestDouble
}

CodeBuildDouble is TestDouble for codebuildiface.CodeBuildAPI

func NewDouble

func NewDouble(t godouble.T, configurators ...func(*awsdouble.AWSTestDouble)) *CodeBuildDouble

Constructor for CodeBuildDouble Default configuration will ensure

  • API operations not explicitly stubbed will return an empty output struct pointer, and nil error. To simulate long polling, "Poll" operations will return these values after a random delay of up to 100ms.

  • WithContext methods implement a 'Fake' method that returns a cancellation error if the context is cancelled before the method is called.

  • Pages and PagesWithContext methods similarly implement a 'Fake' method that paginates over the underlying method.

    This allows tests to only stub the simple api methods and be generally unconcerned whether the SUT is using the Context or Pagination forms of the API.

func (*CodeBuildDouble) BatchDeleteBuilds

func (*CodeBuildDouble) BatchDeleteBuildsRequest

func (*CodeBuildDouble) BatchDeleteBuildsWithContext

func (d *CodeBuildDouble) BatchDeleteBuildsWithContext(i0 context.Context, i1 *codebuild.BatchDeleteBuildsInput, i2 ...request.Option) (r0 *codebuild.BatchDeleteBuildsOutput, r1 error)

func (*CodeBuildDouble) BatchGetBuilds

func (*CodeBuildDouble) BatchGetBuildsRequest

func (*CodeBuildDouble) BatchGetBuildsWithContext

func (d *CodeBuildDouble) BatchGetBuildsWithContext(i0 context.Context, i1 *codebuild.BatchGetBuildsInput, i2 ...request.Option) (r0 *codebuild.BatchGetBuildsOutput, r1 error)

func (*CodeBuildDouble) BatchGetProjects

func (*CodeBuildDouble) BatchGetProjectsRequest

func (*CodeBuildDouble) BatchGetProjectsWithContext

func (d *CodeBuildDouble) BatchGetProjectsWithContext(i0 context.Context, i1 *codebuild.BatchGetProjectsInput, i2 ...request.Option) (r0 *codebuild.BatchGetProjectsOutput, r1 error)

func (*CodeBuildDouble) BatchGetReportGroups

func (*CodeBuildDouble) BatchGetReportGroupsRequest

func (*CodeBuildDouble) BatchGetReportGroupsWithContext

func (d *CodeBuildDouble) BatchGetReportGroupsWithContext(i0 context.Context, i1 *codebuild.BatchGetReportGroupsInput, i2 ...request.Option) (r0 *codebuild.BatchGetReportGroupsOutput, r1 error)

func (*CodeBuildDouble) BatchGetReports

func (*CodeBuildDouble) BatchGetReportsRequest

func (*CodeBuildDouble) BatchGetReportsWithContext

func (d *CodeBuildDouble) BatchGetReportsWithContext(i0 context.Context, i1 *codebuild.BatchGetReportsInput, i2 ...request.Option) (r0 *codebuild.BatchGetReportsOutput, r1 error)

func (*CodeBuildDouble) CreateProject

func (*CodeBuildDouble) CreateProjectRequest

func (*CodeBuildDouble) CreateProjectWithContext

func (d *CodeBuildDouble) CreateProjectWithContext(i0 context.Context, i1 *codebuild.CreateProjectInput, i2 ...request.Option) (r0 *codebuild.CreateProjectOutput, r1 error)

func (*CodeBuildDouble) CreateReportGroup

func (*CodeBuildDouble) CreateReportGroupRequest

func (*CodeBuildDouble) CreateReportGroupWithContext

func (d *CodeBuildDouble) CreateReportGroupWithContext(i0 context.Context, i1 *codebuild.CreateReportGroupInput, i2 ...request.Option) (r0 *codebuild.CreateReportGroupOutput, r1 error)

func (*CodeBuildDouble) CreateWebhook

func (*CodeBuildDouble) CreateWebhookRequest

func (*CodeBuildDouble) CreateWebhookWithContext

func (d *CodeBuildDouble) CreateWebhookWithContext(i0 context.Context, i1 *codebuild.CreateWebhookInput, i2 ...request.Option) (r0 *codebuild.CreateWebhookOutput, r1 error)

func (*CodeBuildDouble) DeleteProject

func (*CodeBuildDouble) DeleteProjectRequest

func (*CodeBuildDouble) DeleteProjectWithContext

func (d *CodeBuildDouble) DeleteProjectWithContext(i0 context.Context, i1 *codebuild.DeleteProjectInput, i2 ...request.Option) (r0 *codebuild.DeleteProjectOutput, r1 error)

func (*CodeBuildDouble) DeleteReport

func (*CodeBuildDouble) DeleteReportGroup

func (*CodeBuildDouble) DeleteReportGroupRequest

func (*CodeBuildDouble) DeleteReportGroupWithContext

func (d *CodeBuildDouble) DeleteReportGroupWithContext(i0 context.Context, i1 *codebuild.DeleteReportGroupInput, i2 ...request.Option) (r0 *codebuild.DeleteReportGroupOutput, r1 error)

func (*CodeBuildDouble) DeleteReportRequest

func (*CodeBuildDouble) DeleteReportWithContext

func (d *CodeBuildDouble) DeleteReportWithContext(i0 context.Context, i1 *codebuild.DeleteReportInput, i2 ...request.Option) (r0 *codebuild.DeleteReportOutput, r1 error)

func (*CodeBuildDouble) DeleteResourcePolicy

func (*CodeBuildDouble) DeleteResourcePolicyRequest

func (*CodeBuildDouble) DeleteResourcePolicyWithContext

func (d *CodeBuildDouble) DeleteResourcePolicyWithContext(i0 context.Context, i1 *codebuild.DeleteResourcePolicyInput, i2 ...request.Option) (r0 *codebuild.DeleteResourcePolicyOutput, r1 error)

func (*CodeBuildDouble) DeleteSourceCredentials

func (*CodeBuildDouble) DeleteSourceCredentialsRequest

func (*CodeBuildDouble) DeleteSourceCredentialsWithContext

func (d *CodeBuildDouble) DeleteSourceCredentialsWithContext(i0 context.Context, i1 *codebuild.DeleteSourceCredentialsInput, i2 ...request.Option) (r0 *codebuild.DeleteSourceCredentialsOutput, r1 error)

func (*CodeBuildDouble) DeleteWebhook

func (*CodeBuildDouble) DeleteWebhookRequest

func (*CodeBuildDouble) DeleteWebhookWithContext

func (d *CodeBuildDouble) DeleteWebhookWithContext(i0 context.Context, i1 *codebuild.DeleteWebhookInput, i2 ...request.Option) (r0 *codebuild.DeleteWebhookOutput, r1 error)

func (*CodeBuildDouble) DescribeTestCases

func (*CodeBuildDouble) DescribeTestCasesRequest

func (*CodeBuildDouble) DescribeTestCasesWithContext

func (d *CodeBuildDouble) DescribeTestCasesWithContext(i0 context.Context, i1 *codebuild.DescribeTestCasesInput, i2 ...request.Option) (r0 *codebuild.DescribeTestCasesOutput, r1 error)

func (*CodeBuildDouble) GetResourcePolicy

func (*CodeBuildDouble) GetResourcePolicyRequest

func (*CodeBuildDouble) GetResourcePolicyWithContext

func (d *CodeBuildDouble) GetResourcePolicyWithContext(i0 context.Context, i1 *codebuild.GetResourcePolicyInput, i2 ...request.Option) (r0 *codebuild.GetResourcePolicyOutput, r1 error)

func (*CodeBuildDouble) ImportSourceCredentials

func (*CodeBuildDouble) ImportSourceCredentialsRequest

func (*CodeBuildDouble) ImportSourceCredentialsWithContext

func (d *CodeBuildDouble) ImportSourceCredentialsWithContext(i0 context.Context, i1 *codebuild.ImportSourceCredentialsInput, i2 ...request.Option) (r0 *codebuild.ImportSourceCredentialsOutput, r1 error)

func (*CodeBuildDouble) InvalidateProjectCache

func (*CodeBuildDouble) InvalidateProjectCacheRequest

func (*CodeBuildDouble) InvalidateProjectCacheWithContext

func (d *CodeBuildDouble) InvalidateProjectCacheWithContext(i0 context.Context, i1 *codebuild.InvalidateProjectCacheInput, i2 ...request.Option) (r0 *codebuild.InvalidateProjectCacheOutput, r1 error)

func (*CodeBuildDouble) ListBuilds

func (*CodeBuildDouble) ListBuildsForProject

func (*CodeBuildDouble) ListBuildsForProjectRequest

func (*CodeBuildDouble) ListBuildsForProjectWithContext

func (d *CodeBuildDouble) ListBuildsForProjectWithContext(i0 context.Context, i1 *codebuild.ListBuildsForProjectInput, i2 ...request.Option) (r0 *codebuild.ListBuildsForProjectOutput, r1 error)

func (*CodeBuildDouble) ListBuildsRequest

func (d *CodeBuildDouble) ListBuildsRequest(i0 *codebuild.ListBuildsInput) (r0 *request.Request, r1 *codebuild.ListBuildsOutput)

func (*CodeBuildDouble) ListBuildsWithContext

func (d *CodeBuildDouble) ListBuildsWithContext(i0 context.Context, i1 *codebuild.ListBuildsInput, i2 ...request.Option) (r0 *codebuild.ListBuildsOutput, r1 error)

func (*CodeBuildDouble) ListProjects

func (*CodeBuildDouble) ListProjectsRequest

func (*CodeBuildDouble) ListProjectsWithContext

func (d *CodeBuildDouble) ListProjectsWithContext(i0 context.Context, i1 *codebuild.ListProjectsInput, i2 ...request.Option) (r0 *codebuild.ListProjectsOutput, r1 error)

func (*CodeBuildDouble) ListReportGroups

func (*CodeBuildDouble) ListReportGroupsRequest

func (*CodeBuildDouble) ListReportGroupsWithContext

func (d *CodeBuildDouble) ListReportGroupsWithContext(i0 context.Context, i1 *codebuild.ListReportGroupsInput, i2 ...request.Option) (r0 *codebuild.ListReportGroupsOutput, r1 error)

func (*CodeBuildDouble) ListReports

func (*CodeBuildDouble) ListReportsForReportGroup

func (*CodeBuildDouble) ListReportsForReportGroupWithContext

func (d *CodeBuildDouble) ListReportsForReportGroupWithContext(i0 context.Context, i1 *codebuild.ListReportsForReportGroupInput, i2 ...request.Option) (r0 *codebuild.ListReportsForReportGroupOutput, r1 error)

func (*CodeBuildDouble) ListReportsRequest

func (*CodeBuildDouble) ListReportsWithContext

func (d *CodeBuildDouble) ListReportsWithContext(i0 context.Context, i1 *codebuild.ListReportsInput, i2 ...request.Option) (r0 *codebuild.ListReportsOutput, r1 error)

func (*CodeBuildDouble) ListSharedProjects

func (*CodeBuildDouble) ListSharedProjectsRequest

func (*CodeBuildDouble) ListSharedProjectsWithContext

func (d *CodeBuildDouble) ListSharedProjectsWithContext(i0 context.Context, i1 *codebuild.ListSharedProjectsInput, i2 ...request.Option) (r0 *codebuild.ListSharedProjectsOutput, r1 error)

func (*CodeBuildDouble) ListSharedReportGroups

func (*CodeBuildDouble) ListSharedReportGroupsRequest

func (*CodeBuildDouble) ListSharedReportGroupsWithContext

func (d *CodeBuildDouble) ListSharedReportGroupsWithContext(i0 context.Context, i1 *codebuild.ListSharedReportGroupsInput, i2 ...request.Option) (r0 *codebuild.ListSharedReportGroupsOutput, r1 error)

func (*CodeBuildDouble) ListSourceCredentials

func (*CodeBuildDouble) ListSourceCredentialsRequest

func (*CodeBuildDouble) ListSourceCredentialsWithContext

func (d *CodeBuildDouble) ListSourceCredentialsWithContext(i0 context.Context, i1 *codebuild.ListSourceCredentialsInput, i2 ...request.Option) (r0 *codebuild.ListSourceCredentialsOutput, r1 error)

func (*CodeBuildDouble) PutResourcePolicy

func (*CodeBuildDouble) PutResourcePolicyRequest

func (*CodeBuildDouble) PutResourcePolicyWithContext

func (d *CodeBuildDouble) PutResourcePolicyWithContext(i0 context.Context, i1 *codebuild.PutResourcePolicyInput, i2 ...request.Option) (r0 *codebuild.PutResourcePolicyOutput, r1 error)

func (*CodeBuildDouble) StartBuild

func (*CodeBuildDouble) StartBuildRequest

func (d *CodeBuildDouble) StartBuildRequest(i0 *codebuild.StartBuildInput) (r0 *request.Request, r1 *codebuild.StartBuildOutput)

func (*CodeBuildDouble) StartBuildWithContext

func (d *CodeBuildDouble) StartBuildWithContext(i0 context.Context, i1 *codebuild.StartBuildInput, i2 ...request.Option) (r0 *codebuild.StartBuildOutput, r1 error)

func (*CodeBuildDouble) StopBuild

func (*CodeBuildDouble) StopBuildRequest

func (d *CodeBuildDouble) StopBuildRequest(i0 *codebuild.StopBuildInput) (r0 *request.Request, r1 *codebuild.StopBuildOutput)

func (*CodeBuildDouble) StopBuildWithContext

func (d *CodeBuildDouble) StopBuildWithContext(i0 context.Context, i1 *codebuild.StopBuildInput, i2 ...request.Option) (r0 *codebuild.StopBuildOutput, r1 error)

func (*CodeBuildDouble) UpdateProject

func (*CodeBuildDouble) UpdateProjectRequest

func (*CodeBuildDouble) UpdateProjectWithContext

func (d *CodeBuildDouble) UpdateProjectWithContext(i0 context.Context, i1 *codebuild.UpdateProjectInput, i2 ...request.Option) (r0 *codebuild.UpdateProjectOutput, r1 error)

func (*CodeBuildDouble) UpdateReportGroup

func (*CodeBuildDouble) UpdateReportGroupRequest

func (*CodeBuildDouble) UpdateReportGroupWithContext

func (d *CodeBuildDouble) UpdateReportGroupWithContext(i0 context.Context, i1 *codebuild.UpdateReportGroupInput, i2 ...request.Option) (r0 *codebuild.UpdateReportGroupOutput, r1 error)

func (*CodeBuildDouble) UpdateWebhook

func (*CodeBuildDouble) UpdateWebhookRequest

func (*CodeBuildDouble) UpdateWebhookWithContext

func (d *CodeBuildDouble) UpdateWebhookWithContext(i0 context.Context, i1 *codebuild.UpdateWebhookInput, i2 ...request.Option) (r0 *codebuild.UpdateWebhookOutput, r1 error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL