shielddouble

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 shielddouble contains test double implementation of shieldiface.ShieldAPI

Package shielddouble provides a TestDouble implementation of shieldiface.ShieldAPI

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 ShieldDouble

type ShieldDouble struct {
	shieldiface.ShieldAPI
	*awsdouble.AWSTestDouble
}

ShieldDouble is TestDouble for shieldiface.ShieldAPI

func NewDouble

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

Constructor for ShieldDouble 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 (*ShieldDouble) AssociateDRTLogBucket

func (*ShieldDouble) AssociateDRTLogBucketRequest

func (d *ShieldDouble) AssociateDRTLogBucketRequest(i0 *shield.AssociateDRTLogBucketInput) (r0 *request.Request, r1 *shield.AssociateDRTLogBucketOutput)

func (*ShieldDouble) AssociateDRTLogBucketWithContext

func (d *ShieldDouble) AssociateDRTLogBucketWithContext(i0 context.Context, i1 *shield.AssociateDRTLogBucketInput, i2 ...request.Option) (r0 *shield.AssociateDRTLogBucketOutput, r1 error)

func (*ShieldDouble) AssociateDRTRole

func (d *ShieldDouble) AssociateDRTRole(i0 *shield.AssociateDRTRoleInput) (r0 *shield.AssociateDRTRoleOutput, r1 error)

func (*ShieldDouble) AssociateDRTRoleRequest

func (d *ShieldDouble) AssociateDRTRoleRequest(i0 *shield.AssociateDRTRoleInput) (r0 *request.Request, r1 *shield.AssociateDRTRoleOutput)

func (*ShieldDouble) AssociateDRTRoleWithContext

func (d *ShieldDouble) AssociateDRTRoleWithContext(i0 context.Context, i1 *shield.AssociateDRTRoleInput, i2 ...request.Option) (r0 *shield.AssociateDRTRoleOutput, r1 error)

func (*ShieldDouble) CreateProtection

func (d *ShieldDouble) CreateProtection(i0 *shield.CreateProtectionInput) (r0 *shield.CreateProtectionOutput, r1 error)

func (*ShieldDouble) CreateProtectionRequest

func (d *ShieldDouble) CreateProtectionRequest(i0 *shield.CreateProtectionInput) (r0 *request.Request, r1 *shield.CreateProtectionOutput)

func (*ShieldDouble) CreateProtectionWithContext

func (d *ShieldDouble) CreateProtectionWithContext(i0 context.Context, i1 *shield.CreateProtectionInput, i2 ...request.Option) (r0 *shield.CreateProtectionOutput, r1 error)

func (*ShieldDouble) CreateSubscription

func (d *ShieldDouble) CreateSubscription(i0 *shield.CreateSubscriptionInput) (r0 *shield.CreateSubscriptionOutput, r1 error)

func (*ShieldDouble) CreateSubscriptionRequest

func (d *ShieldDouble) CreateSubscriptionRequest(i0 *shield.CreateSubscriptionInput) (r0 *request.Request, r1 *shield.CreateSubscriptionOutput)

func (*ShieldDouble) CreateSubscriptionWithContext

func (d *ShieldDouble) CreateSubscriptionWithContext(i0 context.Context, i1 *shield.CreateSubscriptionInput, i2 ...request.Option) (r0 *shield.CreateSubscriptionOutput, r1 error)

func (*ShieldDouble) DeleteProtection

func (d *ShieldDouble) DeleteProtection(i0 *shield.DeleteProtectionInput) (r0 *shield.DeleteProtectionOutput, r1 error)

func (*ShieldDouble) DeleteProtectionRequest

func (d *ShieldDouble) DeleteProtectionRequest(i0 *shield.DeleteProtectionInput) (r0 *request.Request, r1 *shield.DeleteProtectionOutput)

func (*ShieldDouble) DeleteProtectionWithContext

func (d *ShieldDouble) DeleteProtectionWithContext(i0 context.Context, i1 *shield.DeleteProtectionInput, i2 ...request.Option) (r0 *shield.DeleteProtectionOutput, r1 error)

func (*ShieldDouble) DeleteSubscription

func (d *ShieldDouble) DeleteSubscription(i0 *shield.DeleteSubscriptionInput) (r0 *shield.DeleteSubscriptionOutput, r1 error)

func (*ShieldDouble) DeleteSubscriptionRequest

func (d *ShieldDouble) DeleteSubscriptionRequest(i0 *shield.DeleteSubscriptionInput) (r0 *request.Request, r1 *shield.DeleteSubscriptionOutput)

func (*ShieldDouble) DeleteSubscriptionWithContext

func (d *ShieldDouble) DeleteSubscriptionWithContext(i0 context.Context, i1 *shield.DeleteSubscriptionInput, i2 ...request.Option) (r0 *shield.DeleteSubscriptionOutput, r1 error)

func (*ShieldDouble) DescribeAttack

func (d *ShieldDouble) DescribeAttack(i0 *shield.DescribeAttackInput) (r0 *shield.DescribeAttackOutput, r1 error)

func (*ShieldDouble) DescribeAttackRequest

func (d *ShieldDouble) DescribeAttackRequest(i0 *shield.DescribeAttackInput) (r0 *request.Request, r1 *shield.DescribeAttackOutput)

func (*ShieldDouble) DescribeAttackWithContext

func (d *ShieldDouble) DescribeAttackWithContext(i0 context.Context, i1 *shield.DescribeAttackInput, i2 ...request.Option) (r0 *shield.DescribeAttackOutput, r1 error)

func (*ShieldDouble) DescribeDRTAccess

func (d *ShieldDouble) DescribeDRTAccess(i0 *shield.DescribeDRTAccessInput) (r0 *shield.DescribeDRTAccessOutput, r1 error)

func (*ShieldDouble) DescribeDRTAccessRequest

func (d *ShieldDouble) DescribeDRTAccessRequest(i0 *shield.DescribeDRTAccessInput) (r0 *request.Request, r1 *shield.DescribeDRTAccessOutput)

func (*ShieldDouble) DescribeDRTAccessWithContext

func (d *ShieldDouble) DescribeDRTAccessWithContext(i0 context.Context, i1 *shield.DescribeDRTAccessInput, i2 ...request.Option) (r0 *shield.DescribeDRTAccessOutput, r1 error)

func (*ShieldDouble) DescribeProtection

func (d *ShieldDouble) DescribeProtection(i0 *shield.DescribeProtectionInput) (r0 *shield.DescribeProtectionOutput, r1 error)

func (*ShieldDouble) DescribeProtectionRequest

func (d *ShieldDouble) DescribeProtectionRequest(i0 *shield.DescribeProtectionInput) (r0 *request.Request, r1 *shield.DescribeProtectionOutput)

func (*ShieldDouble) DescribeProtectionWithContext

func (d *ShieldDouble) DescribeProtectionWithContext(i0 context.Context, i1 *shield.DescribeProtectionInput, i2 ...request.Option) (r0 *shield.DescribeProtectionOutput, r1 error)

func (*ShieldDouble) DescribeSubscription

func (*ShieldDouble) DescribeSubscriptionRequest

func (d *ShieldDouble) DescribeSubscriptionRequest(i0 *shield.DescribeSubscriptionInput) (r0 *request.Request, r1 *shield.DescribeSubscriptionOutput)

func (*ShieldDouble) DescribeSubscriptionWithContext

func (d *ShieldDouble) DescribeSubscriptionWithContext(i0 context.Context, i1 *shield.DescribeSubscriptionInput, i2 ...request.Option) (r0 *shield.DescribeSubscriptionOutput, r1 error)

func (*ShieldDouble) DisassociateDRTLogBucket

func (*ShieldDouble) DisassociateDRTLogBucketRequest

func (d *ShieldDouble) DisassociateDRTLogBucketRequest(i0 *shield.DisassociateDRTLogBucketInput) (r0 *request.Request, r1 *shield.DisassociateDRTLogBucketOutput)

func (*ShieldDouble) DisassociateDRTLogBucketWithContext

func (d *ShieldDouble) DisassociateDRTLogBucketWithContext(i0 context.Context, i1 *shield.DisassociateDRTLogBucketInput, i2 ...request.Option) (r0 *shield.DisassociateDRTLogBucketOutput, r1 error)

func (*ShieldDouble) DisassociateDRTRole

func (d *ShieldDouble) DisassociateDRTRole(i0 *shield.DisassociateDRTRoleInput) (r0 *shield.DisassociateDRTRoleOutput, r1 error)

func (*ShieldDouble) DisassociateDRTRoleRequest

func (d *ShieldDouble) DisassociateDRTRoleRequest(i0 *shield.DisassociateDRTRoleInput) (r0 *request.Request, r1 *shield.DisassociateDRTRoleOutput)

func (*ShieldDouble) DisassociateDRTRoleWithContext

func (d *ShieldDouble) DisassociateDRTRoleWithContext(i0 context.Context, i1 *shield.DisassociateDRTRoleInput, i2 ...request.Option) (r0 *shield.DisassociateDRTRoleOutput, r1 error)

func (*ShieldDouble) GetSubscriptionState

func (*ShieldDouble) GetSubscriptionStateRequest

func (d *ShieldDouble) GetSubscriptionStateRequest(i0 *shield.GetSubscriptionStateInput) (r0 *request.Request, r1 *shield.GetSubscriptionStateOutput)

func (*ShieldDouble) GetSubscriptionStateWithContext

func (d *ShieldDouble) GetSubscriptionStateWithContext(i0 context.Context, i1 *shield.GetSubscriptionStateInput, i2 ...request.Option) (r0 *shield.GetSubscriptionStateOutput, r1 error)

func (*ShieldDouble) ListAttacks

func (d *ShieldDouble) ListAttacks(i0 *shield.ListAttacksInput) (r0 *shield.ListAttacksOutput, r1 error)

func (*ShieldDouble) ListAttacksRequest

func (d *ShieldDouble) ListAttacksRequest(i0 *shield.ListAttacksInput) (r0 *request.Request, r1 *shield.ListAttacksOutput)

func (*ShieldDouble) ListAttacksWithContext

func (d *ShieldDouble) ListAttacksWithContext(i0 context.Context, i1 *shield.ListAttacksInput, i2 ...request.Option) (r0 *shield.ListAttacksOutput, r1 error)

func (*ShieldDouble) ListProtections

func (d *ShieldDouble) ListProtections(i0 *shield.ListProtectionsInput) (r0 *shield.ListProtectionsOutput, r1 error)

func (*ShieldDouble) ListProtectionsRequest

func (d *ShieldDouble) ListProtectionsRequest(i0 *shield.ListProtectionsInput) (r0 *request.Request, r1 *shield.ListProtectionsOutput)

func (*ShieldDouble) ListProtectionsWithContext

func (d *ShieldDouble) ListProtectionsWithContext(i0 context.Context, i1 *shield.ListProtectionsInput, i2 ...request.Option) (r0 *shield.ListProtectionsOutput, r1 error)

func (*ShieldDouble) UpdateSubscription

func (d *ShieldDouble) UpdateSubscription(i0 *shield.UpdateSubscriptionInput) (r0 *shield.UpdateSubscriptionOutput, r1 error)

func (*ShieldDouble) UpdateSubscriptionRequest

func (d *ShieldDouble) UpdateSubscriptionRequest(i0 *shield.UpdateSubscriptionInput) (r0 *request.Request, r1 *shield.UpdateSubscriptionOutput)

func (*ShieldDouble) UpdateSubscriptionWithContext

func (d *ShieldDouble) UpdateSubscriptionWithContext(i0 context.Context, i1 *shield.UpdateSubscriptionInput, i2 ...request.Option) (r0 *shield.UpdateSubscriptionOutput, r1 error)

Jump to

Keyboard shortcuts

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