Documentation ¶
Index ¶
Constants ¶
View Source
const MAX_REPORT_SIZE = 2097152 // 2 MB
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IReport ¶ added in v1.0.87
type IReport interface { ActionSendReport(opaSessionObj *cautils.OPASessionObj) error SetCustomerGUID(customerGUID string) SetClusterName(clusterName string) DisplayReportURL() }
type ReportEventReceiver ¶
type ReportEventReceiver struct {
// contains filtered or unexported fields
}
func NewReportEventReceiver ¶
func NewReportEventReceiver(tenantConfig *cautils.ConfigObj) *ReportEventReceiver
func (*ReportEventReceiver) ActionSendReport ¶ added in v1.0.87
func (report *ReportEventReceiver) ActionSendReport(opaSessionObj *cautils.OPASessionObj) error
func (*ReportEventReceiver) DisplayReportURL ¶ added in v1.0.133
func (report *ReportEventReceiver) DisplayReportURL()
func (*ReportEventReceiver) SetClusterName ¶ added in v1.0.87
func (report *ReportEventReceiver) SetClusterName(clusterName string)
func (*ReportEventReceiver) SetCustomerGUID ¶ added in v1.0.87
func (report *ReportEventReceiver) SetCustomerGUID(customerGUID string)
type ReportMock ¶ added in v1.0.87
type ReportMock struct { }
func NewReportMock ¶ added in v1.0.87
func NewReportMock() *ReportMock
func (*ReportMock) ActionSendReport ¶ added in v1.0.87
func (reportMock *ReportMock) ActionSendReport(opaSessionObj *cautils.OPASessionObj) error
func (*ReportMock) DisplayReportURL ¶ added in v1.0.133
func (reportMock *ReportMock) DisplayReportURL()
func (*ReportMock) SetClusterName ¶ added in v1.0.87
func (reportMock *ReportMock) SetClusterName(clusterName string)
func (*ReportMock) SetCustomerGUID ¶ added in v1.0.87
func (reportMock *ReportMock) SetCustomerGUID(customerGUID string)
Click to show internal directories.
Click to hide internal directories.