athenadouble

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 athenadouble contains test double implementation of athenaiface.AthenaAPI

Package athenadouble provides a TestDouble implementation of athenaiface.AthenaAPI

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 AthenaDouble

type AthenaDouble struct {
	athenaiface.AthenaAPI
	*awsdouble.AWSTestDouble
}

AthenaDouble is TestDouble for athenaiface.AthenaAPI

func NewDouble

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

Constructor for AthenaDouble 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 (*AthenaDouble) BatchGetNamedQuery

func (d *AthenaDouble) BatchGetNamedQuery(i0 *athena.BatchGetNamedQueryInput) (r0 *athena.BatchGetNamedQueryOutput, r1 error)

func (*AthenaDouble) BatchGetNamedQueryRequest

func (d *AthenaDouble) BatchGetNamedQueryRequest(i0 *athena.BatchGetNamedQueryInput) (r0 *request.Request, r1 *athena.BatchGetNamedQueryOutput)

func (*AthenaDouble) BatchGetNamedQueryWithContext

func (d *AthenaDouble) BatchGetNamedQueryWithContext(i0 context.Context, i1 *athena.BatchGetNamedQueryInput, i2 ...request.Option) (r0 *athena.BatchGetNamedQueryOutput, r1 error)

func (*AthenaDouble) BatchGetQueryExecution

func (*AthenaDouble) BatchGetQueryExecutionRequest

func (d *AthenaDouble) BatchGetQueryExecutionRequest(i0 *athena.BatchGetQueryExecutionInput) (r0 *request.Request, r1 *athena.BatchGetQueryExecutionOutput)

func (*AthenaDouble) BatchGetQueryExecutionWithContext

func (d *AthenaDouble) BatchGetQueryExecutionWithContext(i0 context.Context, i1 *athena.BatchGetQueryExecutionInput, i2 ...request.Option) (r0 *athena.BatchGetQueryExecutionOutput, r1 error)

func (*AthenaDouble) CreateNamedQuery

func (d *AthenaDouble) CreateNamedQuery(i0 *athena.CreateNamedQueryInput) (r0 *athena.CreateNamedQueryOutput, r1 error)

func (*AthenaDouble) CreateNamedQueryRequest

func (d *AthenaDouble) CreateNamedQueryRequest(i0 *athena.CreateNamedQueryInput) (r0 *request.Request, r1 *athena.CreateNamedQueryOutput)

func (*AthenaDouble) CreateNamedQueryWithContext

func (d *AthenaDouble) CreateNamedQueryWithContext(i0 context.Context, i1 *athena.CreateNamedQueryInput, i2 ...request.Option) (r0 *athena.CreateNamedQueryOutput, r1 error)

func (*AthenaDouble) CreateWorkGroup

func (d *AthenaDouble) CreateWorkGroup(i0 *athena.CreateWorkGroupInput) (r0 *athena.CreateWorkGroupOutput, r1 error)

func (*AthenaDouble) CreateWorkGroupRequest

func (d *AthenaDouble) CreateWorkGroupRequest(i0 *athena.CreateWorkGroupInput) (r0 *request.Request, r1 *athena.CreateWorkGroupOutput)

func (*AthenaDouble) CreateWorkGroupWithContext

func (d *AthenaDouble) CreateWorkGroupWithContext(i0 context.Context, i1 *athena.CreateWorkGroupInput, i2 ...request.Option) (r0 *athena.CreateWorkGroupOutput, r1 error)

func (*AthenaDouble) DeleteNamedQuery

func (d *AthenaDouble) DeleteNamedQuery(i0 *athena.DeleteNamedQueryInput) (r0 *athena.DeleteNamedQueryOutput, r1 error)

func (*AthenaDouble) DeleteNamedQueryRequest

func (d *AthenaDouble) DeleteNamedQueryRequest(i0 *athena.DeleteNamedQueryInput) (r0 *request.Request, r1 *athena.DeleteNamedQueryOutput)

func (*AthenaDouble) DeleteNamedQueryWithContext

func (d *AthenaDouble) DeleteNamedQueryWithContext(i0 context.Context, i1 *athena.DeleteNamedQueryInput, i2 ...request.Option) (r0 *athena.DeleteNamedQueryOutput, r1 error)

func (*AthenaDouble) DeleteWorkGroup

func (d *AthenaDouble) DeleteWorkGroup(i0 *athena.DeleteWorkGroupInput) (r0 *athena.DeleteWorkGroupOutput, r1 error)

func (*AthenaDouble) DeleteWorkGroupRequest

func (d *AthenaDouble) DeleteWorkGroupRequest(i0 *athena.DeleteWorkGroupInput) (r0 *request.Request, r1 *athena.DeleteWorkGroupOutput)

func (*AthenaDouble) DeleteWorkGroupWithContext

func (d *AthenaDouble) DeleteWorkGroupWithContext(i0 context.Context, i1 *athena.DeleteWorkGroupInput, i2 ...request.Option) (r0 *athena.DeleteWorkGroupOutput, r1 error)

func (*AthenaDouble) GetNamedQuery

func (d *AthenaDouble) GetNamedQuery(i0 *athena.GetNamedQueryInput) (r0 *athena.GetNamedQueryOutput, r1 error)

func (*AthenaDouble) GetNamedQueryRequest

func (d *AthenaDouble) GetNamedQueryRequest(i0 *athena.GetNamedQueryInput) (r0 *request.Request, r1 *athena.GetNamedQueryOutput)

func (*AthenaDouble) GetNamedQueryWithContext

func (d *AthenaDouble) GetNamedQueryWithContext(i0 context.Context, i1 *athena.GetNamedQueryInput, i2 ...request.Option) (r0 *athena.GetNamedQueryOutput, r1 error)

func (*AthenaDouble) GetQueryExecution

func (d *AthenaDouble) GetQueryExecution(i0 *athena.GetQueryExecutionInput) (r0 *athena.GetQueryExecutionOutput, r1 error)

func (*AthenaDouble) GetQueryExecutionRequest

func (d *AthenaDouble) GetQueryExecutionRequest(i0 *athena.GetQueryExecutionInput) (r0 *request.Request, r1 *athena.GetQueryExecutionOutput)

func (*AthenaDouble) GetQueryExecutionWithContext

func (d *AthenaDouble) GetQueryExecutionWithContext(i0 context.Context, i1 *athena.GetQueryExecutionInput, i2 ...request.Option) (r0 *athena.GetQueryExecutionOutput, r1 error)

func (*AthenaDouble) GetQueryResults

func (d *AthenaDouble) GetQueryResults(i0 *athena.GetQueryResultsInput) (r0 *athena.GetQueryResultsOutput, r1 error)

func (*AthenaDouble) GetQueryResultsPages

func (d *AthenaDouble) GetQueryResultsPages(i0 *athena.GetQueryResultsInput, i1 func(*athena.GetQueryResultsOutput, bool) bool) (r0 error)

func (*AthenaDouble) GetQueryResultsPagesWithContext

func (d *AthenaDouble) GetQueryResultsPagesWithContext(i0 context.Context, i1 *athena.GetQueryResultsInput, i2 func(*athena.GetQueryResultsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*AthenaDouble) GetQueryResultsRequest

func (d *AthenaDouble) GetQueryResultsRequest(i0 *athena.GetQueryResultsInput) (r0 *request.Request, r1 *athena.GetQueryResultsOutput)

func (*AthenaDouble) GetQueryResultsWithContext

func (d *AthenaDouble) GetQueryResultsWithContext(i0 context.Context, i1 *athena.GetQueryResultsInput, i2 ...request.Option) (r0 *athena.GetQueryResultsOutput, r1 error)

func (*AthenaDouble) GetWorkGroup

func (d *AthenaDouble) GetWorkGroup(i0 *athena.GetWorkGroupInput) (r0 *athena.GetWorkGroupOutput, r1 error)

func (*AthenaDouble) GetWorkGroupRequest

func (d *AthenaDouble) GetWorkGroupRequest(i0 *athena.GetWorkGroupInput) (r0 *request.Request, r1 *athena.GetWorkGroupOutput)

func (*AthenaDouble) GetWorkGroupWithContext

func (d *AthenaDouble) GetWorkGroupWithContext(i0 context.Context, i1 *athena.GetWorkGroupInput, i2 ...request.Option) (r0 *athena.GetWorkGroupOutput, r1 error)

func (*AthenaDouble) ListNamedQueries

func (d *AthenaDouble) ListNamedQueries(i0 *athena.ListNamedQueriesInput) (r0 *athena.ListNamedQueriesOutput, r1 error)

func (*AthenaDouble) ListNamedQueriesPages

func (d *AthenaDouble) ListNamedQueriesPages(i0 *athena.ListNamedQueriesInput, i1 func(*athena.ListNamedQueriesOutput, bool) bool) (r0 error)

func (*AthenaDouble) ListNamedQueriesPagesWithContext

func (d *AthenaDouble) ListNamedQueriesPagesWithContext(i0 context.Context, i1 *athena.ListNamedQueriesInput, i2 func(*athena.ListNamedQueriesOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*AthenaDouble) ListNamedQueriesRequest

func (d *AthenaDouble) ListNamedQueriesRequest(i0 *athena.ListNamedQueriesInput) (r0 *request.Request, r1 *athena.ListNamedQueriesOutput)

func (*AthenaDouble) ListNamedQueriesWithContext

func (d *AthenaDouble) ListNamedQueriesWithContext(i0 context.Context, i1 *athena.ListNamedQueriesInput, i2 ...request.Option) (r0 *athena.ListNamedQueriesOutput, r1 error)

func (*AthenaDouble) ListQueryExecutions

func (d *AthenaDouble) ListQueryExecutions(i0 *athena.ListQueryExecutionsInput) (r0 *athena.ListQueryExecutionsOutput, r1 error)

func (*AthenaDouble) ListQueryExecutionsPages

func (d *AthenaDouble) ListQueryExecutionsPages(i0 *athena.ListQueryExecutionsInput, i1 func(*athena.ListQueryExecutionsOutput, bool) bool) (r0 error)

func (*AthenaDouble) ListQueryExecutionsPagesWithContext

func (d *AthenaDouble) ListQueryExecutionsPagesWithContext(i0 context.Context, i1 *athena.ListQueryExecutionsInput, i2 func(*athena.ListQueryExecutionsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*AthenaDouble) ListQueryExecutionsRequest

func (d *AthenaDouble) ListQueryExecutionsRequest(i0 *athena.ListQueryExecutionsInput) (r0 *request.Request, r1 *athena.ListQueryExecutionsOutput)

func (*AthenaDouble) ListQueryExecutionsWithContext

func (d *AthenaDouble) ListQueryExecutionsWithContext(i0 context.Context, i1 *athena.ListQueryExecutionsInput, i2 ...request.Option) (r0 *athena.ListQueryExecutionsOutput, r1 error)

func (*AthenaDouble) ListTagsForResource

func (d *AthenaDouble) ListTagsForResource(i0 *athena.ListTagsForResourceInput) (r0 *athena.ListTagsForResourceOutput, r1 error)

func (*AthenaDouble) ListTagsForResourceRequest

func (d *AthenaDouble) ListTagsForResourceRequest(i0 *athena.ListTagsForResourceInput) (r0 *request.Request, r1 *athena.ListTagsForResourceOutput)

func (*AthenaDouble) ListTagsForResourceWithContext

func (d *AthenaDouble) ListTagsForResourceWithContext(i0 context.Context, i1 *athena.ListTagsForResourceInput, i2 ...request.Option) (r0 *athena.ListTagsForResourceOutput, r1 error)

func (*AthenaDouble) ListWorkGroups

func (d *AthenaDouble) ListWorkGroups(i0 *athena.ListWorkGroupsInput) (r0 *athena.ListWorkGroupsOutput, r1 error)

func (*AthenaDouble) ListWorkGroupsPages

func (d *AthenaDouble) ListWorkGroupsPages(i0 *athena.ListWorkGroupsInput, i1 func(*athena.ListWorkGroupsOutput, bool) bool) (r0 error)

func (*AthenaDouble) ListWorkGroupsPagesWithContext

func (d *AthenaDouble) ListWorkGroupsPagesWithContext(i0 context.Context, i1 *athena.ListWorkGroupsInput, i2 func(*athena.ListWorkGroupsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*AthenaDouble) ListWorkGroupsRequest

func (d *AthenaDouble) ListWorkGroupsRequest(i0 *athena.ListWorkGroupsInput) (r0 *request.Request, r1 *athena.ListWorkGroupsOutput)

func (*AthenaDouble) ListWorkGroupsWithContext

func (d *AthenaDouble) ListWorkGroupsWithContext(i0 context.Context, i1 *athena.ListWorkGroupsInput, i2 ...request.Option) (r0 *athena.ListWorkGroupsOutput, r1 error)

func (*AthenaDouble) StartQueryExecution

func (d *AthenaDouble) StartQueryExecution(i0 *athena.StartQueryExecutionInput) (r0 *athena.StartQueryExecutionOutput, r1 error)

func (*AthenaDouble) StartQueryExecutionRequest

func (d *AthenaDouble) StartQueryExecutionRequest(i0 *athena.StartQueryExecutionInput) (r0 *request.Request, r1 *athena.StartQueryExecutionOutput)

func (*AthenaDouble) StartQueryExecutionWithContext

func (d *AthenaDouble) StartQueryExecutionWithContext(i0 context.Context, i1 *athena.StartQueryExecutionInput, i2 ...request.Option) (r0 *athena.StartQueryExecutionOutput, r1 error)

func (*AthenaDouble) StopQueryExecution

func (d *AthenaDouble) StopQueryExecution(i0 *athena.StopQueryExecutionInput) (r0 *athena.StopQueryExecutionOutput, r1 error)

func (*AthenaDouble) StopQueryExecutionRequest

func (d *AthenaDouble) StopQueryExecutionRequest(i0 *athena.StopQueryExecutionInput) (r0 *request.Request, r1 *athena.StopQueryExecutionOutput)

func (*AthenaDouble) StopQueryExecutionWithContext

func (d *AthenaDouble) StopQueryExecutionWithContext(i0 context.Context, i1 *athena.StopQueryExecutionInput, i2 ...request.Option) (r0 *athena.StopQueryExecutionOutput, r1 error)

func (*AthenaDouble) TagResource

func (d *AthenaDouble) TagResource(i0 *athena.TagResourceInput) (r0 *athena.TagResourceOutput, r1 error)

func (*AthenaDouble) TagResourceRequest

func (d *AthenaDouble) TagResourceRequest(i0 *athena.TagResourceInput) (r0 *request.Request, r1 *athena.TagResourceOutput)

func (*AthenaDouble) TagResourceWithContext

func (d *AthenaDouble) TagResourceWithContext(i0 context.Context, i1 *athena.TagResourceInput, i2 ...request.Option) (r0 *athena.TagResourceOutput, r1 error)

func (*AthenaDouble) UntagResource

func (d *AthenaDouble) UntagResource(i0 *athena.UntagResourceInput) (r0 *athena.UntagResourceOutput, r1 error)

func (*AthenaDouble) UntagResourceRequest

func (d *AthenaDouble) UntagResourceRequest(i0 *athena.UntagResourceInput) (r0 *request.Request, r1 *athena.UntagResourceOutput)

func (*AthenaDouble) UntagResourceWithContext

func (d *AthenaDouble) UntagResourceWithContext(i0 context.Context, i1 *athena.UntagResourceInput, i2 ...request.Option) (r0 *athena.UntagResourceOutput, r1 error)

func (*AthenaDouble) UpdateWorkGroup

func (d *AthenaDouble) UpdateWorkGroup(i0 *athena.UpdateWorkGroupInput) (r0 *athena.UpdateWorkGroupOutput, r1 error)

func (*AthenaDouble) UpdateWorkGroupRequest

func (d *AthenaDouble) UpdateWorkGroupRequest(i0 *athena.UpdateWorkGroupInput) (r0 *request.Request, r1 *athena.UpdateWorkGroupOutput)

func (*AthenaDouble) UpdateWorkGroupWithContext

func (d *AthenaDouble) UpdateWorkGroupWithContext(i0 context.Context, i1 *athena.UpdateWorkGroupInput, i2 ...request.Option) (r0 *athena.UpdateWorkGroupOutput, r1 error)

Jump to

Keyboard shortcuts

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