Documentation ¶
Index ¶
- type MockDownloadProviderShasumServer
- type MockDownloadProviderShasumSignatureServer
- type MockDownloadProviderSourceZipServer
- type MockProviderStorageClient
- func (m *MockProviderStorageClient) DownloadProviderSourceZip(ctx context.Context, in *providerServices.DownloadSourceZipRequest, ...) (providerServices.Storage_DownloadProviderSourceZipClient, error)
- func (m *MockProviderStorageClient) DownloadShasum(ctx context.Context, in *providerServices.DownloadShasumRequest, ...) (providerServices.Storage_DownloadShasumClient, error)
- func (m *MockProviderStorageClient) DownloadShasumSignature(ctx context.Context, in *providerServices.DownloadShasumRequest, ...) (providerServices.Storage_DownloadShasumSignatureClient, error)
- type MockStorage_DownloadProviderShasumClient
- type MockStorage_DownloadProviderShasumSignatureClient
- type MockStorage_DownloadProviderSourceZipClient
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 (mds *MockDownloadProviderShasumServer) Context() context.Context
func (*MockDownloadProviderShasumServer) Send ¶
func (mds *MockDownloadProviderShasumServer) Send(res *providerServices.DownloadShasumResponse) error
type MockDownloadProviderShasumSignatureServer ¶
type MockDownloadProviderShasumSignatureServer struct { providerServices.Storage_DownloadShasumSignatureServer SendInvocations int SendResponse *providerServices.DownloadShasumResponse SendError error TotalReceived []byte }
func (*MockDownloadProviderShasumSignatureServer) Context ¶
func (mds *MockDownloadProviderShasumSignatureServer) Context() context.Context
func (*MockDownloadProviderShasumSignatureServer) Send ¶
func (mds *MockDownloadProviderShasumSignatureServer) Send(res *providerServices.DownloadShasumResponse) error
type MockDownloadProviderSourceZipServer ¶
type MockDownloadProviderSourceZipServer struct { providerServices.Storage_DownloadProviderSourceZipServer SendInvocations int SendResponse *providerServices.SourceZipResponse SendError error TotalReceived []byte }
func (*MockDownloadProviderSourceZipServer) Context ¶
func (mds *MockDownloadProviderSourceZipServer) Context() context.Context
func (*MockDownloadProviderSourceZipServer) Send ¶
func (mds *MockDownloadProviderSourceZipServer) Send(res *providerServices.SourceZipResponse) error
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 }
func (*MockProviderStorageClient) DownloadProviderSourceZip ¶
func (m *MockProviderStorageClient) DownloadProviderSourceZip(ctx context.Context, in *providerServices.DownloadSourceZipRequest, opts ...grpc.CallOption) (providerServices.Storage_DownloadProviderSourceZipClient, error)
func (*MockProviderStorageClient) DownloadShasum ¶
func (m *MockProviderStorageClient) DownloadShasum(ctx context.Context, in *providerServices.DownloadShasumRequest, opts ...grpc.CallOption) (providerServices.Storage_DownloadShasumClient, error)
func (*MockProviderStorageClient) DownloadShasumSignature ¶
func (m *MockProviderStorageClient) DownloadShasumSignature(ctx context.Context, in *providerServices.DownloadShasumRequest, opts ...grpc.CallOption) (providerServices.Storage_DownloadShasumSignatureClient, 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 (m *MockStorage_DownloadProviderShasumClient) CloseSend() error
func (*MockStorage_DownloadProviderShasumClient) Recv ¶
func (m *MockStorage_DownloadProviderShasumClient) Recv() (*providerServices.DownloadShasumResponse, error)
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 (m *MockStorage_DownloadProviderShasumSignatureClient) CloseSend() error
func (*MockStorage_DownloadProviderShasumSignatureClient) Recv ¶
func (m *MockStorage_DownloadProviderShasumSignatureClient) Recv() (*providerServices.DownloadShasumResponse, error)
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 (m *MockStorage_DownloadProviderSourceZipClient) CloseSend() error
func (*MockStorage_DownloadProviderSourceZipClient) Recv ¶
func (m *MockStorage_DownloadProviderSourceZipClient) Recv() (*providerServices.SourceZipResponse, error)
Click to show internal directories.
Click to hide internal directories.