codestardouble

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 codestardouble contains test double implementation of codestariface.CodeStarAPI

Package codestardouble provides a TestDouble implementation of codestariface.CodeStarAPI

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 CodeStarDouble

type CodeStarDouble struct {
	codestariface.CodeStarAPI
	*awsdouble.AWSTestDouble
}

CodeStarDouble is TestDouble for codestariface.CodeStarAPI

func NewDouble

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

Constructor for CodeStarDouble 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 (*CodeStarDouble) AssociateTeamMember

func (*CodeStarDouble) AssociateTeamMemberRequest

func (*CodeStarDouble) AssociateTeamMemberWithContext

func (d *CodeStarDouble) AssociateTeamMemberWithContext(i0 context.Context, i1 *codestar.AssociateTeamMemberInput, i2 ...request.Option) (r0 *codestar.AssociateTeamMemberOutput, r1 error)

func (*CodeStarDouble) CreateProject

func (*CodeStarDouble) CreateProjectRequest

func (d *CodeStarDouble) CreateProjectRequest(i0 *codestar.CreateProjectInput) (r0 *request.Request, r1 *codestar.CreateProjectOutput)

func (*CodeStarDouble) CreateProjectWithContext

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

func (*CodeStarDouble) CreateUserProfile

func (*CodeStarDouble) CreateUserProfileRequest

func (*CodeStarDouble) CreateUserProfileWithContext

func (d *CodeStarDouble) CreateUserProfileWithContext(i0 context.Context, i1 *codestar.CreateUserProfileInput, i2 ...request.Option) (r0 *codestar.CreateUserProfileOutput, r1 error)

func (*CodeStarDouble) DeleteProject

func (*CodeStarDouble) DeleteProjectRequest

func (d *CodeStarDouble) DeleteProjectRequest(i0 *codestar.DeleteProjectInput) (r0 *request.Request, r1 *codestar.DeleteProjectOutput)

func (*CodeStarDouble) DeleteProjectWithContext

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

func (*CodeStarDouble) DeleteUserProfile

func (*CodeStarDouble) DeleteUserProfileRequest

func (*CodeStarDouble) DeleteUserProfileWithContext

func (d *CodeStarDouble) DeleteUserProfileWithContext(i0 context.Context, i1 *codestar.DeleteUserProfileInput, i2 ...request.Option) (r0 *codestar.DeleteUserProfileOutput, r1 error)

func (*CodeStarDouble) DescribeProject

func (*CodeStarDouble) DescribeProjectRequest

func (d *CodeStarDouble) DescribeProjectRequest(i0 *codestar.DescribeProjectInput) (r0 *request.Request, r1 *codestar.DescribeProjectOutput)

func (*CodeStarDouble) DescribeProjectWithContext

func (d *CodeStarDouble) DescribeProjectWithContext(i0 context.Context, i1 *codestar.DescribeProjectInput, i2 ...request.Option) (r0 *codestar.DescribeProjectOutput, r1 error)

func (*CodeStarDouble) DescribeUserProfile

func (*CodeStarDouble) DescribeUserProfileRequest

func (*CodeStarDouble) DescribeUserProfileWithContext

func (d *CodeStarDouble) DescribeUserProfileWithContext(i0 context.Context, i1 *codestar.DescribeUserProfileInput, i2 ...request.Option) (r0 *codestar.DescribeUserProfileOutput, r1 error)

func (*CodeStarDouble) DisassociateTeamMember

func (*CodeStarDouble) DisassociateTeamMemberRequest

func (*CodeStarDouble) DisassociateTeamMemberWithContext

func (d *CodeStarDouble) DisassociateTeamMemberWithContext(i0 context.Context, i1 *codestar.DisassociateTeamMemberInput, i2 ...request.Option) (r0 *codestar.DisassociateTeamMemberOutput, r1 error)

func (*CodeStarDouble) ListProjects

func (*CodeStarDouble) ListProjectsRequest

func (d *CodeStarDouble) ListProjectsRequest(i0 *codestar.ListProjectsInput) (r0 *request.Request, r1 *codestar.ListProjectsOutput)

func (*CodeStarDouble) ListProjectsWithContext

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

func (*CodeStarDouble) ListResources

func (*CodeStarDouble) ListResourcesRequest

func (d *CodeStarDouble) ListResourcesRequest(i0 *codestar.ListResourcesInput) (r0 *request.Request, r1 *codestar.ListResourcesOutput)

func (*CodeStarDouble) ListResourcesWithContext

func (d *CodeStarDouble) ListResourcesWithContext(i0 context.Context, i1 *codestar.ListResourcesInput, i2 ...request.Option) (r0 *codestar.ListResourcesOutput, r1 error)

func (*CodeStarDouble) ListTagsForProject

func (*CodeStarDouble) ListTagsForProjectRequest

func (*CodeStarDouble) ListTagsForProjectWithContext

func (d *CodeStarDouble) ListTagsForProjectWithContext(i0 context.Context, i1 *codestar.ListTagsForProjectInput, i2 ...request.Option) (r0 *codestar.ListTagsForProjectOutput, r1 error)

func (*CodeStarDouble) ListTeamMembers

func (*CodeStarDouble) ListTeamMembersRequest

func (d *CodeStarDouble) ListTeamMembersRequest(i0 *codestar.ListTeamMembersInput) (r0 *request.Request, r1 *codestar.ListTeamMembersOutput)

func (*CodeStarDouble) ListTeamMembersWithContext

func (d *CodeStarDouble) ListTeamMembersWithContext(i0 context.Context, i1 *codestar.ListTeamMembersInput, i2 ...request.Option) (r0 *codestar.ListTeamMembersOutput, r1 error)

func (*CodeStarDouble) ListUserProfiles

func (*CodeStarDouble) ListUserProfilesRequest

func (d *CodeStarDouble) ListUserProfilesRequest(i0 *codestar.ListUserProfilesInput) (r0 *request.Request, r1 *codestar.ListUserProfilesOutput)

func (*CodeStarDouble) ListUserProfilesWithContext

func (d *CodeStarDouble) ListUserProfilesWithContext(i0 context.Context, i1 *codestar.ListUserProfilesInput, i2 ...request.Option) (r0 *codestar.ListUserProfilesOutput, r1 error)

func (*CodeStarDouble) TagProject

func (*CodeStarDouble) TagProjectRequest

func (d *CodeStarDouble) TagProjectRequest(i0 *codestar.TagProjectInput) (r0 *request.Request, r1 *codestar.TagProjectOutput)

func (*CodeStarDouble) TagProjectWithContext

func (d *CodeStarDouble) TagProjectWithContext(i0 context.Context, i1 *codestar.TagProjectInput, i2 ...request.Option) (r0 *codestar.TagProjectOutput, r1 error)

func (*CodeStarDouble) UntagProject

func (*CodeStarDouble) UntagProjectRequest

func (d *CodeStarDouble) UntagProjectRequest(i0 *codestar.UntagProjectInput) (r0 *request.Request, r1 *codestar.UntagProjectOutput)

func (*CodeStarDouble) UntagProjectWithContext

func (d *CodeStarDouble) UntagProjectWithContext(i0 context.Context, i1 *codestar.UntagProjectInput, i2 ...request.Option) (r0 *codestar.UntagProjectOutput, r1 error)

func (*CodeStarDouble) UpdateProject

func (*CodeStarDouble) UpdateProjectRequest

func (d *CodeStarDouble) UpdateProjectRequest(i0 *codestar.UpdateProjectInput) (r0 *request.Request, r1 *codestar.UpdateProjectOutput)

func (*CodeStarDouble) UpdateProjectWithContext

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

func (*CodeStarDouble) UpdateTeamMember

func (*CodeStarDouble) UpdateTeamMemberRequest

func (d *CodeStarDouble) UpdateTeamMemberRequest(i0 *codestar.UpdateTeamMemberInput) (r0 *request.Request, r1 *codestar.UpdateTeamMemberOutput)

func (*CodeStarDouble) UpdateTeamMemberWithContext

func (d *CodeStarDouble) UpdateTeamMemberWithContext(i0 context.Context, i1 *codestar.UpdateTeamMemberInput, i2 ...request.Option) (r0 *codestar.UpdateTeamMemberOutput, r1 error)

func (*CodeStarDouble) UpdateUserProfile

func (*CodeStarDouble) UpdateUserProfileRequest

func (*CodeStarDouble) UpdateUserProfileWithContext

func (d *CodeStarDouble) UpdateUserProfileWithContext(i0 context.Context, i1 *codestar.UpdateUserProfileInput, i2 ...request.Option) (r0 *codestar.UpdateUserProfileOutput, r1 error)

Jump to

Keyboard shortcuts

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