mocks

package
v0.0.79 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDownloadProviderShasumServer

type MockDownloadProviderShasumServer struct {
	providerServices.Storage_DownloadShasumServer
	SendInvocations int
	SendResponse    *providerServices.DownloadShasumResponse
	SendError       error
	TotalReceived   []byte
}

func (*MockDownloadProviderShasumServer) Context

func (*MockDownloadProviderShasumServer) Send

type MockDownloadProviderShasumSignatureServer

type MockDownloadProviderShasumSignatureServer struct {
	providerServices.Storage_DownloadShasumSignatureServer
	SendInvocations int
	SendResponse    *providerServices.DownloadShasumResponse
	SendError       error
	TotalReceived   []byte
}

func (*MockDownloadProviderShasumSignatureServer) Context

func (*MockDownloadProviderShasumSignatureServer) Send

type MockDownloadProviderSourceZipServer

type MockDownloadProviderSourceZipServer struct {
	providerServices.Storage_DownloadProviderSourceZipServer
	SendInvocations int
	SendResponse    *providerServices.SourceZipResponse
	SendError       error
	TotalReceived   []byte
}

func (*MockDownloadProviderSourceZipServer) Context

func (*MockDownloadProviderSourceZipServer) Send

type MockProviderStorageClient

type MockProviderStorageClient struct {
	providerServices.StorageClient
	DownloadSourceZipInvocations       int
	DownloadSourceZipClient            providerServices.Storage_DownloadProviderSourceZipClient
	DownloadSourceZipError             error
	DownloadShasumInvocations          int
	DownloadShasumClient               providerServices.Storage_DownloadShasumClient
	DownloadShasumError                error
	DownloadShasumSignatureInvocations int
	DownloadShasumSignatureClient      providerServices.Storage_DownloadShasumSignatureClient
	DownloadShasumSignatureError       error
}

type MockStorage_DownloadProviderShasumClient

type MockStorage_DownloadProviderShasumClient struct {
	providerServices.Storage_DownloadShasumClient
	RecvInvocations      int
	RecvResponse         *providerServices.DownloadShasumResponse
	RecvError            error
	CloseSendInvocations int
	CloseSendError       error
}

func (*MockStorage_DownloadProviderShasumClient) CloseSend

func (*MockStorage_DownloadProviderShasumClient) Recv

type MockStorage_DownloadProviderShasumSignatureClient

type MockStorage_DownloadProviderShasumSignatureClient struct {
	providerServices.Storage_DownloadShasumSignatureClient
	RecvInvocations      int
	RecvResponse         *providerServices.DownloadShasumResponse
	RecvError            error
	CloseSendInvocations int
	CloseSendError       error
}

func (*MockStorage_DownloadProviderShasumSignatureClient) CloseSend

func (*MockStorage_DownloadProviderShasumSignatureClient) Recv

type MockStorage_DownloadProviderSourceZipClient

type MockStorage_DownloadProviderSourceZipClient struct {
	providerServices.Storage_DownloadProviderSourceZipClient
	RecvInvocations      int
	RecvResponse         *providerServices.SourceZipResponse
	RecvError            error
	CloseSendInvocations int
	CloseSendError       error
}

func (*MockStorage_DownloadProviderSourceZipClient) CloseSend

func (*MockStorage_DownloadProviderSourceZipClient) Recv

Jump to

Keyboard shortcuts

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