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)
- func (m *MockProviderStorageClient) UploadProviderBinaryZip(ctx context.Context, opts ...grpc.CallOption) (providerServices.Storage_UploadProviderBinaryZipClient, error)
- func (m *MockProviderStorageClient) UploadShasum(ctx context.Context, opts ...grpc.CallOption) (providerServices.Storage_UploadShasumClient, error)
- func (m *MockProviderStorageClient) UploadShasumSignature(ctx context.Context, opts ...grpc.CallOption) (providerServices.Storage_UploadShasumSignatureClient, error)
- type MockStorage_DownloadProviderShasumClient
- type MockStorage_DownloadProviderShasumSignatureClient
- type MockStorage_DownloadProviderSourceZipClient
- type MockStorage_UploadProviderBinaryZipClient
- type MockStorage_UploadShasumClient
- type MockStorage_UploadShasumSignatureClient
- type MockUploadProviderBinaryZipServer
- type MockUploadShasumServer
- type MockUploadShasumSignatureServer
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 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) 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)
func (*MockProviderStorageClient) UploadProviderBinaryZip ¶ added in v0.0.82
func (m *MockProviderStorageClient) UploadProviderBinaryZip(ctx context.Context, opts ...grpc.CallOption) (providerServices.Storage_UploadProviderBinaryZipClient, error)
func (*MockProviderStorageClient) UploadShasum ¶ added in v0.0.82
func (m *MockProviderStorageClient) UploadShasum(ctx context.Context, opts ...grpc.CallOption) (providerServices.Storage_UploadShasumClient, error)
func (*MockProviderStorageClient) UploadShasumSignature ¶ added in v0.0.82
func (m *MockProviderStorageClient) UploadShasumSignature(ctx context.Context, opts ...grpc.CallOption) (providerServices.Storage_UploadShasumSignatureClient, 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)
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 (m *MockStorage_UploadProviderBinaryZipClient) CloseAndRecv() (*terrariumProvider.Response, error)
func (*MockStorage_UploadProviderBinaryZipClient) CloseSend ¶ added in v0.0.82
func (m *MockStorage_UploadProviderBinaryZipClient) CloseSend() error
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 (m *MockStorage_UploadShasumClient) CloseAndRecv() (*terrariumProvider.Response, error)
func (*MockStorage_UploadShasumClient) CloseSend ¶ added in v0.0.82
func (m *MockStorage_UploadShasumClient) CloseSend() error
func (*MockStorage_UploadShasumClient) Send ¶ added in v0.0.82
func (m *MockStorage_UploadShasumClient) Send(*terrariumProvider.UploadShasumRequest) error
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 (m *MockStorage_UploadShasumSignatureClient) CloseAndRecv() (*terrariumProvider.Response, error)
func (*MockStorage_UploadShasumSignatureClient) CloseSend ¶ added in v0.0.82
func (m *MockStorage_UploadShasumSignatureClient) CloseSend() error
func (*MockStorage_UploadShasumSignatureClient) Send ¶ added in v0.0.82
func (m *MockStorage_UploadShasumSignatureClient) Send(*terrariumProvider.UploadShasumRequest) error
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 (mus *MockUploadProviderBinaryZipServer) Context() context.Context
func (*MockUploadProviderBinaryZipServer) Recv ¶ added in v0.0.82
func (mus *MockUploadProviderBinaryZipServer) Recv() (*provider.UploadProviderBinaryZipRequest, error)
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 (mus *MockUploadShasumServer) Recv() (*provider.UploadShasumRequest, error)
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 (mus *MockUploadShasumSignatureServer) Context() context.Context
func (*MockUploadShasumSignatureServer) Recv ¶ added in v0.0.82
func (mus *MockUploadShasumSignatureServer) Recv() (*provider.UploadShasumRequest, error)
func (*MockUploadShasumSignatureServer) SendAndClose ¶ added in v0.0.82
func (mus *MockUploadShasumSignatureServer) SendAndClose(response *provider.Response) error
Click to show internal directories.
Click to hide internal directories.