fakes

package
v0.56.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BucketManager

type BucketManager struct {
	IsInRegionCall struct {
		CallCount int
		Receives  struct {
			Bucket string
		}
		Returns struct {
			Output bool
		}
	}
}

func (*BucketManager) IsInRegion

func (b *BucketManager) IsInRegion(bucket string) bool

type BucketsClient

type BucketsClient struct {
	ListBucketsCall struct {
		CallCount int
		Receives  struct {
			Input *awss3.ListBucketsInput
		}
		Returns struct {
			Output *awss3.ListBucketsOutput
			Error  error
		}
	}

	DeleteBucketCall struct {
		CallCount int
		Receives  struct {
			Input *awss3.DeleteBucketInput
		}
		Returns struct {
			Output *awss3.DeleteBucketOutput
			Error  error
		}
	}

	ListObjectVersionsCall struct {
		CallCount int
		Receives  struct {
			Input *awss3.ListObjectVersionsInput
		}
		Returns struct {
			Output *awss3.ListObjectVersionsOutput
			Error  error
		}
	}

	DeleteObjectsCall struct {
		CallCount int
		Receives  struct {
			Input *awss3.DeleteObjectsInput
		}
		Returns struct {
			Output *awss3.DeleteObjectsOutput
			Error  error
		}
	}
}

func (*BucketsClient) DeleteBucket

func (i *BucketsClient) DeleteBucket(input *awss3.DeleteBucketInput) (*awss3.DeleteBucketOutput, error)

func (*BucketsClient) DeleteObjects

func (*BucketsClient) ListBuckets

func (i *BucketsClient) ListBuckets(input *awss3.ListBucketsInput) (*awss3.ListBucketsOutput, error)

func (*BucketsClient) ListObjectVersions

type Logger

type Logger struct {
	PromptWithDetailsCall struct {
		CallCount int
		Receives  struct {
			Type string
			Name string
		}
		Returns struct {
			Proceed bool
		}
	}
}

func (*Logger) PromptWithDetails added in v0.21.0

func (l *Logger) PromptWithDetails(resourceType, resourceName string) bool

Jump to

Keyboard shortcuts

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