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 codeguruprofilerdouble contains test double implementation of codeguruprofileriface.CodeGuruProfilerAPI
Package codeguruprofilerdouble provides a TestDouble implementation of codeguruprofileriface.CodeGuruProfilerAPI ¶
Code generated by go awsdoublegen; DO NOT EDIT. This file was generated at 2020-01-29T21:22:05+11:00
Index ¶
- type CodeGuruProfilerDouble
- func (d *CodeGuruProfilerDouble) ConfigureAgent(i0 *codeguruprofiler.ConfigureAgentInput) (r0 *codeguruprofiler.ConfigureAgentOutput, r1 error)
- func (d *CodeGuruProfilerDouble) ConfigureAgentRequest(i0 *codeguruprofiler.ConfigureAgentInput) (r0 *request.Request, r1 *codeguruprofiler.ConfigureAgentOutput)
- func (d *CodeGuruProfilerDouble) ConfigureAgentWithContext(i0 context.Context, i1 *codeguruprofiler.ConfigureAgentInput, ...) (r0 *codeguruprofiler.ConfigureAgentOutput, r1 error)
- func (d *CodeGuruProfilerDouble) CreateProfilingGroup(i0 *codeguruprofiler.CreateProfilingGroupInput) (r0 *codeguruprofiler.CreateProfilingGroupOutput, r1 error)
- func (d *CodeGuruProfilerDouble) CreateProfilingGroupRequest(i0 *codeguruprofiler.CreateProfilingGroupInput) (r0 *request.Request, r1 *codeguruprofiler.CreateProfilingGroupOutput)
- func (d *CodeGuruProfilerDouble) CreateProfilingGroupWithContext(i0 context.Context, i1 *codeguruprofiler.CreateProfilingGroupInput, ...) (r0 *codeguruprofiler.CreateProfilingGroupOutput, r1 error)
- func (d *CodeGuruProfilerDouble) DeleteProfilingGroup(i0 *codeguruprofiler.DeleteProfilingGroupInput) (r0 *codeguruprofiler.DeleteProfilingGroupOutput, r1 error)
- func (d *CodeGuruProfilerDouble) DeleteProfilingGroupRequest(i0 *codeguruprofiler.DeleteProfilingGroupInput) (r0 *request.Request, r1 *codeguruprofiler.DeleteProfilingGroupOutput)
- func (d *CodeGuruProfilerDouble) DeleteProfilingGroupWithContext(i0 context.Context, i1 *codeguruprofiler.DeleteProfilingGroupInput, ...) (r0 *codeguruprofiler.DeleteProfilingGroupOutput, r1 error)
- func (d *CodeGuruProfilerDouble) DescribeProfilingGroup(i0 *codeguruprofiler.DescribeProfilingGroupInput) (r0 *codeguruprofiler.DescribeProfilingGroupOutput, r1 error)
- func (d *CodeGuruProfilerDouble) DescribeProfilingGroupRequest(i0 *codeguruprofiler.DescribeProfilingGroupInput) (r0 *request.Request, r1 *codeguruprofiler.DescribeProfilingGroupOutput)
- func (d *CodeGuruProfilerDouble) DescribeProfilingGroupWithContext(i0 context.Context, i1 *codeguruprofiler.DescribeProfilingGroupInput, ...) (r0 *codeguruprofiler.DescribeProfilingGroupOutput, r1 error)
- func (d *CodeGuruProfilerDouble) GetProfile(i0 *codeguruprofiler.GetProfileInput) (r0 *codeguruprofiler.GetProfileOutput, r1 error)
- func (d *CodeGuruProfilerDouble) GetProfileRequest(i0 *codeguruprofiler.GetProfileInput) (r0 *request.Request, r1 *codeguruprofiler.GetProfileOutput)
- func (d *CodeGuruProfilerDouble) GetProfileWithContext(i0 context.Context, i1 *codeguruprofiler.GetProfileInput, i2 ...request.Option) (r0 *codeguruprofiler.GetProfileOutput, r1 error)
- func (d *CodeGuruProfilerDouble) ListProfileTimes(i0 *codeguruprofiler.ListProfileTimesInput) (r0 *codeguruprofiler.ListProfileTimesOutput, r1 error)
- func (d *CodeGuruProfilerDouble) ListProfileTimesPages(i0 *codeguruprofiler.ListProfileTimesInput, ...) (r0 error)
- func (d *CodeGuruProfilerDouble) ListProfileTimesPagesWithContext(i0 context.Context, i1 *codeguruprofiler.ListProfileTimesInput, ...) (r0 error)
- func (d *CodeGuruProfilerDouble) ListProfileTimesRequest(i0 *codeguruprofiler.ListProfileTimesInput) (r0 *request.Request, r1 *codeguruprofiler.ListProfileTimesOutput)
- func (d *CodeGuruProfilerDouble) ListProfileTimesWithContext(i0 context.Context, i1 *codeguruprofiler.ListProfileTimesInput, ...) (r0 *codeguruprofiler.ListProfileTimesOutput, r1 error)
- func (d *CodeGuruProfilerDouble) ListProfilingGroups(i0 *codeguruprofiler.ListProfilingGroupsInput) (r0 *codeguruprofiler.ListProfilingGroupsOutput, r1 error)
- func (d *CodeGuruProfilerDouble) ListProfilingGroupsPages(i0 *codeguruprofiler.ListProfilingGroupsInput, ...) (r0 error)
- func (d *CodeGuruProfilerDouble) ListProfilingGroupsPagesWithContext(i0 context.Context, i1 *codeguruprofiler.ListProfilingGroupsInput, ...) (r0 error)
- func (d *CodeGuruProfilerDouble) ListProfilingGroupsRequest(i0 *codeguruprofiler.ListProfilingGroupsInput) (r0 *request.Request, r1 *codeguruprofiler.ListProfilingGroupsOutput)
- func (d *CodeGuruProfilerDouble) ListProfilingGroupsWithContext(i0 context.Context, i1 *codeguruprofiler.ListProfilingGroupsInput, ...) (r0 *codeguruprofiler.ListProfilingGroupsOutput, r1 error)
- func (d *CodeGuruProfilerDouble) PostAgentProfile(i0 *codeguruprofiler.PostAgentProfileInput) (r0 *codeguruprofiler.PostAgentProfileOutput, r1 error)
- func (d *CodeGuruProfilerDouble) PostAgentProfileRequest(i0 *codeguruprofiler.PostAgentProfileInput) (r0 *request.Request, r1 *codeguruprofiler.PostAgentProfileOutput)
- func (d *CodeGuruProfilerDouble) PostAgentProfileWithContext(i0 context.Context, i1 *codeguruprofiler.PostAgentProfileInput, ...) (r0 *codeguruprofiler.PostAgentProfileOutput, r1 error)
- func (d *CodeGuruProfilerDouble) UpdateProfilingGroup(i0 *codeguruprofiler.UpdateProfilingGroupInput) (r0 *codeguruprofiler.UpdateProfilingGroupOutput, r1 error)
- func (d *CodeGuruProfilerDouble) UpdateProfilingGroupRequest(i0 *codeguruprofiler.UpdateProfilingGroupInput) (r0 *request.Request, r1 *codeguruprofiler.UpdateProfilingGroupOutput)
- func (d *CodeGuruProfilerDouble) UpdateProfilingGroupWithContext(i0 context.Context, i1 *codeguruprofiler.UpdateProfilingGroupInput, ...) (r0 *codeguruprofiler.UpdateProfilingGroupOutput, r1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CodeGuruProfilerDouble ¶
type CodeGuruProfilerDouble struct { codeguruprofileriface.CodeGuruProfilerAPI *awsdouble.AWSTestDouble }
CodeGuruProfilerDouble is TestDouble for codeguruprofileriface.CodeGuruProfilerAPI
func NewDouble ¶
func NewDouble(t godouble.T, configurators ...func(*awsdouble.AWSTestDouble)) *CodeGuruProfilerDouble
Constructor for CodeGuruProfilerDouble 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 (*CodeGuruProfilerDouble) ConfigureAgent ¶
func (d *CodeGuruProfilerDouble) ConfigureAgent(i0 *codeguruprofiler.ConfigureAgentInput) (r0 *codeguruprofiler.ConfigureAgentOutput, r1 error)
func (*CodeGuruProfilerDouble) ConfigureAgentRequest ¶
func (d *CodeGuruProfilerDouble) ConfigureAgentRequest(i0 *codeguruprofiler.ConfigureAgentInput) (r0 *request.Request, r1 *codeguruprofiler.ConfigureAgentOutput)
func (*CodeGuruProfilerDouble) ConfigureAgentWithContext ¶
func (d *CodeGuruProfilerDouble) ConfigureAgentWithContext(i0 context.Context, i1 *codeguruprofiler.ConfigureAgentInput, i2 ...request.Option) (r0 *codeguruprofiler.ConfigureAgentOutput, r1 error)
func (*CodeGuruProfilerDouble) CreateProfilingGroup ¶
func (d *CodeGuruProfilerDouble) CreateProfilingGroup(i0 *codeguruprofiler.CreateProfilingGroupInput) (r0 *codeguruprofiler.CreateProfilingGroupOutput, r1 error)
func (*CodeGuruProfilerDouble) CreateProfilingGroupRequest ¶
func (d *CodeGuruProfilerDouble) CreateProfilingGroupRequest(i0 *codeguruprofiler.CreateProfilingGroupInput) (r0 *request.Request, r1 *codeguruprofiler.CreateProfilingGroupOutput)
func (*CodeGuruProfilerDouble) CreateProfilingGroupWithContext ¶
func (d *CodeGuruProfilerDouble) CreateProfilingGroupWithContext(i0 context.Context, i1 *codeguruprofiler.CreateProfilingGroupInput, i2 ...request.Option) (r0 *codeguruprofiler.CreateProfilingGroupOutput, r1 error)
func (*CodeGuruProfilerDouble) DeleteProfilingGroup ¶
func (d *CodeGuruProfilerDouble) DeleteProfilingGroup(i0 *codeguruprofiler.DeleteProfilingGroupInput) (r0 *codeguruprofiler.DeleteProfilingGroupOutput, r1 error)
func (*CodeGuruProfilerDouble) DeleteProfilingGroupRequest ¶
func (d *CodeGuruProfilerDouble) DeleteProfilingGroupRequest(i0 *codeguruprofiler.DeleteProfilingGroupInput) (r0 *request.Request, r1 *codeguruprofiler.DeleteProfilingGroupOutput)
func (*CodeGuruProfilerDouble) DeleteProfilingGroupWithContext ¶
func (d *CodeGuruProfilerDouble) DeleteProfilingGroupWithContext(i0 context.Context, i1 *codeguruprofiler.DeleteProfilingGroupInput, i2 ...request.Option) (r0 *codeguruprofiler.DeleteProfilingGroupOutput, r1 error)
func (*CodeGuruProfilerDouble) DescribeProfilingGroup ¶
func (d *CodeGuruProfilerDouble) DescribeProfilingGroup(i0 *codeguruprofiler.DescribeProfilingGroupInput) (r0 *codeguruprofiler.DescribeProfilingGroupOutput, r1 error)
func (*CodeGuruProfilerDouble) DescribeProfilingGroupRequest ¶
func (d *CodeGuruProfilerDouble) DescribeProfilingGroupRequest(i0 *codeguruprofiler.DescribeProfilingGroupInput) (r0 *request.Request, r1 *codeguruprofiler.DescribeProfilingGroupOutput)
func (*CodeGuruProfilerDouble) DescribeProfilingGroupWithContext ¶
func (d *CodeGuruProfilerDouble) DescribeProfilingGroupWithContext(i0 context.Context, i1 *codeguruprofiler.DescribeProfilingGroupInput, i2 ...request.Option) (r0 *codeguruprofiler.DescribeProfilingGroupOutput, r1 error)
func (*CodeGuruProfilerDouble) GetProfile ¶
func (d *CodeGuruProfilerDouble) GetProfile(i0 *codeguruprofiler.GetProfileInput) (r0 *codeguruprofiler.GetProfileOutput, r1 error)
func (*CodeGuruProfilerDouble) GetProfileRequest ¶
func (d *CodeGuruProfilerDouble) GetProfileRequest(i0 *codeguruprofiler.GetProfileInput) (r0 *request.Request, r1 *codeguruprofiler.GetProfileOutput)
func (*CodeGuruProfilerDouble) GetProfileWithContext ¶
func (d *CodeGuruProfilerDouble) GetProfileWithContext(i0 context.Context, i1 *codeguruprofiler.GetProfileInput, i2 ...request.Option) (r0 *codeguruprofiler.GetProfileOutput, r1 error)
func (*CodeGuruProfilerDouble) ListProfileTimes ¶
func (d *CodeGuruProfilerDouble) ListProfileTimes(i0 *codeguruprofiler.ListProfileTimesInput) (r0 *codeguruprofiler.ListProfileTimesOutput, r1 error)
func (*CodeGuruProfilerDouble) ListProfileTimesPages ¶
func (d *CodeGuruProfilerDouble) ListProfileTimesPages(i0 *codeguruprofiler.ListProfileTimesInput, i1 func(*codeguruprofiler.ListProfileTimesOutput, bool) bool) (r0 error)
func (*CodeGuruProfilerDouble) ListProfileTimesPagesWithContext ¶
func (d *CodeGuruProfilerDouble) ListProfileTimesPagesWithContext(i0 context.Context, i1 *codeguruprofiler.ListProfileTimesInput, i2 func(*codeguruprofiler.ListProfileTimesOutput, bool) bool, i3 ...request.Option) (r0 error)
func (*CodeGuruProfilerDouble) ListProfileTimesRequest ¶
func (d *CodeGuruProfilerDouble) ListProfileTimesRequest(i0 *codeguruprofiler.ListProfileTimesInput) (r0 *request.Request, r1 *codeguruprofiler.ListProfileTimesOutput)
func (*CodeGuruProfilerDouble) ListProfileTimesWithContext ¶
func (d *CodeGuruProfilerDouble) ListProfileTimesWithContext(i0 context.Context, i1 *codeguruprofiler.ListProfileTimesInput, i2 ...request.Option) (r0 *codeguruprofiler.ListProfileTimesOutput, r1 error)
func (*CodeGuruProfilerDouble) ListProfilingGroups ¶
func (d *CodeGuruProfilerDouble) ListProfilingGroups(i0 *codeguruprofiler.ListProfilingGroupsInput) (r0 *codeguruprofiler.ListProfilingGroupsOutput, r1 error)
func (*CodeGuruProfilerDouble) ListProfilingGroupsPages ¶
func (d *CodeGuruProfilerDouble) ListProfilingGroupsPages(i0 *codeguruprofiler.ListProfilingGroupsInput, i1 func(*codeguruprofiler.ListProfilingGroupsOutput, bool) bool) (r0 error)
func (*CodeGuruProfilerDouble) ListProfilingGroupsPagesWithContext ¶
func (d *CodeGuruProfilerDouble) ListProfilingGroupsPagesWithContext(i0 context.Context, i1 *codeguruprofiler.ListProfilingGroupsInput, i2 func(*codeguruprofiler.ListProfilingGroupsOutput, bool) bool, i3 ...request.Option) (r0 error)
func (*CodeGuruProfilerDouble) ListProfilingGroupsRequest ¶
func (d *CodeGuruProfilerDouble) ListProfilingGroupsRequest(i0 *codeguruprofiler.ListProfilingGroupsInput) (r0 *request.Request, r1 *codeguruprofiler.ListProfilingGroupsOutput)
func (*CodeGuruProfilerDouble) ListProfilingGroupsWithContext ¶
func (d *CodeGuruProfilerDouble) ListProfilingGroupsWithContext(i0 context.Context, i1 *codeguruprofiler.ListProfilingGroupsInput, i2 ...request.Option) (r0 *codeguruprofiler.ListProfilingGroupsOutput, r1 error)
func (*CodeGuruProfilerDouble) PostAgentProfile ¶
func (d *CodeGuruProfilerDouble) PostAgentProfile(i0 *codeguruprofiler.PostAgentProfileInput) (r0 *codeguruprofiler.PostAgentProfileOutput, r1 error)
func (*CodeGuruProfilerDouble) PostAgentProfileRequest ¶
func (d *CodeGuruProfilerDouble) PostAgentProfileRequest(i0 *codeguruprofiler.PostAgentProfileInput) (r0 *request.Request, r1 *codeguruprofiler.PostAgentProfileOutput)
func (*CodeGuruProfilerDouble) PostAgentProfileWithContext ¶
func (d *CodeGuruProfilerDouble) PostAgentProfileWithContext(i0 context.Context, i1 *codeguruprofiler.PostAgentProfileInput, i2 ...request.Option) (r0 *codeguruprofiler.PostAgentProfileOutput, r1 error)
func (*CodeGuruProfilerDouble) UpdateProfilingGroup ¶
func (d *CodeGuruProfilerDouble) UpdateProfilingGroup(i0 *codeguruprofiler.UpdateProfilingGroupInput) (r0 *codeguruprofiler.UpdateProfilingGroupOutput, r1 error)
func (*CodeGuruProfilerDouble) UpdateProfilingGroupRequest ¶
func (d *CodeGuruProfilerDouble) UpdateProfilingGroupRequest(i0 *codeguruprofiler.UpdateProfilingGroupInput) (r0 *request.Request, r1 *codeguruprofiler.UpdateProfilingGroupOutput)
func (*CodeGuruProfilerDouble) UpdateProfilingGroupWithContext ¶
func (d *CodeGuruProfilerDouble) UpdateProfilingGroupWithContext(i0 context.Context, i1 *codeguruprofiler.UpdateProfilingGroupInput, i2 ...request.Option) (r0 *codeguruprofiler.UpdateProfilingGroupOutput, r1 error)