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 iotdataplanedouble contains test double implementation of iotdataplaneiface.IoTDataPlaneAPI
Package iotdataplanedouble provides a TestDouble implementation of iotdataplaneiface.IoTDataPlaneAPI ¶
Code generated by go awsdoublegen; DO NOT EDIT. This file was generated at 2020-01-29T21:22:05+11:00
Index ¶
- type IoTDataPlaneDouble
- func (d *IoTDataPlaneDouble) DeleteThingShadow(i0 *iotdataplane.DeleteThingShadowInput) (r0 *iotdataplane.DeleteThingShadowOutput, r1 error)
- func (d *IoTDataPlaneDouble) DeleteThingShadowRequest(i0 *iotdataplane.DeleteThingShadowInput) (r0 *request.Request, r1 *iotdataplane.DeleteThingShadowOutput)
- func (d *IoTDataPlaneDouble) DeleteThingShadowWithContext(i0 context.Context, i1 *iotdataplane.DeleteThingShadowInput, ...) (r0 *iotdataplane.DeleteThingShadowOutput, r1 error)
- func (d *IoTDataPlaneDouble) GetThingShadow(i0 *iotdataplane.GetThingShadowInput) (r0 *iotdataplane.GetThingShadowOutput, r1 error)
- func (d *IoTDataPlaneDouble) GetThingShadowRequest(i0 *iotdataplane.GetThingShadowInput) (r0 *request.Request, r1 *iotdataplane.GetThingShadowOutput)
- func (d *IoTDataPlaneDouble) GetThingShadowWithContext(i0 context.Context, i1 *iotdataplane.GetThingShadowInput, i2 ...request.Option) (r0 *iotdataplane.GetThingShadowOutput, r1 error)
- func (d *IoTDataPlaneDouble) Publish(i0 *iotdataplane.PublishInput) (r0 *iotdataplane.PublishOutput, r1 error)
- func (d *IoTDataPlaneDouble) PublishRequest(i0 *iotdataplane.PublishInput) (r0 *request.Request, r1 *iotdataplane.PublishOutput)
- func (d *IoTDataPlaneDouble) PublishWithContext(i0 context.Context, i1 *iotdataplane.PublishInput, i2 ...request.Option) (r0 *iotdataplane.PublishOutput, r1 error)
- func (d *IoTDataPlaneDouble) UpdateThingShadow(i0 *iotdataplane.UpdateThingShadowInput) (r0 *iotdataplane.UpdateThingShadowOutput, r1 error)
- func (d *IoTDataPlaneDouble) UpdateThingShadowRequest(i0 *iotdataplane.UpdateThingShadowInput) (r0 *request.Request, r1 *iotdataplane.UpdateThingShadowOutput)
- func (d *IoTDataPlaneDouble) UpdateThingShadowWithContext(i0 context.Context, i1 *iotdataplane.UpdateThingShadowInput, ...) (r0 *iotdataplane.UpdateThingShadowOutput, r1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IoTDataPlaneDouble ¶
type IoTDataPlaneDouble struct { iotdataplaneiface.IoTDataPlaneAPI *awsdouble.AWSTestDouble }
IoTDataPlaneDouble is TestDouble for iotdataplaneiface.IoTDataPlaneAPI
func NewDouble ¶
func NewDouble(t godouble.T, configurators ...func(*awsdouble.AWSTestDouble)) *IoTDataPlaneDouble
Constructor for IoTDataPlaneDouble 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 (*IoTDataPlaneDouble) DeleteThingShadow ¶
func (d *IoTDataPlaneDouble) DeleteThingShadow(i0 *iotdataplane.DeleteThingShadowInput) (r0 *iotdataplane.DeleteThingShadowOutput, r1 error)
func (*IoTDataPlaneDouble) DeleteThingShadowRequest ¶
func (d *IoTDataPlaneDouble) DeleteThingShadowRequest(i0 *iotdataplane.DeleteThingShadowInput) (r0 *request.Request, r1 *iotdataplane.DeleteThingShadowOutput)
func (*IoTDataPlaneDouble) DeleteThingShadowWithContext ¶
func (d *IoTDataPlaneDouble) DeleteThingShadowWithContext(i0 context.Context, i1 *iotdataplane.DeleteThingShadowInput, i2 ...request.Option) (r0 *iotdataplane.DeleteThingShadowOutput, r1 error)
func (*IoTDataPlaneDouble) GetThingShadow ¶
func (d *IoTDataPlaneDouble) GetThingShadow(i0 *iotdataplane.GetThingShadowInput) (r0 *iotdataplane.GetThingShadowOutput, r1 error)
func (*IoTDataPlaneDouble) GetThingShadowRequest ¶
func (d *IoTDataPlaneDouble) GetThingShadowRequest(i0 *iotdataplane.GetThingShadowInput) (r0 *request.Request, r1 *iotdataplane.GetThingShadowOutput)
func (*IoTDataPlaneDouble) GetThingShadowWithContext ¶
func (d *IoTDataPlaneDouble) GetThingShadowWithContext(i0 context.Context, i1 *iotdataplane.GetThingShadowInput, i2 ...request.Option) (r0 *iotdataplane.GetThingShadowOutput, r1 error)
func (*IoTDataPlaneDouble) Publish ¶
func (d *IoTDataPlaneDouble) Publish(i0 *iotdataplane.PublishInput) (r0 *iotdataplane.PublishOutput, r1 error)
func (*IoTDataPlaneDouble) PublishRequest ¶
func (d *IoTDataPlaneDouble) PublishRequest(i0 *iotdataplane.PublishInput) (r0 *request.Request, r1 *iotdataplane.PublishOutput)
func (*IoTDataPlaneDouble) PublishWithContext ¶
func (d *IoTDataPlaneDouble) PublishWithContext(i0 context.Context, i1 *iotdataplane.PublishInput, i2 ...request.Option) (r0 *iotdataplane.PublishOutput, r1 error)
func (*IoTDataPlaneDouble) UpdateThingShadow ¶
func (d *IoTDataPlaneDouble) UpdateThingShadow(i0 *iotdataplane.UpdateThingShadowInput) (r0 *iotdataplane.UpdateThingShadowOutput, r1 error)
func (*IoTDataPlaneDouble) UpdateThingShadowRequest ¶
func (d *IoTDataPlaneDouble) UpdateThingShadowRequest(i0 *iotdataplane.UpdateThingShadowInput) (r0 *request.Request, r1 *iotdataplane.UpdateThingShadowOutput)
func (*IoTDataPlaneDouble) UpdateThingShadowWithContext ¶
func (d *IoTDataPlaneDouble) UpdateThingShadowWithContext(i0 context.Context, i1 *iotdataplane.UpdateThingShadowInput, i2 ...request.Option) (r0 *iotdataplane.UpdateThingShadowOutput, r1 error)