leftovers: github.com/genevievelesperance/leftovers/aws/s3/fakes Index | Files

package fakes

import "github.com/genevievelesperance/leftovers/aws/s3/fakes"

Index

Package Files

bucket_manager.go buckets_client.go logger.go

type BucketManager Uses

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

func (*BucketManager) IsInRegion Uses

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

type BucketsClient Uses

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 Uses

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

func (*BucketsClient) DeleteObjects Uses

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

func (*BucketsClient) ListBuckets Uses

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

func (*BucketsClient) ListObjectVersions Uses

func (f *BucketsClient) ListObjectVersions(param1 *awss3.ListObjectVersionsInput) (*awss3.ListObjectVersionsOutput, error)

type Logger Uses

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 Uses

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

Package fakes imports 2 packages (graph). Updated 2019-11-15. Refresh now. Tools for package owners.