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 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 {
	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

Jump to

Keyboard shortcuts

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