mockblobclient

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: May 6, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mockblobclient is a generated GoMock package.

Package mockblobclient is a generated GoMock package.

Package mockblobclient is a generated GoMock package.

Package mockblobclient is a generated GoMock package.

Package mockblobclient is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

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

MockClient is a mock of Client interface

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance

func (*MockClient) Addr

func (m *MockClient) Addr() string

Addr mocks base method

func (*MockClient) DeleteBlob

func (m *MockClient) DeleteBlob(arg0 core.Digest) error

DeleteBlob mocks base method

func (*MockClient) DownloadBlob

func (m *MockClient) DownloadBlob(arg0 string, arg1 core.Digest, arg2 io.Writer) error

DownloadBlob mocks base method

func (*MockClient) DuplicateUploadBlob

func (m *MockClient) DuplicateUploadBlob(arg0 string, arg1 core.Digest, arg2 io.Reader, arg3 time.Duration) error

DuplicateUploadBlob mocks base method

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockClient) ForceCleanup

func (m *MockClient) ForceCleanup(arg0 time.Duration) error

ForceCleanup mocks base method

func (*MockClient) GetMetaInfo

func (m *MockClient) GetMetaInfo(arg0 string, arg1 core.Digest) (*core.MetaInfo, error)

GetMetaInfo mocks base method

func (*MockClient) GetPeerContext

func (m *MockClient) GetPeerContext() (core.PeerContext, error)

GetPeerContext mocks base method

func (*MockClient) Locations

func (m *MockClient) Locations(arg0 core.Digest) ([]string, error)

Locations mocks base method

func (*MockClient) OverwriteMetaInfo

func (m *MockClient) OverwriteMetaInfo(arg0 core.Digest, arg1 int64) error

OverwriteMetaInfo mocks base method

func (*MockClient) ReplicateToRemote

func (m *MockClient) ReplicateToRemote(arg0 string, arg1 core.Digest, arg2 string) error

ReplicateToRemote mocks base method

func (*MockClient) Stat

func (m *MockClient) Stat(arg0 string, arg1 core.Digest) (*core.BlobInfo, error)

Stat mocks base method

func (*MockClient) StatLocal

func (m *MockClient) StatLocal(arg0 string, arg1 core.Digest) (*core.BlobInfo, error)

StatLocal mocks base method

func (*MockClient) TransferBlob

func (m *MockClient) TransferBlob(arg0 core.Digest, arg1 io.Reader) error

TransferBlob mocks base method

func (*MockClient) UploadBlob

func (m *MockClient) UploadBlob(arg0 string, arg1 core.Digest, arg2 io.Reader) error

UploadBlob mocks base method

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient

func (*MockClientMockRecorder) Addr

func (mr *MockClientMockRecorder) Addr() *gomock.Call

Addr indicates an expected call of Addr

func (*MockClientMockRecorder) DeleteBlob

func (mr *MockClientMockRecorder) DeleteBlob(arg0 interface{}) *gomock.Call

DeleteBlob indicates an expected call of DeleteBlob

func (*MockClientMockRecorder) DownloadBlob

func (mr *MockClientMockRecorder) DownloadBlob(arg0, arg1, arg2 interface{}) *gomock.Call

DownloadBlob indicates an expected call of DownloadBlob

func (*MockClientMockRecorder) DuplicateUploadBlob

func (mr *MockClientMockRecorder) DuplicateUploadBlob(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

DuplicateUploadBlob indicates an expected call of DuplicateUploadBlob

func (*MockClientMockRecorder) ForceCleanup

func (mr *MockClientMockRecorder) ForceCleanup(arg0 interface{}) *gomock.Call

ForceCleanup indicates an expected call of ForceCleanup

func (*MockClientMockRecorder) GetMetaInfo

func (mr *MockClientMockRecorder) GetMetaInfo(arg0, arg1 interface{}) *gomock.Call

GetMetaInfo indicates an expected call of GetMetaInfo

func (*MockClientMockRecorder) GetPeerContext

func (mr *MockClientMockRecorder) GetPeerContext() *gomock.Call

GetPeerContext indicates an expected call of GetPeerContext

func (*MockClientMockRecorder) Locations

func (mr *MockClientMockRecorder) Locations(arg0 interface{}) *gomock.Call

Locations indicates an expected call of Locations

func (*MockClientMockRecorder) OverwriteMetaInfo

func (mr *MockClientMockRecorder) OverwriteMetaInfo(arg0, arg1 interface{}) *gomock.Call

OverwriteMetaInfo indicates an expected call of OverwriteMetaInfo

func (*MockClientMockRecorder) ReplicateToRemote

func (mr *MockClientMockRecorder) ReplicateToRemote(arg0, arg1, arg2 interface{}) *gomock.Call

ReplicateToRemote indicates an expected call of ReplicateToRemote

func (*MockClientMockRecorder) Stat

func (mr *MockClientMockRecorder) Stat(arg0, arg1 interface{}) *gomock.Call

Stat indicates an expected call of Stat

func (*MockClientMockRecorder) StatLocal

func (mr *MockClientMockRecorder) StatLocal(arg0, arg1 interface{}) *gomock.Call

StatLocal indicates an expected call of StatLocal

func (*MockClientMockRecorder) TransferBlob

func (mr *MockClientMockRecorder) TransferBlob(arg0, arg1 interface{}) *gomock.Call

TransferBlob indicates an expected call of TransferBlob

func (*MockClientMockRecorder) UploadBlob

func (mr *MockClientMockRecorder) UploadBlob(arg0, arg1, arg2 interface{}) *gomock.Call

UploadBlob indicates an expected call of UploadBlob

type MockClientResolver

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

MockClientResolver is a mock of ClientResolver interface

func NewMockClientResolver

func NewMockClientResolver(ctrl *gomock.Controller) *MockClientResolver

NewMockClientResolver creates a new mock instance

func (*MockClientResolver) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockClientResolver) Resolve

func (m *MockClientResolver) Resolve(arg0 core.Digest) ([]blobclient.Client, error)

Resolve mocks base method

type MockClientResolverMockRecorder

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

MockClientResolverMockRecorder is the mock recorder for MockClientResolver

func (*MockClientResolverMockRecorder) Resolve

func (mr *MockClientResolverMockRecorder) Resolve(arg0 interface{}) *gomock.Call

Resolve indicates an expected call of Resolve

type MockClusterClient

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

MockClusterClient is a mock of ClusterClient interface

func NewMockClusterClient

func NewMockClusterClient(ctrl *gomock.Controller) *MockClusterClient

NewMockClusterClient creates a new mock instance

func (*MockClusterClient) DownloadBlob

func (m *MockClusterClient) DownloadBlob(arg0 string, arg1 core.Digest, arg2 io.Writer) error

DownloadBlob mocks base method

func (*MockClusterClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockClusterClient) GetMetaInfo

func (m *MockClusterClient) GetMetaInfo(arg0 string, arg1 core.Digest) (*core.MetaInfo, error)

GetMetaInfo mocks base method

func (*MockClusterClient) OverwriteMetaInfo

func (m *MockClusterClient) OverwriteMetaInfo(arg0 core.Digest, arg1 int64) error

OverwriteMetaInfo mocks base method

func (*MockClusterClient) Owners

func (m *MockClusterClient) Owners(arg0 core.Digest) ([]core.PeerContext, error)

Owners mocks base method

func (*MockClusterClient) ReplicateToRemote

func (m *MockClusterClient) ReplicateToRemote(arg0 string, arg1 core.Digest, arg2 string) error

ReplicateToRemote mocks base method

func (*MockClusterClient) Stat

func (m *MockClusterClient) Stat(arg0 string, arg1 core.Digest) (*core.BlobInfo, error)

Stat mocks base method

func (*MockClusterClient) UploadBlob

func (m *MockClusterClient) UploadBlob(arg0 string, arg1 core.Digest, arg2 io.Reader) error

UploadBlob mocks base method

type MockClusterClientMockRecorder

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

MockClusterClientMockRecorder is the mock recorder for MockClusterClient

func (*MockClusterClientMockRecorder) DownloadBlob

func (mr *MockClusterClientMockRecorder) DownloadBlob(arg0, arg1, arg2 interface{}) *gomock.Call

DownloadBlob indicates an expected call of DownloadBlob

func (*MockClusterClientMockRecorder) GetMetaInfo

func (mr *MockClusterClientMockRecorder) GetMetaInfo(arg0, arg1 interface{}) *gomock.Call

GetMetaInfo indicates an expected call of GetMetaInfo

func (*MockClusterClientMockRecorder) OverwriteMetaInfo

func (mr *MockClusterClientMockRecorder) OverwriteMetaInfo(arg0, arg1 interface{}) *gomock.Call

OverwriteMetaInfo indicates an expected call of OverwriteMetaInfo

func (*MockClusterClientMockRecorder) Owners

func (mr *MockClusterClientMockRecorder) Owners(arg0 interface{}) *gomock.Call

Owners indicates an expected call of Owners

func (*MockClusterClientMockRecorder) ReplicateToRemote

func (mr *MockClusterClientMockRecorder) ReplicateToRemote(arg0, arg1, arg2 interface{}) *gomock.Call

ReplicateToRemote indicates an expected call of ReplicateToRemote

func (*MockClusterClientMockRecorder) Stat

func (mr *MockClusterClientMockRecorder) Stat(arg0, arg1 interface{}) *gomock.Call

Stat indicates an expected call of Stat

func (*MockClusterClientMockRecorder) UploadBlob

func (mr *MockClusterClientMockRecorder) UploadBlob(arg0, arg1, arg2 interface{}) *gomock.Call

UploadBlob indicates an expected call of UploadBlob

type MockClusterProvider

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

MockClusterProvider is a mock of ClusterProvider interface

func NewMockClusterProvider

func NewMockClusterProvider(ctrl *gomock.Controller) *MockClusterProvider

NewMockClusterProvider creates a new mock instance

func (*MockClusterProvider) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockClusterProvider) Provide

Provide mocks base method

type MockClusterProviderMockRecorder

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

MockClusterProviderMockRecorder is the mock recorder for MockClusterProvider

func (*MockClusterProviderMockRecorder) Provide

func (mr *MockClusterProviderMockRecorder) Provide(arg0 interface{}) *gomock.Call

Provide indicates an expected call of Provide

type MockProvider

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

MockProvider is a mock of Provider interface

func NewMockProvider

func NewMockProvider(ctrl *gomock.Controller) *MockProvider

NewMockProvider creates a new mock instance

func (*MockProvider) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockProvider) Provide

func (m *MockProvider) Provide(arg0 string) blobclient.Client

Provide mocks base method

type MockProviderMockRecorder

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

MockProviderMockRecorder is the mock recorder for MockProvider

func (*MockProviderMockRecorder) Provide

func (mr *MockProviderMockRecorder) Provide(arg0 interface{}) *gomock.Call

Provide indicates an expected call of Provide

Jump to

Keyboard shortcuts

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