mocks

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CASClient

type CASClient struct {
	WriteStub func(content []byte) (string, error)

	ReadStub func(address string) ([]byte, error)

	WriteWithCIDFormatStub func(content []byte, opts ...extendedcasclient.CIDFormatOption) (string, error)

	GetPrimaryWriterTypeStub func() string
	// contains filtered or unexported fields
}

func (*CASClient) GetPrimaryWriterType

func (fake *CASClient) GetPrimaryWriterType() string

func (*CASClient) GetPrimaryWriterTypeCallCount

func (fake *CASClient) GetPrimaryWriterTypeCallCount() int

func (*CASClient) GetPrimaryWriterTypeReturns

func (fake *CASClient) GetPrimaryWriterTypeReturns(result1 string)

func (*CASClient) GetPrimaryWriterTypeReturnsOnCall

func (fake *CASClient) GetPrimaryWriterTypeReturnsOnCall(i int, result1 string)

func (*CASClient) Invocations

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

func (*CASClient) Read

func (fake *CASClient) Read(address string) ([]byte, error)

func (*CASClient) ReadArgsForCall

func (fake *CASClient) ReadArgsForCall(i int) string

func (*CASClient) ReadCallCount

func (fake *CASClient) ReadCallCount() int

func (*CASClient) ReadReturns

func (fake *CASClient) ReadReturns(result1 []byte, result2 error)

func (*CASClient) ReadReturnsOnCall

func (fake *CASClient) ReadReturnsOnCall(i int, result1 []byte, result2 error)

func (*CASClient) Write

func (fake *CASClient) Write(content []byte) (string, error)

func (*CASClient) WriteArgsForCall

func (fake *CASClient) WriteArgsForCall(i int) []byte

func (*CASClient) WriteCallCount

func (fake *CASClient) WriteCallCount() int

func (*CASClient) WriteReturns

func (fake *CASClient) WriteReturns(result1 string, result2 error)

func (*CASClient) WriteReturnsOnCall

func (fake *CASClient) WriteReturnsOnCall(i int, result1 string, result2 error)

func (*CASClient) WriteWithCIDFormat

func (fake *CASClient) WriteWithCIDFormat(content []byte, opts ...extendedcasclient.CIDFormatOption) (string, error)

func (*CASClient) WriteWithCIDFormatArgsForCall

func (fake *CASClient) WriteWithCIDFormatArgsForCall(i int) ([]byte, []extendedcasclient.CIDFormatOption)

func (*CASClient) WriteWithCIDFormatCallCount

func (fake *CASClient) WriteWithCIDFormatCallCount() int

func (*CASClient) WriteWithCIDFormatReturns

func (fake *CASClient) WriteWithCIDFormatReturns(result1 string, result2 error)

func (*CASClient) WriteWithCIDFormatReturnsOnCall

func (fake *CASClient) WriteWithCIDFormatReturnsOnCall(i int, result1 string, result2 error)

Jump to

Keyboard shortcuts

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