reporting

package
v1.98.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2023 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetReportingInfo

func GetReportingInfo(appID string) *types.ReportingInfo

func Init

func Init() error

func InjectReportingInfoHeaders

func InjectReportingInfoHeaders(req *http.Request, reportingInfo *types.ReportingInfo)

func WaitAndReportPreflightChecks added in v1.98.0

func WaitAndReportPreflightChecks(appID string, sequence int64, isSkipPreflights bool, isCLI bool) error

Types

type AirgapReporter added in v1.98.0

type AirgapReporter struct {
}

func (*AirgapReporter) SubmitAppInfo added in v1.98.0

func (r *AirgapReporter) SubmitAppInfo(appID string) error

func (*AirgapReporter) SubmitPreflightData added in v1.98.0

func (r *AirgapReporter) SubmitPreflightData(license *kotsv1beta1.License, appID string, clusterID string, sequence int64, skipPreflights bool, installStatus storetypes.DownstreamVersionStatus, isCLI bool, preflightStatus string, appStatus string) error

type OnlineReporter added in v1.98.0

type OnlineReporter struct {
}

func (*OnlineReporter) SubmitAppInfo added in v1.98.0

func (r *OnlineReporter) SubmitAppInfo(appID string) error

func (*OnlineReporter) SubmitPreflightData added in v1.98.0

func (r *OnlineReporter) SubmitPreflightData(license *kotsv1beta1.License, appID string, clusterID string, sequence int64, skipPreflights bool, installStatus storetypes.DownstreamVersionStatus, isCLI bool, preflightStatus string, appStatus string) error

type Reporter added in v1.98.0

type Reporter interface {
	SubmitAppInfo(appID string) error
	SubmitPreflightData(license *kotsv1beta1.License, appID string, clusterID string, sequence int64, skipPreflights bool, installStatus storetypes.DownstreamVersionStatus, isCLI bool, preflightStatus string, appStatus string) error
}

func GetReporter added in v1.98.0

func GetReporter() Reporter

Jump to

Keyboard shortcuts

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