mocks

package
v0.0.83 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2024 License: Apache-2.0 Imports: 5 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
	UploadProviderBinaryZipInvocations int
	UploadProviderBinaryZipClient      providerServices.Storage_UploadProviderBinaryZipClient
	UploadProviderBinaryZipError       error
	UploadShasumInvocations            int
	UploadShasumClient                 providerServices.Storage_UploadShasumClient
	UploadShasumError                  error
	UploadShasumSignatureInvocations   int
	UploadShasumSignatureClient        providerServices.Storage_UploadShasumSignatureClient
	UploadShasumSignatureError         error
}

func (*MockProviderStorageClient) UploadProviderBinaryZip added in v0.0.82

func (*MockProviderStorageClient) UploadShasum added in v0.0.82

func (*MockProviderStorageClient) UploadShasumSignature added in v0.0.82

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

type MockStorage_UploadProviderBinaryZipClient added in v0.0.82

type MockStorage_UploadProviderBinaryZipClient struct {
	providerServices.Storage_UploadProviderBinaryZipClient
	CloseAndRecvInvocations int
	CloseAndRecvResponse    *terrariumProvider.Response
	CloseAndRecvError       error
	SendInvocations         int
	SendError               error
	CloseSendInvocations    int
	CloseSendError          error
}

func (*MockStorage_UploadProviderBinaryZipClient) CloseAndRecv added in v0.0.82

func (*MockStorage_UploadProviderBinaryZipClient) CloseSend added in v0.0.82

func (*MockStorage_UploadProviderBinaryZipClient) Send added in v0.0.82

type MockStorage_UploadShasumClient added in v0.0.82

type MockStorage_UploadShasumClient struct {
	providerServices.Storage_UploadShasumClient
	CloseAndRecvInvocations int
	CloseAndRecvResponse    *terrariumProvider.Response
	CloseAndRecvError       error
	SendInvocations         int
	SendError               error
	CloseSendInvocations    int
	CloseSendError          error
}

func (*MockStorage_UploadShasumClient) CloseAndRecv added in v0.0.82

func (*MockStorage_UploadShasumClient) CloseSend added in v0.0.82

func (m *MockStorage_UploadShasumClient) CloseSend() error

func (*MockStorage_UploadShasumClient) Send added in v0.0.82

type MockStorage_UploadShasumSignatureClient added in v0.0.82

type MockStorage_UploadShasumSignatureClient struct {
	providerServices.Storage_UploadShasumSignatureClient
	CloseAndRecvInvocations int
	CloseAndRecvResponse    *terrariumProvider.Response
	CloseAndRecvError       error
	SendInvocations         int
	SendError               error
	CloseSendInvocations    int
	CloseSendError          error
}

func (*MockStorage_UploadShasumSignatureClient) CloseAndRecv added in v0.0.82

func (*MockStorage_UploadShasumSignatureClient) CloseSend added in v0.0.82

func (*MockStorage_UploadShasumSignatureClient) Send added in v0.0.82

type MockUploadProviderBinaryZipServer added in v0.0.82

type MockUploadProviderBinaryZipServer struct {
	providerServices.Storage_UploadProviderBinaryZipServer
	SendAndCloseInvocations int
	SendAndCloseResponse    *provider.Response
	SendAndCloseError       error
	RecvInvocations         int
	RecvMaxInvocations      int
	RecvRequest             *provider.UploadProviderBinaryZipRequest
	RecvError               error
}

func (*MockUploadProviderBinaryZipServer) Context added in v0.0.82

func (*MockUploadProviderBinaryZipServer) Recv added in v0.0.82

func (*MockUploadProviderBinaryZipServer) SendAndClose added in v0.0.82

func (mus *MockUploadProviderBinaryZipServer) SendAndClose(response *provider.Response) error

type MockUploadShasumServer added in v0.0.82

type MockUploadShasumServer struct {
	providerServices.Storage_UploadShasumServer
	SendAndCloseInvocations int
	SendAndCloseResponse    *provider.Response
	SendAndCloseError       error
	RecvInvocations         int
	RecvMaxInvocations      int
	RecvRequest             *provider.UploadShasumRequest
	RecvError               error
}

func (*MockUploadShasumServer) Context added in v0.0.82

func (mus *MockUploadShasumServer) Context() context.Context

func (*MockUploadShasumServer) Recv added in v0.0.82

func (*MockUploadShasumServer) SendAndClose added in v0.0.82

func (mus *MockUploadShasumServer) SendAndClose(response *provider.Response) error

type MockUploadShasumSignatureServer added in v0.0.82

type MockUploadShasumSignatureServer struct {
	providerServices.Storage_UploadShasumSignatureServer
	SendAndCloseInvocations int
	SendAndCloseResponse    *provider.Response
	SendAndCloseError       error
	RecvInvocations         int
	RecvMaxInvocations      int
	RecvRequest             *provider.UploadShasumRequest
	RecvError               error
}

func (*MockUploadShasumSignatureServer) Context added in v0.0.82

func (*MockUploadShasumSignatureServer) Recv added in v0.0.82

func (*MockUploadShasumSignatureServer) SendAndClose added in v0.0.82

func (mus *MockUploadShasumSignatureServer) SendAndClose(response *provider.Response) error

Jump to

Keyboard shortcuts

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