report_manager

package
v0.0.0-...-7cac148 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package report_manager is a generated GoMock package.

Index

Constants

This section is empty.

Variables

View Source
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

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

GetPresignedURL mocks base method

func (*MockReportManagerServiceClient) PrepareCustomReport

PrepareCustomReport mocks base method

func (*MockReportManagerServiceClient) StoreReport

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

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

GetPresignedURL mocks base method

func (*MockReportManagerServiceServer) PrepareCustomReport

PrepareCustomReport mocks base method

func (*MockReportManagerServiceServer) StoreReport

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

CloseAndRecv mocks base method

func (*MockReportManagerService_StoreReportClient) CloseSend

CloseSend mocks base method

func (*MockReportManagerService_StoreReportClient) Context

Context mocks base method

func (*MockReportManagerService_StoreReportClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockReportManagerService_StoreReportClient) Header

Header mocks base method

func (*MockReportManagerService_StoreReportClient) RecvMsg

func (m *MockReportManagerService_StoreReportClient) RecvMsg(arg0 interface{}) error

RecvMsg mocks base method

func (*MockReportManagerService_StoreReportClient) Send

Send mocks base method

func (*MockReportManagerService_StoreReportClient) SendMsg

func (m *MockReportManagerService_StoreReportClient) SendMsg(arg0 interface{}) error

SendMsg mocks base method

func (*MockReportManagerService_StoreReportClient) Trailer

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

CloseAndRecv indicates an expected call of CloseAndRecv

func (*MockReportManagerService_StoreReportClientMockRecorder) CloseSend

CloseSend indicates an expected call of CloseSend

func (*MockReportManagerService_StoreReportClientMockRecorder) Context

Context indicates an expected call of Context

func (*MockReportManagerService_StoreReportClientMockRecorder) Header

Header indicates an expected call of Header

func (*MockReportManagerService_StoreReportClientMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg

func (*MockReportManagerService_StoreReportClientMockRecorder) Send

Send indicates an expected call of Send

func (*MockReportManagerService_StoreReportClientMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg

func (*MockReportManagerService_StoreReportClientMockRecorder) Trailer

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

Context mocks base method

func (*MockReportManagerService_StoreReportServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockReportManagerService_StoreReportServer) Recv

Recv mocks base method

func (*MockReportManagerService_StoreReportServer) RecvMsg

func (m *MockReportManagerService_StoreReportServer) RecvMsg(arg0 interface{}) error

RecvMsg mocks base method

func (*MockReportManagerService_StoreReportServer) SendAndClose

SendAndClose mocks base method

func (*MockReportManagerService_StoreReportServer) SendHeader

SendHeader mocks base method

func (*MockReportManagerService_StoreReportServer) SendMsg

func (m *MockReportManagerService_StoreReportServer) SendMsg(arg0 interface{}) error

SendMsg mocks base method

func (*MockReportManagerService_StoreReportServer) SetHeader

SetHeader mocks base method

func (*MockReportManagerService_StoreReportServer) SetTrailer

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

Context indicates an expected call of Context

func (*MockReportManagerService_StoreReportServerMockRecorder) Recv

Recv indicates an expected call of Recv

func (*MockReportManagerService_StoreReportServerMockRecorder) RecvMsg

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

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.

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) GetPresignedURL

func (*UnimplementedReportManagerServiceServer) PrepareCustomReport

func (*UnimplementedReportManagerServiceServer) StoreReport

Jump to

Keyboard shortcuts

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