fakes

package
v0.15.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 8, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddressesClient

type AddressesClient struct {
	DescribeAddressesCall struct {
		CallCount int
		Receives  struct {
			Input *ec2.DescribeAddressesInput
		}
		Returns struct {
			Output *ec2.DescribeAddressesOutput
			Error  error
		}
	}

	ReleaseAddressCall struct {
		CallCount int
		Receives  struct {
			Input *ec2.ReleaseAddressInput
		}
		Returns struct {
			Output *ec2.ReleaseAddressOutput
			Error  error
		}
	}
}

func (*AddressesClient) DescribeAddresses

func (*AddressesClient) ReleaseAddress

func (e *AddressesClient) ReleaseAddress(input *ec2.ReleaseAddressInput) (*ec2.ReleaseAddressOutput, error)

type InstancesClient

type InstancesClient struct {
	DescribeInstancesCall struct {
		CallCount int
		Receives  struct {
			Input *ec2.DescribeInstancesInput
		}
		Returns struct {
			Output *ec2.DescribeInstancesOutput
			Error  error
		}
	}

	TerminateInstancesCall struct {
		CallCount int
		Receives  struct {
			Input *ec2.TerminateInstancesInput
		}
		Returns struct {
			Output *ec2.TerminateInstancesOutput
			Error  error
		}
	}
}

func (*InstancesClient) DescribeInstances

func (*InstancesClient) TerminateInstances

type InternetGateways

type InternetGateways struct {
	DeleteCall struct {
		CallCount int
		Receives  struct {
			VpcId string
		}
		Returns struct {
			Error error
		}
	}
}

func (*InternetGateways) Delete

func (r *InternetGateways) Delete(vpcId string) error

type InternetGatewaysClient

type InternetGatewaysClient struct {
	DescribeInternetGatewaysCall struct {
		CallCount int
		Receives  struct {
			Input *ec2.DescribeInternetGatewaysInput
		}
		Returns struct {
			Output *ec2.DescribeInternetGatewaysOutput
			Error  error
		}
	}

	DetachInternetGatewayCall struct {
		CallCount int
		Receives  struct {
			Input *ec2.DetachInternetGatewayInput
		}
		Returns struct {
			Output *ec2.DetachInternetGatewayOutput
			Error  error
		}
	}

	DeleteInternetGatewayCall struct {
		CallCount int
		Receives  struct {
			Input *ec2.DeleteInternetGatewayInput
		}
		Returns struct {
			Output *ec2.DeleteInternetGatewayOutput
			Error  error
		}
	}
}

func (*InternetGatewaysClient) DeleteInternetGateway

func (*InternetGatewaysClient) DescribeInternetGateways

func (*InternetGatewaysClient) DetachInternetGateway

type KeyPairsClient

type KeyPairsClient struct {
	DescribeKeyPairsCall struct {
		CallCount int
		Receives  struct {
			Input *ec2.DescribeKeyPairsInput
		}
		Returns struct {
			Output *ec2.DescribeKeyPairsOutput
			Error  error
		}
	}

	DeleteKeyPairCall struct {
		CallCount int
		Receives  struct {
			Input *ec2.DeleteKeyPairInput
		}
		Returns struct {
			Output *ec2.DeleteKeyPairOutput
			Error  error
		}
	}
}

func (*KeyPairsClient) DeleteKeyPair

func (e *KeyPairsClient) DeleteKeyPair(input *ec2.DeleteKeyPairInput) (*ec2.DeleteKeyPairOutput, error)

func (*KeyPairsClient) DescribeKeyPairs

func (e *KeyPairsClient) DescribeKeyPairs(input *ec2.DescribeKeyPairsInput) (*ec2.DescribeKeyPairsOutput, error)

type Logger

type Logger struct {
	PrintfCall struct {
		Receives struct {
			Message   string
			Arguments []interface{}
		}
		Messages []string
	}

	PromptCall struct {
		CallCount int
		Receives  struct {
			Message string
		}
		Returns struct {
			Proceed bool
		}
	}
}

func (*Logger) Printf

func (l *Logger) Printf(message string, a ...interface{})

func (*Logger) Prompt

func (l *Logger) Prompt(message string) bool

type NetworkInterfaceClient

type NetworkInterfaceClient struct {
	DescribeNetworkInterfacesCall struct {
		CallCount int
		Receives  struct {
			Input *ec2.DescribeNetworkInterfacesInput
		}
		Returns struct {
			Output *ec2.DescribeNetworkInterfacesOutput
			Error  error
		}
	}

	DeleteNetworkInterfaceCall struct {
		CallCount int
		Receives  struct {
			Input *ec2.DeleteNetworkInterfaceInput
		}
		Returns struct {
			Output *ec2.DeleteNetworkInterfaceOutput
			Error  error
		}
	}
}

func (*NetworkInterfaceClient) DeleteNetworkInterface

func (*NetworkInterfaceClient) DescribeNetworkInterfaces

type RouteTables

type RouteTables struct {
	DeleteCall struct {
		CallCount int
		Receives  struct {
			VpcId string
		}
		Returns struct {
			Error error
		}
	}
}

func (*RouteTables) Delete

func (r *RouteTables) Delete(vpcId string) error

type RouteTablesClient

type RouteTablesClient struct {
	DescribeRouteTablesCall struct {
		CallCount int
		Receives  struct {
			Input *ec2.DescribeRouteTablesInput
		}
		Returns struct {
			Output *ec2.DescribeRouteTablesOutput
			Error  error
		}
	}

	DisassociateRouteTableCall struct {
		CallCount int
		Receives  struct {
			Input *ec2.DisassociateRouteTableInput
		}
		Returns struct {
			Output *ec2.DisassociateRouteTableOutput
			Error  error
		}
	}

	DeleteRouteTableCall struct {
		CallCount int
		Receives  struct {
			Input *ec2.DeleteRouteTableInput
		}
		Returns struct {
			Output *ec2.DeleteRouteTableOutput
			Error  error
		}
	}
}

func (*RouteTablesClient) DeleteRouteTable

func (*RouteTablesClient) DescribeRouteTables

func (*RouteTablesClient) DisassociateRouteTable

type SecurityGroupsClient

type SecurityGroupsClient struct {
	DescribeSecurityGroupsCall struct {
		CallCount int
		Receives  struct {
			Input *ec2.DescribeSecurityGroupsInput
		}
		Returns struct {
			Output *ec2.DescribeSecurityGroupsOutput
			Error  error
		}
	}

	RevokeSecurityGroupIngressCall struct {
		CallCount int
		Receives  struct {
			Input *ec2.RevokeSecurityGroupIngressInput
		}
		Returns struct {
			Output *ec2.RevokeSecurityGroupIngressOutput
			Error  error
		}
	}

	RevokeSecurityGroupEgressCall struct {
		CallCount int
		Receives  struct {
			Input *ec2.RevokeSecurityGroupEgressInput
		}
		Returns struct {
			Output *ec2.RevokeSecurityGroupEgressOutput
			Error  error
		}
	}

	DeleteSecurityGroupCall struct {
		CallCount int
		Receives  struct {
			Input *ec2.DeleteSecurityGroupInput
		}
		Returns struct {
			Output *ec2.DeleteSecurityGroupOutput
			Error  error
		}
	}
}

func (*SecurityGroupsClient) DeleteSecurityGroup

func (*SecurityGroupsClient) DescribeSecurityGroups

func (*SecurityGroupsClient) RevokeSecurityGroupEgress

func (*SecurityGroupsClient) RevokeSecurityGroupIngress

type Subnets

type Subnets struct {
	DeleteCall struct {
		CallCount int
		Receives  struct {
			VpcId string
		}
		Returns struct {
			Error error
		}
	}
}

func (*Subnets) Delete

func (s *Subnets) Delete(vpcId string) error

type SubnetsClient

type SubnetsClient struct {
	DescribeSubnetsCall struct {
		CallCount int
		Receives  struct {
			Input *ec2.DescribeSubnetsInput
		}
		Returns struct {
			Output *ec2.DescribeSubnetsOutput
			Error  error
		}
	}

	DeleteSubnetCall struct {
		CallCount int
		Receives  struct {
			Input *ec2.DeleteSubnetInput
		}
		Returns struct {
			Output *ec2.DeleteSubnetOutput
			Error  error
		}
	}
}

func (*SubnetsClient) DeleteSubnet

func (i *SubnetsClient) DeleteSubnet(input *ec2.DeleteSubnetInput) (*ec2.DeleteSubnetOutput, error)

func (*SubnetsClient) DescribeSubnets

func (i *SubnetsClient) DescribeSubnets(input *ec2.DescribeSubnetsInput) (*ec2.DescribeSubnetsOutput, error)

type TagsClient

type TagsClient struct {
	DescribeTagsCall struct {
		CallCount int
		Receives  struct {
			Input *ec2.DescribeTagsInput
		}
		Returns struct {
			Output *ec2.DescribeTagsOutput
			Error  error
		}
	}

	DeleteTagsCall struct {
		CallCount int
		Receives  struct {
			Input *ec2.DeleteTagsInput
		}
		Returns struct {
			Output *ec2.DeleteTagsOutput
			Error  error
		}
	}
}

func (*TagsClient) DeleteTags

func (e *TagsClient) DeleteTags(input *ec2.DeleteTagsInput) (*ec2.DeleteTagsOutput, error)

func (*TagsClient) DescribeTags

func (e *TagsClient) DescribeTags(input *ec2.DescribeTagsInput) (*ec2.DescribeTagsOutput, error)

type VolumesClient

type VolumesClient struct {
	DescribeVolumesCall struct {
		CallCount int
		Receives  struct {
			Input *ec2.DescribeVolumesInput
		}
		Returns struct {
			Output *ec2.DescribeVolumesOutput
			Error  error
		}
	}

	DeleteVolumeCall struct {
		CallCount int
		Receives  struct {
			Input *ec2.DeleteVolumeInput
		}
		Returns struct {
			Output *ec2.DeleteVolumeOutput
			Error  error
		}
	}
}

func (*VolumesClient) DeleteVolume

func (e *VolumesClient) DeleteVolume(input *ec2.DeleteVolumeInput) (*ec2.DeleteVolumeOutput, error)

func (*VolumesClient) DescribeVolumes

func (e *VolumesClient) DescribeVolumes(input *ec2.DescribeVolumesInput) (*ec2.DescribeVolumesOutput, error)

type VpcClient

type VpcClient struct {
	DescribeVpcsCall struct {
		CallCount int
		Receives  struct {
			Input *ec2.DescribeVpcsInput
		}
		Returns struct {
			Output *ec2.DescribeVpcsOutput
			Error  error
		}
	}

	DeleteVpcCall struct {
		CallCount int
		Receives  struct {
			Input *ec2.DeleteVpcInput
		}
		Returns struct {
			Output *ec2.DeleteVpcOutput
			Error  error
		}
	}
}

func (*VpcClient) DeleteVpc

func (e *VpcClient) DeleteVpc(input *ec2.DeleteVpcInput) (*ec2.DeleteVpcOutput, error)

func (*VpcClient) DescribeVpcs

func (e *VpcClient) DescribeVpcs(input *ec2.DescribeVpcsInput) (*ec2.DescribeVpcsOutput, error)

Jump to

Keyboard shortcuts

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