fakes

package
v0.0.289 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeBlobstore

type FakeBlobstore struct {
	GetStub func(blobID string) (fileName string, err error)

	CleanUpStub func(fileName string) (err error)

	CreateStub func(fileName string) (blobID string, err error)

	ValidateStub func() (err error)

	DeleteStub func(blobId string) (err error)
	// contains filtered or unexported fields
}

func (*FakeBlobstore) CleanUp

func (fake *FakeBlobstore) CleanUp(fileName string) (err error)

func (*FakeBlobstore) CleanUpArgsForCall

func (fake *FakeBlobstore) CleanUpArgsForCall(i int) string

func (*FakeBlobstore) CleanUpCallCount

func (fake *FakeBlobstore) CleanUpCallCount() int

func (*FakeBlobstore) CleanUpReturns

func (fake *FakeBlobstore) CleanUpReturns(result1 error)

func (*FakeBlobstore) Create

func (fake *FakeBlobstore) Create(fileName string) (blobID string, err error)

func (*FakeBlobstore) CreateArgsForCall

func (fake *FakeBlobstore) CreateArgsForCall(i int) string

func (*FakeBlobstore) CreateCallCount

func (fake *FakeBlobstore) CreateCallCount() int

func (*FakeBlobstore) CreateReturns

func (fake *FakeBlobstore) CreateReturns(result1 string, result2 error)

func (*FakeBlobstore) Delete

func (fake *FakeBlobstore) Delete(blobId string) (err error)

func (*FakeBlobstore) DeleteArgsForCall

func (fake *FakeBlobstore) DeleteArgsForCall(i int) string

func (*FakeBlobstore) DeleteCallCount

func (fake *FakeBlobstore) DeleteCallCount() int

func (*FakeBlobstore) DeleteReturns

func (fake *FakeBlobstore) DeleteReturns(result1 error)

func (*FakeBlobstore) Get

func (fake *FakeBlobstore) Get(blobID string) (fileName string, err error)

func (*FakeBlobstore) GetArgsForCall

func (fake *FakeBlobstore) GetArgsForCall(i int) string

func (*FakeBlobstore) GetCallCount

func (fake *FakeBlobstore) GetCallCount() int

func (*FakeBlobstore) GetReturns

func (fake *FakeBlobstore) GetReturns(result1 string, result2 error)

func (*FakeBlobstore) Invocations

func (fake *FakeBlobstore) Invocations() map[string][][]interface{}

func (*FakeBlobstore) Validate

func (fake *FakeBlobstore) Validate() (err error)

func (*FakeBlobstore) ValidateCallCount

func (fake *FakeBlobstore) ValidateCallCount() int

func (*FakeBlobstore) ValidateReturns

func (fake *FakeBlobstore) ValidateReturns(result1 error)

type FakeDigestBlobstore

type FakeDigestBlobstore struct {
	GetStub func(blobID string, digest boshcrypto.Digest) (fileName string, err error)

	CleanUpStub func(fileName string) (err error)

	CreateStub func(fileName string) (blobID string, digest boshcrypto.MultipleDigest, err error)

	ValidateStub func() (err error)

	DeleteStub func(blobId string) (err error)
	// contains filtered or unexported fields
}

func (*FakeDigestBlobstore) CleanUp

func (fake *FakeDigestBlobstore) CleanUp(fileName string) (err error)

func (*FakeDigestBlobstore) CleanUpArgsForCall

func (fake *FakeDigestBlobstore) CleanUpArgsForCall(i int) string

func (*FakeDigestBlobstore) CleanUpCallCount

func (fake *FakeDigestBlobstore) CleanUpCallCount() int

func (*FakeDigestBlobstore) CleanUpReturns

func (fake *FakeDigestBlobstore) CleanUpReturns(result1 error)

func (*FakeDigestBlobstore) Create

func (fake *FakeDigestBlobstore) Create(fileName string) (blobID string, digest boshcrypto.MultipleDigest, err error)

func (*FakeDigestBlobstore) CreateArgsForCall

func (fake *FakeDigestBlobstore) CreateArgsForCall(i int) string

func (*FakeDigestBlobstore) CreateCallCount

func (fake *FakeDigestBlobstore) CreateCallCount() int

func (*FakeDigestBlobstore) CreateReturns

func (fake *FakeDigestBlobstore) CreateReturns(result1 string, result2 boshcrypto.MultipleDigest, result3 error)

func (*FakeDigestBlobstore) Delete

func (fake *FakeDigestBlobstore) Delete(blobId string) (err error)

func (*FakeDigestBlobstore) DeleteArgsForCall

func (fake *FakeDigestBlobstore) DeleteArgsForCall(i int) string

func (*FakeDigestBlobstore) DeleteCallCount

func (fake *FakeDigestBlobstore) DeleteCallCount() int

func (*FakeDigestBlobstore) DeleteReturns

func (fake *FakeDigestBlobstore) DeleteReturns(result1 error)

func (*FakeDigestBlobstore) Get

func (fake *FakeDigestBlobstore) Get(blobID string, digest boshcrypto.Digest) (fileName string, err error)

func (*FakeDigestBlobstore) GetArgsForCall

func (fake *FakeDigestBlobstore) GetArgsForCall(i int) (string, boshcrypto.Digest)

func (*FakeDigestBlobstore) GetCallCount

func (fake *FakeDigestBlobstore) GetCallCount() int

func (*FakeDigestBlobstore) GetReturns

func (fake *FakeDigestBlobstore) GetReturns(result1 string, result2 error)

func (*FakeDigestBlobstore) Invocations

func (fake *FakeDigestBlobstore) Invocations() map[string][][]interface{}

func (*FakeDigestBlobstore) Validate

func (fake *FakeDigestBlobstore) Validate() (err error)

func (*FakeDigestBlobstore) ValidateCallCount

func (fake *FakeDigestBlobstore) ValidateCallCount() int

func (*FakeDigestBlobstore) ValidateReturns

func (fake *FakeDigestBlobstore) ValidateReturns(result1 error)

Jump to

Keyboard shortcuts

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