Documentation ¶
Index ¶
- func GetReportingInfo(appID string) *types.ReportingInfo
- func GetReportingInfoHeaders(reportingInfo *types.ReportingInfo) map[string]string
- func Init() error
- func InjectReportingInfoHeaders(req *http.Request, reportingInfo *types.ReportingInfo)
- func WaitAndReportPreflightChecks(appID string, sequence int64, isSkipPreflights bool, isCLI bool) error
- type AirgapReporter
- type Distribution
- type OnlineReporter
- type Reporter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetReportingInfo ¶
func GetReportingInfo(appID string) *types.ReportingInfo
func GetReportingInfoHeaders ¶ added in v1.103.2
func GetReportingInfoHeaders(reportingInfo *types.ReportingInfo) map[string]string
func InjectReportingInfoHeaders ¶
func InjectReportingInfoHeaders(req *http.Request, reportingInfo *types.ReportingInfo)
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 Distribution ¶ added in v1.100.3
type Distribution int64
const ( UnknownDistribution Distribution = iota AKS DigitalOcean EKS GKE GKEAutoPilot K0s K3s Kind Kurl MicroK8s Minikube OpenShift RKE2 Tanzu )
func GetDistribution ¶ added in v1.100.3
func GetDistribution(clientset kubernetes.Interface) Distribution
func (Distribution) String ¶ added in v1.100.3
func (d Distribution) String() string
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
Click to show internal directories.
Click to hide internal directories.