fakes

package
v0.65.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2021 License: Apache-2.0 Imports: 3 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 {
		sync.Mutex
		CallCount int
		Receives  struct {
			DescribeAddressesInput *awsec2.DescribeAddressesInput
		}
		Returns struct {
			DescribeAddressesOutput *awsec2.DescribeAddressesOutput
			Error                   error
		}
		Stub func(*awsec2.DescribeAddressesInput) (*awsec2.DescribeAddressesOutput, error)
	}
	ReleaseAddressCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			ReleaseAddressInput *awsec2.ReleaseAddressInput
		}
		Returns struct {
			ReleaseAddressOutput *awsec2.ReleaseAddressOutput
			Error                error
		}
		Stub func(*awsec2.ReleaseAddressInput) (*awsec2.ReleaseAddressOutput, error)
	}
}

func (*AddressesClient) DescribeAddresses

func (*AddressesClient) ReleaseAddress

type ImagesClient added in v0.25.0

type ImagesClient struct {
	DeregisterImageCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			DeregisterImageInput *awsec2.DeregisterImageInput
		}
		Returns struct {
			DeregisterImageOutput *awsec2.DeregisterImageOutput
			Error                 error
		}
		Stub func(*awsec2.DeregisterImageInput) (*awsec2.DeregisterImageOutput, error)
	}
	DescribeImagesCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			DescribeImagesInput *awsec2.DescribeImagesInput
		}
		Returns struct {
			DescribeImagesOutput *awsec2.DescribeImagesOutput
			Error                error
		}
		Stub func(*awsec2.DescribeImagesInput) (*awsec2.DescribeImagesOutput, error)
	}
}

func (*ImagesClient) DeregisterImage added in v0.25.0

func (*ImagesClient) DescribeImages added in v0.25.0

type InstancesClient

type InstancesClient struct {
	DescribeAddressesCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			DescribeAddressesInput *awsec2.DescribeAddressesInput
		}
		Returns struct {
			DescribeAddressesOutput *awsec2.DescribeAddressesOutput
			Error                   error
		}
		Stub func(*awsec2.DescribeAddressesInput) (*awsec2.DescribeAddressesOutput, error)
	}
	DescribeInstancesCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			DescribeInstancesInput *awsec2.DescribeInstancesInput
		}
		Returns struct {
			DescribeInstancesOutput *awsec2.DescribeInstancesOutput
			Error                   error
		}
		Stub func(*awsec2.DescribeInstancesInput) (*awsec2.DescribeInstancesOutput, error)
	}
	ReleaseAddressCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			ReleaseAddressInput *awsec2.ReleaseAddressInput
		}
		Returns struct {
			ReleaseAddressOutput *awsec2.ReleaseAddressOutput
			Error                error
		}
		Stub func(*awsec2.ReleaseAddressInput) (*awsec2.ReleaseAddressOutput, error)
	}
	TerminateInstancesCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			TerminateInstancesInput *awsec2.TerminateInstancesInput
		}
		Returns struct {
			TerminateInstancesOutput *awsec2.TerminateInstancesOutput
			Error                    error
		}
		Stub func(*awsec2.TerminateInstancesInput) (*awsec2.TerminateInstancesOutput, error)
	}
}

func (*InstancesClient) DescribeAddresses added in v0.27.0

func (*InstancesClient) DescribeInstances

func (*InstancesClient) ReleaseAddress added in v0.27.0

func (*InstancesClient) TerminateInstances

type InternetGateways

type InternetGateways struct {
	DeleteCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			VpcId string
		}
		Returns struct {
			Error error
		}
		Stub func(string) error
	}
}

func (*InternetGateways) Delete

func (f *InternetGateways) Delete(param1 string) error

type InternetGatewaysClient

type InternetGatewaysClient struct {
	DeleteInternetGatewayCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			DeleteInternetGatewayInput *awsec2.DeleteInternetGatewayInput
		}
		Returns struct {
			DeleteInternetGatewayOutput *awsec2.DeleteInternetGatewayOutput
			Error                       error
		}
		Stub func(*awsec2.DeleteInternetGatewayInput) (*awsec2.DeleteInternetGatewayOutput, error)
	}
	DescribeInternetGatewaysCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			DescribeInternetGatewaysInput *awsec2.DescribeInternetGatewaysInput
		}
		Returns struct {
			DescribeInternetGatewaysOutput *awsec2.DescribeInternetGatewaysOutput
			Error                          error
		}
		Stub func(*awsec2.DescribeInternetGatewaysInput) (*awsec2.DescribeInternetGatewaysOutput, error)
	}
	DetachInternetGatewayCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			DetachInternetGatewayInput *awsec2.DetachInternetGatewayInput
		}
		Returns struct {
			DetachInternetGatewayOutput *awsec2.DetachInternetGatewayOutput
			Error                       error
		}
		Stub func(*awsec2.DetachInternetGatewayInput) (*awsec2.DetachInternetGatewayOutput, error)
	}
}

func (*InternetGatewaysClient) DeleteInternetGateway

func (*InternetGatewaysClient) DescribeInternetGateways

func (*InternetGatewaysClient) DetachInternetGateway

type KeyPairsClient

type KeyPairsClient struct {
	DeleteKeyPairCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			DeleteKeyPairInput *awsec2.DeleteKeyPairInput
		}
		Returns struct {
			DeleteKeyPairOutput *awsec2.DeleteKeyPairOutput
			Error               error
		}
		Stub func(*awsec2.DeleteKeyPairInput) (*awsec2.DeleteKeyPairOutput, error)
	}
	DescribeKeyPairsCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			DescribeKeyPairsInput *awsec2.DescribeKeyPairsInput
		}
		Returns struct {
			DescribeKeyPairsOutput *awsec2.DescribeKeyPairsOutput
			Error                  error
		}
		Stub func(*awsec2.DescribeKeyPairsInput) (*awsec2.DescribeKeyPairsOutput, error)
	}
}

func (*KeyPairsClient) DeleteKeyPair

func (*KeyPairsClient) DescribeKeyPairs

type Logger

type Logger struct {
	PrintfCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			Format string
			V      []interface {
			}
		}
		Stub func(string, ...interface {
		})
	}
	PromptWithDetailsCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			ResourceType string
			ResourceName string
		}
		Returns struct {
			Proceed bool
		}
		Stub func(string, string) bool
	}
}

func (*Logger) Printf

func (f *Logger) Printf(param1 string, param2 ...interface {
})

func (*Logger) PromptWithDetails added in v0.21.0

func (f *Logger) PromptWithDetails(param1 string, param2 string) bool

type NatGatewaysClient added in v0.31.0

type NatGatewaysClient struct {
	DeleteNatGatewayCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			DeleteNatGatewayInput *awsec2.DeleteNatGatewayInput
		}
		Returns struct {
			DeleteNatGatewayOutput *awsec2.DeleteNatGatewayOutput
			Error                  error
		}
		Stub func(*awsec2.DeleteNatGatewayInput) (*awsec2.DeleteNatGatewayOutput, error)
	}
	DescribeNatGatewaysCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			DescribeNatGatewaysInput *awsec2.DescribeNatGatewaysInput
		}
		Returns struct {
			DescribeNatGatewaysOutput *awsec2.DescribeNatGatewaysOutput
			Error                     error
		}
		Stub func(*awsec2.DescribeNatGatewaysInput) (*awsec2.DescribeNatGatewaysOutput, error)
	}
}

func (*NatGatewaysClient) DeleteNatGateway added in v0.31.0

func (*NatGatewaysClient) DescribeNatGateways added in v0.31.0

type NetworkInterfacesClient added in v0.65.0

type NetworkInterfacesClient struct {
	DeleteNetworkInterfaceCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			DeleteNetworkInterfaceInput *awsec2.DeleteNetworkInterfaceInput
		}
		Returns struct {
			DeleteNetworkInterfaceOutput *awsec2.DeleteNetworkInterfaceOutput
			Error                        error
		}
		Stub func(*awsec2.DeleteNetworkInterfaceInput) (*awsec2.DeleteNetworkInterfaceOutput, error)
	}
	DescribeNetworkInterfacesCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			DescribeNetworkInterfacesInput *awsec2.DescribeNetworkInterfacesInput
		}
		Returns struct {
			DescribeNetworkInterfacesOutput *awsec2.DescribeNetworkInterfacesOutput
			Error                           error
		}
		Stub func(*awsec2.DescribeNetworkInterfacesInput) (*awsec2.DescribeNetworkInterfacesOutput, error)
	}
}

func (*NetworkInterfacesClient) DeleteNetworkInterface added in v0.65.0

func (*NetworkInterfacesClient) DescribeNetworkInterfaces added in v0.65.0

type ResourceTags added in v0.24.0

type ResourceTags struct {
	DeleteCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			FilterName  string
			FilterValue string
		}
		Returns struct {
			Error error
		}
		Stub func(string, string) error
	}
}

func (*ResourceTags) Delete added in v0.24.0

func (f *ResourceTags) Delete(param1 string, param2 string) error

type RouteTables

type RouteTables struct {
	DeleteCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			VpcId string
		}
		Returns struct {
			Error error
		}
		Stub func(string) error
	}
}

func (*RouteTables) Delete

func (f *RouteTables) Delete(param1 string) error

type RouteTablesClient

type RouteTablesClient struct {
	DeleteRouteTableCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			DeleteRouteTableInput *awsec2.DeleteRouteTableInput
		}
		Returns struct {
			DeleteRouteTableOutput *awsec2.DeleteRouteTableOutput
			Error                  error
		}
		Stub func(*awsec2.DeleteRouteTableInput) (*awsec2.DeleteRouteTableOutput, error)
	}
	DescribeRouteTablesCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			DescribeRouteTablesInput *awsec2.DescribeRouteTablesInput
		}
		Returns struct {
			DescribeRouteTablesOutput *awsec2.DescribeRouteTablesOutput
			Error                     error
		}
		Stub func(*awsec2.DescribeRouteTablesInput) (*awsec2.DescribeRouteTablesOutput, error)
	}
	DisassociateRouteTableCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			DisassociateRouteTableInput *awsec2.DisassociateRouteTableInput
		}
		Returns struct {
			DisassociateRouteTableOutput *awsec2.DisassociateRouteTableOutput
			Error                        error
		}
		Stub func(*awsec2.DisassociateRouteTableInput) (*awsec2.DisassociateRouteTableOutput, error)
	}
}

func (*RouteTablesClient) DeleteRouteTable

func (*RouteTablesClient) DescribeRouteTables

func (*RouteTablesClient) DisassociateRouteTable

type SecurityGroupsClient

type SecurityGroupsClient struct {
	DeleteSecurityGroupCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			DeleteSecurityGroupInput *awsec2.DeleteSecurityGroupInput
		}
		Returns struct {
			DeleteSecurityGroupOutput *awsec2.DeleteSecurityGroupOutput
			Error                     error
		}
		Stub func(*awsec2.DeleteSecurityGroupInput) (*awsec2.DeleteSecurityGroupOutput, error)
	}
	DescribeSecurityGroupsCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			DescribeSecurityGroupsInput *awsec2.DescribeSecurityGroupsInput
		}
		Returns struct {
			DescribeSecurityGroupsOutput *awsec2.DescribeSecurityGroupsOutput
			Error                        error
		}
		Stub func(*awsec2.DescribeSecurityGroupsInput) (*awsec2.DescribeSecurityGroupsOutput, error)
	}
	RevokeSecurityGroupEgressCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			RevokeSecurityGroupEgressInput *awsec2.RevokeSecurityGroupEgressInput
		}
		Returns struct {
			RevokeSecurityGroupEgressOutput *awsec2.RevokeSecurityGroupEgressOutput
			Error                           error
		}
		Stub func(*awsec2.RevokeSecurityGroupEgressInput) (*awsec2.RevokeSecurityGroupEgressOutput, error)
	}
	RevokeSecurityGroupIngressCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			RevokeSecurityGroupIngressInput *awsec2.RevokeSecurityGroupIngressInput
		}
		Returns struct {
			RevokeSecurityGroupIngressOutput *awsec2.RevokeSecurityGroupIngressOutput
			Error                            error
		}
		Stub func(*awsec2.RevokeSecurityGroupIngressInput) (*awsec2.RevokeSecurityGroupIngressOutput, error)
	}
}

func (*SecurityGroupsClient) DeleteSecurityGroup

func (*SecurityGroupsClient) DescribeSecurityGroups

func (*SecurityGroupsClient) RevokeSecurityGroupEgress

func (*SecurityGroupsClient) RevokeSecurityGroupIngress

type SnapshotsClient added in v0.25.0

type SnapshotsClient struct {
	DeleteSnapshotCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			DeleteSnapshotInput *awsec2.DeleteSnapshotInput
		}
		Returns struct {
			DeleteSnapshotOutput *awsec2.DeleteSnapshotOutput
			Error                error
		}
		Stub func(*awsec2.DeleteSnapshotInput) (*awsec2.DeleteSnapshotOutput, error)
	}
	DescribeSnapshotsCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			DescribeSnapshotsInput *awsec2.DescribeSnapshotsInput
		}
		Returns struct {
			DescribeSnapshotsOutput *awsec2.DescribeSnapshotsOutput
			Error                   error
		}
		Stub func(*awsec2.DescribeSnapshotsInput) (*awsec2.DescribeSnapshotsOutput, error)
	}
}

func (*SnapshotsClient) DeleteSnapshot added in v0.25.0

func (*SnapshotsClient) DescribeSnapshots added in v0.25.0

type StsClient added in v0.25.0

type StsClient struct {
	GetCallerIdentityCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			GetCallerIdentityInput *awssts.GetCallerIdentityInput
		}
		Returns struct {
			GetCallerIdentityOutput *awssts.GetCallerIdentityOutput
			Error                   error
		}
		Stub func(*awssts.GetCallerIdentityInput) (*awssts.GetCallerIdentityOutput, error)
	}
}

func (*StsClient) GetCallerIdentity added in v0.25.0

func (f *StsClient) GetCallerIdentity(param1 *awssts.GetCallerIdentityInput) (*awssts.GetCallerIdentityOutput, error)

type Subnets

type Subnets struct {
	DeleteCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			VpcId string
		}
		Returns struct {
			Error error
		}
		Stub func(string) error
	}
}

func (*Subnets) Delete

func (f *Subnets) Delete(param1 string) error

type SubnetsClient

type SubnetsClient struct {
	DeleteSubnetCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			DeleteSubnetInput *awsec2.DeleteSubnetInput
		}
		Returns struct {
			DeleteSubnetOutput *awsec2.DeleteSubnetOutput
			Error              error
		}
		Stub func(*awsec2.DeleteSubnetInput) (*awsec2.DeleteSubnetOutput, error)
	}
	DescribeSubnetsCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			DescribeSubnetsInput *awsec2.DescribeSubnetsInput
		}
		Returns struct {
			DescribeSubnetsOutput *awsec2.DescribeSubnetsOutput
			Error                 error
		}
		Stub func(*awsec2.DescribeSubnetsInput) (*awsec2.DescribeSubnetsOutput, error)
	}
}

func (*SubnetsClient) DeleteSubnet

func (*SubnetsClient) DescribeSubnets

type TagsClient

type TagsClient struct {
	DeleteTagsCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			DeleteTagsInput *awsec2.DeleteTagsInput
		}
		Returns struct {
			DeleteTagsOutput *awsec2.DeleteTagsOutput
			Error            error
		}
		Stub func(*awsec2.DeleteTagsInput) (*awsec2.DeleteTagsOutput, error)
	}
	DescribeTagsCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			DescribeTagsInput *awsec2.DescribeTagsInput
		}
		Returns struct {
			DescribeTagsOutput *awsec2.DescribeTagsOutput
			Error              error
		}
		Stub func(*awsec2.DescribeTagsInput) (*awsec2.DescribeTagsOutput, error)
	}
}

func (*TagsClient) DeleteTags

func (f *TagsClient) DeleteTags(param1 *awsec2.DeleteTagsInput) (*awsec2.DeleteTagsOutput, error)

func (*TagsClient) DescribeTags

func (f *TagsClient) DescribeTags(param1 *awsec2.DescribeTagsInput) (*awsec2.DescribeTagsOutput, error)

type VolumesClient

type VolumesClient struct {
	DeleteVolumeCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			DeleteVolumeInput *awsec2.DeleteVolumeInput
		}
		Returns struct {
			DeleteVolumeOutput *awsec2.DeleteVolumeOutput
			Error              error
		}
		Stub func(*awsec2.DeleteVolumeInput) (*awsec2.DeleteVolumeOutput, error)
	}
	DescribeVolumesCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			DescribeVolumesInput *awsec2.DescribeVolumesInput
		}
		Returns struct {
			DescribeVolumesOutput *awsec2.DescribeVolumesOutput
			Error                 error
		}
		Stub func(*awsec2.DescribeVolumesInput) (*awsec2.DescribeVolumesOutput, error)
	}
}

func (*VolumesClient) DeleteVolume

func (*VolumesClient) DescribeVolumes

type VpcsClient added in v0.65.0

type VpcsClient struct {
	DeleteVpcCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			DeleteVpcInput *awsec2.DeleteVpcInput
		}
		Returns struct {
			DeleteVpcOutput *awsec2.DeleteVpcOutput
			Error           error
		}
		Stub func(*awsec2.DeleteVpcInput) (*awsec2.DeleteVpcOutput, error)
	}
	DescribeVpcsCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			DescribeVpcsInput *awsec2.DescribeVpcsInput
		}
		Returns struct {
			DescribeVpcsOutput *awsec2.DescribeVpcsOutput
			Error              error
		}
		Stub func(*awsec2.DescribeVpcsInput) (*awsec2.DescribeVpcsOutput, error)
	}
}

func (*VpcsClient) DeleteVpc added in v0.65.0

func (f *VpcsClient) DeleteVpc(param1 *awsec2.DeleteVpcInput) (*awsec2.DeleteVpcOutput, error)

func (*VpcsClient) DescribeVpcs added in v0.65.0

func (f *VpcsClient) DescribeVpcs(param1 *awsec2.DescribeVpcsInput) (*awsec2.DescribeVpcsOutput, error)

Jump to

Keyboard shortcuts

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