mocks

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockazblobGetter

type MockazblobGetter struct {
	mock.Mock
}

MockazblobGetter is an autogenerated mock type for the azblobGetter type

func NewMockazblobGetter

func NewMockazblobGetter(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockazblobGetter

NewMockazblobGetter creates a new instance of MockazblobGetter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockazblobGetter) DownloadStream

func (_mock *MockazblobGetter) DownloadStream(ctx context.Context, container string, path string, options *blob.DownloadStreamOptions) (azblob.DownloadStreamResponse, error)

DownloadStream provides a mock function for the type MockazblobGetter

func (*MockazblobGetter) EXPECT

func (*MockazblobGetter) GetBlobProperties

func (_mock *MockazblobGetter) GetBlobProperties(ctx context.Context, container string, path string) (blob.GetPropertiesResponse, error)

GetBlobProperties provides a mock function for the type MockazblobGetter

type MockazblobGetter_DownloadStream_Call

type MockazblobGetter_DownloadStream_Call struct {
	*mock.Call
}

MockazblobGetter_DownloadStream_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadStream'

func (*MockazblobGetter_DownloadStream_Call) Return

func (*MockazblobGetter_DownloadStream_Call) Run

func (*MockazblobGetter_DownloadStream_Call) RunAndReturn

type MockazblobGetter_Expecter

type MockazblobGetter_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockazblobGetter_Expecter) DownloadStream

func (_e *MockazblobGetter_Expecter) DownloadStream(ctx interface{}, container interface{}, path interface{}, options interface{}) *MockazblobGetter_DownloadStream_Call

DownloadStream is a helper method to define mock.On call

  • ctx
  • container
  • path
  • options

func (*MockazblobGetter_Expecter) GetBlobProperties

func (_e *MockazblobGetter_Expecter) GetBlobProperties(ctx interface{}, container interface{}, path interface{}) *MockazblobGetter_GetBlobProperties_Call

GetBlobProperties is a helper method to define mock.On call

  • ctx
  • container
  • path

type MockazblobGetter_GetBlobProperties_Call

type MockazblobGetter_GetBlobProperties_Call struct {
	*mock.Call
}

MockazblobGetter_GetBlobProperties_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBlobProperties'

func (*MockazblobGetter_GetBlobProperties_Call) Return

func (*MockazblobGetter_GetBlobProperties_Call) Run

func (*MockazblobGetter_GetBlobProperties_Call) RunAndReturn

Jump to

Keyboard shortcuts

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