v1

package
v1.0.165 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const MAX_REPORT_SIZE = 2097152 // 2 MB

Variables

This section is empty.

Functions

This section is empty.

Types

type ReportEventReceiver

type ReportEventReceiver struct {
	// contains filtered or unexported fields
}

func NewReportEventReceiver

func NewReportEventReceiver(tenantConfig *cautils.ConfigObj) *ReportEventReceiver

func (*ReportEventReceiver) ActionSendReport

func (report *ReportEventReceiver) ActionSendReport(opaSessionObj *cautils.OPASessionObj) error

func (*ReportEventReceiver) DisplayReportURL

func (report *ReportEventReceiver) DisplayReportURL()

func (*ReportEventReceiver) SetClusterName

func (report *ReportEventReceiver) SetClusterName(clusterName string)

func (*ReportEventReceiver) SetCustomerGUID

func (report *ReportEventReceiver) SetCustomerGUID(customerGUID string)

type ReportMock

type ReportMock struct {
}

func NewReportMock

func NewReportMock() *ReportMock

func (*ReportMock) ActionSendReport

func (reportMock *ReportMock) ActionSendReport(opaSessionObj *cautils.OPASessionObj) error

func (*ReportMock) DisplayReportURL

func (reportMock *ReportMock) DisplayReportURL()

func (*ReportMock) SetClusterName

func (reportMock *ReportMock) SetClusterName(clusterName string)

func (*ReportMock) SetCustomerGUID

func (reportMock *ReportMock) SetCustomerGUID(customerGUID string)

Jump to

Keyboard shortcuts

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