fakes

package
v0.62.0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2020 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 BucketManager

type BucketManager struct {
	IsInRegionCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			Bucket string
		}
		Returns struct {
			Bool bool
		}
		Stub func(string) bool
	}
}

func (*BucketManager) IsInRegion

func (f *BucketManager) IsInRegion(param1 string) bool

type BucketsClient

type BucketsClient struct {
	DeleteBucketCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			DeleteBucketInput *awss3.DeleteBucketInput
		}
		Returns struct {
			DeleteBucketOutput *awss3.DeleteBucketOutput
			Error              error
		}
		Stub func(*awss3.DeleteBucketInput) (*awss3.DeleteBucketOutput, error)
	}
	DeleteObjectsCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			DeleteObjectsInput *awss3.DeleteObjectsInput
		}
		Returns struct {
			DeleteObjectsOutput *awss3.DeleteObjectsOutput
			Error               error
		}
		Stub func(*awss3.DeleteObjectsInput) (*awss3.DeleteObjectsOutput, error)
	}
	ListBucketsCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			ListBucketsInput *awss3.ListBucketsInput
		}
		Returns struct {
			ListBucketsOutput *awss3.ListBucketsOutput
			Error             error
		}
		Stub func(*awss3.ListBucketsInput) (*awss3.ListBucketsOutput, error)
	}
	ListObjectVersionsCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			ListObjectVersionsInput *awss3.ListObjectVersionsInput
		}
		Returns struct {
			ListObjectVersionsOutput *awss3.ListObjectVersionsOutput
			Error                    error
		}
		Stub func(*awss3.ListObjectVersionsInput) (*awss3.ListObjectVersionsOutput, error)
	}
}

func (*BucketsClient) DeleteBucket

func (f *BucketsClient) DeleteBucket(param1 *awss3.DeleteBucketInput) (*awss3.DeleteBucketOutput, error)

func (*BucketsClient) DeleteObjects

func (f *BucketsClient) DeleteObjects(param1 *awss3.DeleteObjectsInput) (*awss3.DeleteObjectsOutput, error)

func (*BucketsClient) ListBuckets

func (f *BucketsClient) ListBuckets(param1 *awss3.ListBucketsInput) (*awss3.ListBucketsOutput, error)

func (*BucketsClient) ListObjectVersions

type Logger

type Logger struct {
	PromptWithDetailsCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			ResourceType string
			ResourceName string
		}
		Returns struct {
			Proceed bool
		}
		Stub func(string, string) bool
	}
}

func (*Logger) PromptWithDetails added in v0.21.0

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

Jump to

Keyboard shortcuts

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