Documentation ¶
Overview ¶
Package report_manager is a generated GoMock package.
Index ¶
- Variables
- func RegisterReportManagerServiceServer(s *grpc.Server, srv ReportManagerServiceServer)
- type AllStatusRequest
- type AllStatusResponse
- func (*AllStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AllStatusResponse) GetData() []*StatusResponse
- func (*AllStatusResponse) ProtoMessage()
- func (x *AllStatusResponse) ProtoReflect() protoreflect.Message
- func (x *AllStatusResponse) Reset()
- func (x *AllStatusResponse) String() string
- type CustomReportRequest
- func (*CustomReportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CustomReportRequest) GetFilters() []*ListFilter
- func (x *CustomReportRequest) GetReportType() string
- func (x *CustomReportRequest) GetRequestorId() string
- func (*CustomReportRequest) ProtoMessage()
- func (x *CustomReportRequest) ProtoReflect() protoreflect.Message
- func (x *CustomReportRequest) Reset()
- func (x *CustomReportRequest) String() string
- type CustomReportResponse
- func (*CustomReportResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CustomReportResponse) GetAcknowledgementId() string
- func (*CustomReportResponse) ProtoMessage()
- func (x *CustomReportResponse) ProtoReflect() protoreflect.Message
- func (x *CustomReportResponse) Reset()
- func (x *CustomReportResponse) String() string
- type GetPresignedURLRequest
- func (*GetPresignedURLRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPresignedURLRequest) GetId() string
- func (x *GetPresignedURLRequest) GetRequestorId() string
- func (*GetPresignedURLRequest) ProtoMessage()
- func (x *GetPresignedURLRequest) ProtoReflect() protoreflect.Message
- func (x *GetPresignedURLRequest) Reset()
- func (x *GetPresignedURLRequest) String() string
- type GetPresignedURLResponse
- func (*GetPresignedURLResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPresignedURLResponse) GetClientCert() string
- func (x *GetPresignedURLResponse) GetEnabledSsl() bool
- func (x *GetPresignedURLResponse) GetReportSize() int64
- func (x *GetPresignedURLResponse) GetReportType() string
- func (x *GetPresignedURLResponse) GetUrl() string
- func (*GetPresignedURLResponse) ProtoMessage()
- func (x *GetPresignedURLResponse) ProtoReflect() protoreflect.Message
- func (x *GetPresignedURLResponse) Reset()
- func (x *GetPresignedURLResponse) String() string
- type ListFilter
- type MockReportManagerServiceClient
- func (m *MockReportManagerServiceClient) EXPECT() *MockReportManagerServiceClientMockRecorder
- func (m *MockReportManagerServiceClient) GetAllRequestsStatus(arg0 context.Context, arg1 *AllStatusRequest, arg2 ...grpc.CallOption) (*AllStatusResponse, error)
- func (m *MockReportManagerServiceClient) GetPresignedURL(arg0 context.Context, arg1 *GetPresignedURLRequest, arg2 ...grpc.CallOption) (*GetPresignedURLResponse, error)
- func (m *MockReportManagerServiceClient) PrepareCustomReport(arg0 context.Context, arg1 *CustomReportRequest, arg2 ...grpc.CallOption) (*CustomReportResponse, error)
- func (m *MockReportManagerServiceClient) StoreReport(arg0 context.Context, arg1 ...grpc.CallOption) (ReportManagerService_StoreReportClient, error)
- type MockReportManagerServiceClientMockRecorder
- func (mr *MockReportManagerServiceClientMockRecorder) GetAllRequestsStatus(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockReportManagerServiceClientMockRecorder) GetPresignedURL(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockReportManagerServiceClientMockRecorder) PrepareCustomReport(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockReportManagerServiceClientMockRecorder) StoreReport(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- type MockReportManagerServiceServer
- func (m *MockReportManagerServiceServer) EXPECT() *MockReportManagerServiceServerMockRecorder
- func (m *MockReportManagerServiceServer) GetAllRequestsStatus(arg0 context.Context, arg1 *AllStatusRequest) (*AllStatusResponse, error)
- func (m *MockReportManagerServiceServer) GetPresignedURL(arg0 context.Context, arg1 *GetPresignedURLRequest) (*GetPresignedURLResponse, error)
- func (m *MockReportManagerServiceServer) PrepareCustomReport(arg0 context.Context, arg1 *CustomReportRequest) (*CustomReportResponse, error)
- func (m *MockReportManagerServiceServer) StoreReport(arg0 ReportManagerService_StoreReportServer) error
- type MockReportManagerServiceServerMockRecorder
- func (mr *MockReportManagerServiceServerMockRecorder) GetAllRequestsStatus(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockReportManagerServiceServerMockRecorder) GetPresignedURL(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockReportManagerServiceServerMockRecorder) PrepareCustomReport(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockReportManagerServiceServerMockRecorder) StoreReport(arg0 interface{}) *gomock.Call
- type MockReportManagerService_StoreReportClient
- func (m *MockReportManagerService_StoreReportClient) CloseAndRecv() (*emptypb.Empty, error)
- func (m *MockReportManagerService_StoreReportClient) CloseSend() error
- func (m *MockReportManagerService_StoreReportClient) Context() context.Context
- func (m *MockReportManagerService_StoreReportClient) EXPECT() *MockReportManagerService_StoreReportClientMockRecorder
- func (m *MockReportManagerService_StoreReportClient) Header() (metadata.MD, error)
- func (m *MockReportManagerService_StoreReportClient) RecvMsg(arg0 interface{}) error
- func (m *MockReportManagerService_StoreReportClient) Send(arg0 *StoreReportRequest) error
- func (m *MockReportManagerService_StoreReportClient) SendMsg(arg0 interface{}) error
- func (m *MockReportManagerService_StoreReportClient) Trailer() metadata.MD
- type MockReportManagerService_StoreReportClientMockRecorder
- func (mr *MockReportManagerService_StoreReportClientMockRecorder) CloseAndRecv() *gomock.Call
- func (mr *MockReportManagerService_StoreReportClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockReportManagerService_StoreReportClientMockRecorder) Context() *gomock.Call
- func (mr *MockReportManagerService_StoreReportClientMockRecorder) Header() *gomock.Call
- func (mr *MockReportManagerService_StoreReportClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
- func (mr *MockReportManagerService_StoreReportClientMockRecorder) Send(arg0 interface{}) *gomock.Call
- func (mr *MockReportManagerService_StoreReportClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
- func (mr *MockReportManagerService_StoreReportClientMockRecorder) Trailer() *gomock.Call
- type MockReportManagerService_StoreReportServer
- func (m *MockReportManagerService_StoreReportServer) Context() context.Context
- func (m *MockReportManagerService_StoreReportServer) EXPECT() *MockReportManagerService_StoreReportServerMockRecorder
- func (m *MockReportManagerService_StoreReportServer) Recv() (*StoreReportRequest, error)
- func (m *MockReportManagerService_StoreReportServer) RecvMsg(arg0 interface{}) error
- func (m *MockReportManagerService_StoreReportServer) SendAndClose(arg0 *emptypb.Empty) error
- func (m *MockReportManagerService_StoreReportServer) SendHeader(arg0 metadata.MD) error
- func (m *MockReportManagerService_StoreReportServer) SendMsg(arg0 interface{}) error
- func (m *MockReportManagerService_StoreReportServer) SetHeader(arg0 metadata.MD) error
- func (m *MockReportManagerService_StoreReportServer) SetTrailer(arg0 metadata.MD)
- type MockReportManagerService_StoreReportServerMockRecorder
- func (mr *MockReportManagerService_StoreReportServerMockRecorder) Context() *gomock.Call
- func (mr *MockReportManagerService_StoreReportServerMockRecorder) Recv() *gomock.Call
- func (mr *MockReportManagerService_StoreReportServerMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
- func (mr *MockReportManagerService_StoreReportServerMockRecorder) SendAndClose(arg0 interface{}) *gomock.Call
- func (mr *MockReportManagerService_StoreReportServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
- func (mr *MockReportManagerService_StoreReportServerMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
- func (mr *MockReportManagerService_StoreReportServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
- func (mr *MockReportManagerService_StoreReportServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
- type ReportManagerServiceClient
- type ReportManagerServiceServer
- type ReportManagerService_StoreReportClient
- type ReportManagerService_StoreReportServer
- type StatusResponse
- func (*StatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StatusResponse) GetAcknowledgementId() string
- func (x *StatusResponse) GetCreatedAt() *timestamppb.Timestamp
- func (x *StatusResponse) GetDuration() string
- func (x *StatusResponse) GetEndedAt() *timestamppb.Timestamp
- func (x *StatusResponse) GetErrMessage() string
- func (x *StatusResponse) GetReportSize() int64
- func (x *StatusResponse) GetReportType() string
- func (x *StatusResponse) GetStatus() string
- func (*StatusResponse) ProtoMessage()
- func (x *StatusResponse) ProtoReflect() protoreflect.Message
- func (x *StatusResponse) Reset()
- func (x *StatusResponse) String() string
- type StoreReportRequest
- func (*StoreReportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StoreReportRequest) GetContent() []byte
- func (*StoreReportRequest) ProtoMessage()
- func (x *StoreReportRequest) ProtoReflect() protoreflect.Message
- func (x *StoreReportRequest) Reset()
- func (x *StoreReportRequest) String() string
- type UnimplementedReportManagerServiceServer
- func (*UnimplementedReportManagerServiceServer) GetAllRequestsStatus(context.Context, *AllStatusRequest) (*AllStatusResponse, error)
- func (*UnimplementedReportManagerServiceServer) GetPresignedURL(context.Context, *GetPresignedURLRequest) (*GetPresignedURLResponse, error)
- func (*UnimplementedReportManagerServiceServer) PrepareCustomReport(context.Context, *CustomReportRequest) (*CustomReportResponse, error)
- func (*UnimplementedReportManagerServiceServer) StoreReport(ReportManagerService_StoreReportServer) error
Constants ¶
This section is empty.
Variables ¶
var File_interservice_report_manager_report_manager_proto protoreflect.FileDescriptor
Functions ¶
func RegisterReportManagerServiceServer ¶
func RegisterReportManagerServiceServer(s *grpc.Server, srv ReportManagerServiceServer)
Types ¶
type AllStatusRequest ¶
type AllStatusRequest struct { RequestorId string `` /* 162-byte string literal not displayed */ // contains filtered or unexported fields }
func (*AllStatusRequest) Descriptor
deprecated
func (*AllStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use AllStatusRequest.ProtoReflect.Descriptor instead.
func (*AllStatusRequest) GetRequestorId ¶
func (x *AllStatusRequest) GetRequestorId() string
func (*AllStatusRequest) ProtoMessage ¶
func (*AllStatusRequest) ProtoMessage()
func (*AllStatusRequest) ProtoReflect ¶
func (x *AllStatusRequest) ProtoReflect() protoreflect.Message
func (*AllStatusRequest) Reset ¶
func (x *AllStatusRequest) Reset()
func (*AllStatusRequest) String ¶
func (x *AllStatusRequest) String() string
type AllStatusResponse ¶
type AllStatusResponse struct { Data []*StatusResponse `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty" toml:"data,omitempty" mapstructure:"data,omitempty"` // contains filtered or unexported fields }
func (*AllStatusResponse) Descriptor
deprecated
func (*AllStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use AllStatusResponse.ProtoReflect.Descriptor instead.
func (*AllStatusResponse) GetData ¶
func (x *AllStatusResponse) GetData() []*StatusResponse
func (*AllStatusResponse) ProtoMessage ¶
func (*AllStatusResponse) ProtoMessage()
func (*AllStatusResponse) ProtoReflect ¶
func (x *AllStatusResponse) ProtoReflect() protoreflect.Message
func (*AllStatusResponse) Reset ¶
func (x *AllStatusResponse) Reset()
func (*AllStatusResponse) String ¶
func (x *AllStatusResponse) String() string
type CustomReportRequest ¶
type CustomReportRequest struct { RequestorId string `` /* 162-byte string literal not displayed */ ReportType string `` /* 157-byte string literal not displayed */ Filters []*ListFilter `protobuf:"bytes,3,rep,name=filters,proto3" json:"filters,omitempty" toml:"filters,omitempty" mapstructure:"filters,omitempty"` // contains filtered or unexported fields }
func (*CustomReportRequest) Descriptor
deprecated
func (*CustomReportRequest) Descriptor() ([]byte, []int)
Deprecated: Use CustomReportRequest.ProtoReflect.Descriptor instead.
func (*CustomReportRequest) GetFilters ¶
func (x *CustomReportRequest) GetFilters() []*ListFilter
func (*CustomReportRequest) GetReportType ¶
func (x *CustomReportRequest) GetReportType() string
func (*CustomReportRequest) GetRequestorId ¶
func (x *CustomReportRequest) GetRequestorId() string
func (*CustomReportRequest) ProtoMessage ¶
func (*CustomReportRequest) ProtoMessage()
func (*CustomReportRequest) ProtoReflect ¶
func (x *CustomReportRequest) ProtoReflect() protoreflect.Message
func (*CustomReportRequest) Reset ¶
func (x *CustomReportRequest) Reset()
func (*CustomReportRequest) String ¶
func (x *CustomReportRequest) String() string
type CustomReportResponse ¶
type CustomReportResponse struct { AcknowledgementId string `` /* 192-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CustomReportResponse) Descriptor
deprecated
func (*CustomReportResponse) Descriptor() ([]byte, []int)
Deprecated: Use CustomReportResponse.ProtoReflect.Descriptor instead.
func (*CustomReportResponse) GetAcknowledgementId ¶
func (x *CustomReportResponse) GetAcknowledgementId() string
func (*CustomReportResponse) ProtoMessage ¶
func (*CustomReportResponse) ProtoMessage()
func (*CustomReportResponse) ProtoReflect ¶
func (x *CustomReportResponse) ProtoReflect() protoreflect.Message
func (*CustomReportResponse) Reset ¶
func (x *CustomReportResponse) Reset()
func (*CustomReportResponse) String ¶
func (x *CustomReportResponse) String() string
type GetPresignedURLRequest ¶
type GetPresignedURLRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` RequestorId string `` /* 162-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetPresignedURLRequest) Descriptor
deprecated
func (*GetPresignedURLRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPresignedURLRequest.ProtoReflect.Descriptor instead.
func (*GetPresignedURLRequest) GetId ¶
func (x *GetPresignedURLRequest) GetId() string
func (*GetPresignedURLRequest) GetRequestorId ¶
func (x *GetPresignedURLRequest) GetRequestorId() string
func (*GetPresignedURLRequest) ProtoMessage ¶
func (*GetPresignedURLRequest) ProtoMessage()
func (*GetPresignedURLRequest) ProtoReflect ¶
func (x *GetPresignedURLRequest) ProtoReflect() protoreflect.Message
func (*GetPresignedURLRequest) Reset ¶
func (x *GetPresignedURLRequest) Reset()
func (*GetPresignedURLRequest) String ¶
func (x *GetPresignedURLRequest) String() string
type GetPresignedURLResponse ¶
type GetPresignedURLResponse struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty" toml:"url,omitempty" mapstructure:"url,omitempty"` ReportType string `` /* 157-byte string literal not displayed */ ReportSize int64 `` /* 158-byte string literal not displayed */ EnabledSsl bool `` /* 158-byte string literal not displayed */ ClientCert string `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetPresignedURLResponse) Descriptor
deprecated
func (*GetPresignedURLResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPresignedURLResponse.ProtoReflect.Descriptor instead.
func (*GetPresignedURLResponse) GetClientCert ¶
func (x *GetPresignedURLResponse) GetClientCert() string
func (*GetPresignedURLResponse) GetEnabledSsl ¶
func (x *GetPresignedURLResponse) GetEnabledSsl() bool
func (*GetPresignedURLResponse) GetReportSize ¶
func (x *GetPresignedURLResponse) GetReportSize() int64
func (*GetPresignedURLResponse) GetReportType ¶
func (x *GetPresignedURLResponse) GetReportType() string
func (*GetPresignedURLResponse) GetUrl ¶
func (x *GetPresignedURLResponse) GetUrl() string
func (*GetPresignedURLResponse) ProtoMessage ¶
func (*GetPresignedURLResponse) ProtoMessage()
func (*GetPresignedURLResponse) ProtoReflect ¶
func (x *GetPresignedURLResponse) ProtoReflect() protoreflect.Message
func (*GetPresignedURLResponse) Reset ¶
func (x *GetPresignedURLResponse) Reset()
func (*GetPresignedURLResponse) String ¶
func (x *GetPresignedURLResponse) String() string
type ListFilter ¶
type ListFilter struct { Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty" toml:"values,omitempty" mapstructure:"values,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` // contains filtered or unexported fields }
func (*ListFilter) Descriptor
deprecated
func (*ListFilter) Descriptor() ([]byte, []int)
Deprecated: Use ListFilter.ProtoReflect.Descriptor instead.
func (*ListFilter) GetType ¶
func (x *ListFilter) GetType() string
func (*ListFilter) GetValues ¶
func (x *ListFilter) GetValues() []string
func (*ListFilter) ProtoMessage ¶
func (*ListFilter) ProtoMessage()
func (*ListFilter) ProtoReflect ¶
func (x *ListFilter) ProtoReflect() protoreflect.Message
func (*ListFilter) Reset ¶
func (x *ListFilter) Reset()
func (*ListFilter) String ¶
func (x *ListFilter) String() string
type MockReportManagerServiceClient ¶
type MockReportManagerServiceClient struct {
// contains filtered or unexported fields
}
MockReportManagerServiceClient is a mock of ReportManagerServiceClient interface.
func NewMockReportManagerServiceClient ¶
func NewMockReportManagerServiceClient(ctrl *gomock.Controller) *MockReportManagerServiceClient
NewMockReportManagerServiceClient creates a new mock instance.
func (*MockReportManagerServiceClient) EXPECT ¶
func (m *MockReportManagerServiceClient) EXPECT() *MockReportManagerServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockReportManagerServiceClient) GetAllRequestsStatus ¶
func (m *MockReportManagerServiceClient) GetAllRequestsStatus(arg0 context.Context, arg1 *AllStatusRequest, arg2 ...grpc.CallOption) (*AllStatusResponse, error)
GetAllRequestsStatus mocks base method.
func (*MockReportManagerServiceClient) GetPresignedURL ¶
func (m *MockReportManagerServiceClient) GetPresignedURL(arg0 context.Context, arg1 *GetPresignedURLRequest, arg2 ...grpc.CallOption) (*GetPresignedURLResponse, error)
GetPresignedURL mocks base method.
func (*MockReportManagerServiceClient) PrepareCustomReport ¶
func (m *MockReportManagerServiceClient) PrepareCustomReport(arg0 context.Context, arg1 *CustomReportRequest, arg2 ...grpc.CallOption) (*CustomReportResponse, error)
PrepareCustomReport mocks base method.
func (*MockReportManagerServiceClient) StoreReport ¶
func (m *MockReportManagerServiceClient) StoreReport(arg0 context.Context, arg1 ...grpc.CallOption) (ReportManagerService_StoreReportClient, error)
StoreReport mocks base method.
type MockReportManagerServiceClientMockRecorder ¶
type MockReportManagerServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockReportManagerServiceClientMockRecorder is the mock recorder for MockReportManagerServiceClient.
func (*MockReportManagerServiceClientMockRecorder) GetAllRequestsStatus ¶
func (mr *MockReportManagerServiceClientMockRecorder) GetAllRequestsStatus(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetAllRequestsStatus indicates an expected call of GetAllRequestsStatus.
func (*MockReportManagerServiceClientMockRecorder) GetPresignedURL ¶
func (mr *MockReportManagerServiceClientMockRecorder) GetPresignedURL(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetPresignedURL indicates an expected call of GetPresignedURL.
func (*MockReportManagerServiceClientMockRecorder) PrepareCustomReport ¶
func (mr *MockReportManagerServiceClientMockRecorder) PrepareCustomReport(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
PrepareCustomReport indicates an expected call of PrepareCustomReport.
func (*MockReportManagerServiceClientMockRecorder) StoreReport ¶
func (mr *MockReportManagerServiceClientMockRecorder) StoreReport(arg0 interface{}, arg1 ...interface{}) *gomock.Call
StoreReport indicates an expected call of StoreReport.
type MockReportManagerServiceServer ¶
type MockReportManagerServiceServer struct {
// contains filtered or unexported fields
}
MockReportManagerServiceServer is a mock of ReportManagerServiceServer interface.
func NewMockReportManagerServiceServer ¶
func NewMockReportManagerServiceServer(ctrl *gomock.Controller) *MockReportManagerServiceServer
NewMockReportManagerServiceServer creates a new mock instance.
func (*MockReportManagerServiceServer) EXPECT ¶
func (m *MockReportManagerServiceServer) EXPECT() *MockReportManagerServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockReportManagerServiceServer) GetAllRequestsStatus ¶
func (m *MockReportManagerServiceServer) GetAllRequestsStatus(arg0 context.Context, arg1 *AllStatusRequest) (*AllStatusResponse, error)
GetAllRequestsStatus mocks base method.
func (*MockReportManagerServiceServer) GetPresignedURL ¶
func (m *MockReportManagerServiceServer) GetPresignedURL(arg0 context.Context, arg1 *GetPresignedURLRequest) (*GetPresignedURLResponse, error)
GetPresignedURL mocks base method.
func (*MockReportManagerServiceServer) PrepareCustomReport ¶
func (m *MockReportManagerServiceServer) PrepareCustomReport(arg0 context.Context, arg1 *CustomReportRequest) (*CustomReportResponse, error)
PrepareCustomReport mocks base method.
func (*MockReportManagerServiceServer) StoreReport ¶
func (m *MockReportManagerServiceServer) StoreReport(arg0 ReportManagerService_StoreReportServer) error
StoreReport mocks base method.
type MockReportManagerServiceServerMockRecorder ¶
type MockReportManagerServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockReportManagerServiceServerMockRecorder is the mock recorder for MockReportManagerServiceServer.
func (*MockReportManagerServiceServerMockRecorder) GetAllRequestsStatus ¶
func (mr *MockReportManagerServiceServerMockRecorder) GetAllRequestsStatus(arg0, arg1 interface{}) *gomock.Call
GetAllRequestsStatus indicates an expected call of GetAllRequestsStatus.
func (*MockReportManagerServiceServerMockRecorder) GetPresignedURL ¶
func (mr *MockReportManagerServiceServerMockRecorder) GetPresignedURL(arg0, arg1 interface{}) *gomock.Call
GetPresignedURL indicates an expected call of GetPresignedURL.
func (*MockReportManagerServiceServerMockRecorder) PrepareCustomReport ¶
func (mr *MockReportManagerServiceServerMockRecorder) PrepareCustomReport(arg0, arg1 interface{}) *gomock.Call
PrepareCustomReport indicates an expected call of PrepareCustomReport.
func (*MockReportManagerServiceServerMockRecorder) StoreReport ¶
func (mr *MockReportManagerServiceServerMockRecorder) StoreReport(arg0 interface{}) *gomock.Call
StoreReport indicates an expected call of StoreReport.
type MockReportManagerService_StoreReportClient ¶
type MockReportManagerService_StoreReportClient struct {
// contains filtered or unexported fields
}
MockReportManagerService_StoreReportClient is a mock of ReportManagerService_StoreReportClient interface.
func NewMockReportManagerService_StoreReportClient ¶
func NewMockReportManagerService_StoreReportClient(ctrl *gomock.Controller) *MockReportManagerService_StoreReportClient
NewMockReportManagerService_StoreReportClient creates a new mock instance.
func (*MockReportManagerService_StoreReportClient) CloseAndRecv ¶
func (m *MockReportManagerService_StoreReportClient) CloseAndRecv() (*emptypb.Empty, error)
CloseAndRecv mocks base method.
func (*MockReportManagerService_StoreReportClient) CloseSend ¶
func (m *MockReportManagerService_StoreReportClient) CloseSend() error
CloseSend mocks base method.
func (*MockReportManagerService_StoreReportClient) Context ¶
func (m *MockReportManagerService_StoreReportClient) Context() context.Context
Context mocks base method.
func (*MockReportManagerService_StoreReportClient) EXPECT ¶
func (m *MockReportManagerService_StoreReportClient) EXPECT() *MockReportManagerService_StoreReportClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockReportManagerService_StoreReportClient) Header ¶
func (m *MockReportManagerService_StoreReportClient) Header() (metadata.MD, error)
Header mocks base method.
func (*MockReportManagerService_StoreReportClient) RecvMsg ¶
func (m *MockReportManagerService_StoreReportClient) RecvMsg(arg0 interface{}) error
RecvMsg mocks base method.
func (*MockReportManagerService_StoreReportClient) Send ¶
func (m *MockReportManagerService_StoreReportClient) Send(arg0 *StoreReportRequest) error
Send mocks base method.
func (*MockReportManagerService_StoreReportClient) SendMsg ¶
func (m *MockReportManagerService_StoreReportClient) SendMsg(arg0 interface{}) error
SendMsg mocks base method.
func (*MockReportManagerService_StoreReportClient) Trailer ¶
func (m *MockReportManagerService_StoreReportClient) Trailer() metadata.MD
Trailer mocks base method.
type MockReportManagerService_StoreReportClientMockRecorder ¶
type MockReportManagerService_StoreReportClientMockRecorder struct {
// contains filtered or unexported fields
}
MockReportManagerService_StoreReportClientMockRecorder is the mock recorder for MockReportManagerService_StoreReportClient.
func (*MockReportManagerService_StoreReportClientMockRecorder) CloseAndRecv ¶
func (mr *MockReportManagerService_StoreReportClientMockRecorder) CloseAndRecv() *gomock.Call
CloseAndRecv indicates an expected call of CloseAndRecv.
func (*MockReportManagerService_StoreReportClientMockRecorder) CloseSend ¶
func (mr *MockReportManagerService_StoreReportClientMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend.
func (*MockReportManagerService_StoreReportClientMockRecorder) Context ¶
func (mr *MockReportManagerService_StoreReportClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockReportManagerService_StoreReportClientMockRecorder) Header ¶
func (mr *MockReportManagerService_StoreReportClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header.
func (*MockReportManagerService_StoreReportClientMockRecorder) RecvMsg ¶
func (mr *MockReportManagerService_StoreReportClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockReportManagerService_StoreReportClientMockRecorder) Send ¶
func (mr *MockReportManagerService_StoreReportClientMockRecorder) Send(arg0 interface{}) *gomock.Call
Send indicates an expected call of Send.
func (*MockReportManagerService_StoreReportClientMockRecorder) SendMsg ¶
func (mr *MockReportManagerService_StoreReportClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockReportManagerService_StoreReportClientMockRecorder) Trailer ¶
func (mr *MockReportManagerService_StoreReportClientMockRecorder) Trailer() *gomock.Call
Trailer indicates an expected call of Trailer.
type MockReportManagerService_StoreReportServer ¶
type MockReportManagerService_StoreReportServer struct {
// contains filtered or unexported fields
}
MockReportManagerService_StoreReportServer is a mock of ReportManagerService_StoreReportServer interface.
func NewMockReportManagerService_StoreReportServer ¶
func NewMockReportManagerService_StoreReportServer(ctrl *gomock.Controller) *MockReportManagerService_StoreReportServer
NewMockReportManagerService_StoreReportServer creates a new mock instance.
func (*MockReportManagerService_StoreReportServer) Context ¶
func (m *MockReportManagerService_StoreReportServer) Context() context.Context
Context mocks base method.
func (*MockReportManagerService_StoreReportServer) EXPECT ¶
func (m *MockReportManagerService_StoreReportServer) EXPECT() *MockReportManagerService_StoreReportServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockReportManagerService_StoreReportServer) Recv ¶
func (m *MockReportManagerService_StoreReportServer) Recv() (*StoreReportRequest, error)
Recv mocks base method.
func (*MockReportManagerService_StoreReportServer) RecvMsg ¶
func (m *MockReportManagerService_StoreReportServer) RecvMsg(arg0 interface{}) error
RecvMsg mocks base method.
func (*MockReportManagerService_StoreReportServer) SendAndClose ¶
func (m *MockReportManagerService_StoreReportServer) SendAndClose(arg0 *emptypb.Empty) error
SendAndClose mocks base method.
func (*MockReportManagerService_StoreReportServer) SendHeader ¶
func (m *MockReportManagerService_StoreReportServer) SendHeader(arg0 metadata.MD) error
SendHeader mocks base method.
func (*MockReportManagerService_StoreReportServer) SendMsg ¶
func (m *MockReportManagerService_StoreReportServer) SendMsg(arg0 interface{}) error
SendMsg mocks base method.
func (*MockReportManagerService_StoreReportServer) SetHeader ¶
func (m *MockReportManagerService_StoreReportServer) SetHeader(arg0 metadata.MD) error
SetHeader mocks base method.
func (*MockReportManagerService_StoreReportServer) SetTrailer ¶
func (m *MockReportManagerService_StoreReportServer) SetTrailer(arg0 metadata.MD)
SetTrailer mocks base method.
type MockReportManagerService_StoreReportServerMockRecorder ¶
type MockReportManagerService_StoreReportServerMockRecorder struct {
// contains filtered or unexported fields
}
MockReportManagerService_StoreReportServerMockRecorder is the mock recorder for MockReportManagerService_StoreReportServer.
func (*MockReportManagerService_StoreReportServerMockRecorder) Context ¶
func (mr *MockReportManagerService_StoreReportServerMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockReportManagerService_StoreReportServerMockRecorder) Recv ¶
func (mr *MockReportManagerService_StoreReportServerMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv.
func (*MockReportManagerService_StoreReportServerMockRecorder) RecvMsg ¶
func (mr *MockReportManagerService_StoreReportServerMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockReportManagerService_StoreReportServerMockRecorder) SendAndClose ¶
func (mr *MockReportManagerService_StoreReportServerMockRecorder) SendAndClose(arg0 interface{}) *gomock.Call
SendAndClose indicates an expected call of SendAndClose.
func (*MockReportManagerService_StoreReportServerMockRecorder) SendHeader ¶
func (mr *MockReportManagerService_StoreReportServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
SendHeader indicates an expected call of SendHeader.
func (*MockReportManagerService_StoreReportServerMockRecorder) SendMsg ¶
func (mr *MockReportManagerService_StoreReportServerMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockReportManagerService_StoreReportServerMockRecorder) SetHeader ¶
func (mr *MockReportManagerService_StoreReportServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
SetHeader indicates an expected call of SetHeader.
func (*MockReportManagerService_StoreReportServerMockRecorder) SetTrailer ¶
func (mr *MockReportManagerService_StoreReportServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
SetTrailer indicates an expected call of SetTrailer.
type ReportManagerServiceClient ¶
type ReportManagerServiceClient interface { StoreReport(ctx context.Context, opts ...grpc.CallOption) (ReportManagerService_StoreReportClient, error) PrepareCustomReport(ctx context.Context, in *CustomReportRequest, opts ...grpc.CallOption) (*CustomReportResponse, error) GetAllRequestsStatus(ctx context.Context, in *AllStatusRequest, opts ...grpc.CallOption) (*AllStatusResponse, error) GetPresignedURL(ctx context.Context, in *GetPresignedURLRequest, opts ...grpc.CallOption) (*GetPresignedURLResponse, error) }
ReportManagerServiceClient is the client API for ReportManagerService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewReportManagerServiceClient ¶
func NewReportManagerServiceClient(cc grpc.ClientConnInterface) ReportManagerServiceClient
type ReportManagerServiceServer ¶
type ReportManagerServiceServer interface { StoreReport(ReportManagerService_StoreReportServer) error PrepareCustomReport(context.Context, *CustomReportRequest) (*CustomReportResponse, error) GetAllRequestsStatus(context.Context, *AllStatusRequest) (*AllStatusResponse, error) GetPresignedURL(context.Context, *GetPresignedURLRequest) (*GetPresignedURLResponse, error) }
ReportManagerServiceServer is the server API for ReportManagerService service.
type ReportManagerService_StoreReportClient ¶
type ReportManagerService_StoreReportClient interface { Send(*StoreReportRequest) error CloseAndRecv() (*emptypb.Empty, error) grpc.ClientStream }
type ReportManagerService_StoreReportServer ¶
type ReportManagerService_StoreReportServer interface { SendAndClose(*emptypb.Empty) error Recv() (*StoreReportRequest, error) grpc.ServerStream }
type StatusResponse ¶
type StatusResponse struct { AcknowledgementId string `` /* 192-byte string literal not displayed */ Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` ReportSize int64 `` /* 158-byte string literal not displayed */ ErrMessage string `` /* 157-byte string literal not displayed */ CreatedAt *timestamppb.Timestamp `` /* 152-byte string literal not displayed */ EndedAt *timestamppb.Timestamp `` /* 142-byte string literal not displayed */ Duration string `` /* 129-byte string literal not displayed */ ReportType string `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
func (*StatusResponse) Descriptor
deprecated
func (*StatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use StatusResponse.ProtoReflect.Descriptor instead.
func (*StatusResponse) GetAcknowledgementId ¶
func (x *StatusResponse) GetAcknowledgementId() string
func (*StatusResponse) GetCreatedAt ¶
func (x *StatusResponse) GetCreatedAt() *timestamppb.Timestamp
func (*StatusResponse) GetDuration ¶
func (x *StatusResponse) GetDuration() string
func (*StatusResponse) GetEndedAt ¶
func (x *StatusResponse) GetEndedAt() *timestamppb.Timestamp
func (*StatusResponse) GetErrMessage ¶
func (x *StatusResponse) GetErrMessage() string
func (*StatusResponse) GetReportSize ¶
func (x *StatusResponse) GetReportSize() int64
func (*StatusResponse) GetReportType ¶
func (x *StatusResponse) GetReportType() string
func (*StatusResponse) GetStatus ¶
func (x *StatusResponse) GetStatus() string
func (*StatusResponse) ProtoMessage ¶
func (*StatusResponse) ProtoMessage()
func (*StatusResponse) ProtoReflect ¶
func (x *StatusResponse) ProtoReflect() protoreflect.Message
func (*StatusResponse) Reset ¶
func (x *StatusResponse) Reset()
func (*StatusResponse) String ¶
func (x *StatusResponse) String() string
type StoreReportRequest ¶
type StoreReportRequest struct { Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty" toml:"content,omitempty" mapstructure:"content,omitempty"` // contains filtered or unexported fields }
func (*StoreReportRequest) Descriptor
deprecated
func (*StoreReportRequest) Descriptor() ([]byte, []int)
Deprecated: Use StoreReportRequest.ProtoReflect.Descriptor instead.
func (*StoreReportRequest) GetContent ¶
func (x *StoreReportRequest) GetContent() []byte
func (*StoreReportRequest) ProtoMessage ¶
func (*StoreReportRequest) ProtoMessage()
func (*StoreReportRequest) ProtoReflect ¶
func (x *StoreReportRequest) ProtoReflect() protoreflect.Message
func (*StoreReportRequest) Reset ¶
func (x *StoreReportRequest) Reset()
func (*StoreReportRequest) String ¶
func (x *StoreReportRequest) String() string
type UnimplementedReportManagerServiceServer ¶
type UnimplementedReportManagerServiceServer struct { }
UnimplementedReportManagerServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedReportManagerServiceServer) GetAllRequestsStatus ¶
func (*UnimplementedReportManagerServiceServer) GetAllRequestsStatus(context.Context, *AllStatusRequest) (*AllStatusResponse, error)
func (*UnimplementedReportManagerServiceServer) GetPresignedURL ¶
func (*UnimplementedReportManagerServiceServer) GetPresignedURL(context.Context, *GetPresignedURLRequest) (*GetPresignedURLResponse, error)
func (*UnimplementedReportManagerServiceServer) PrepareCustomReport ¶
func (*UnimplementedReportManagerServiceServer) PrepareCustomReport(context.Context, *CustomReportRequest) (*CustomReportResponse, error)
func (*UnimplementedReportManagerServiceServer) StoreReport ¶
func (*UnimplementedReportManagerServiceServer) StoreReport(ReportManagerService_StoreReportServer) error