Documentation ¶
Index ¶
Constants ¶
View Source
const ( DevEndpoint = "http://localhost:30016" ProdEndpoint = "https://replicated.app" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InstallMetrics ¶
type InstallMetrics struct { InstallID string `json:"install_id"` StartedAt time.Time `json:"started"` FinishedAt time.Time `json:"finished"` FailedAt time.Time `json:"failed"` KotsVersion string `json:"kots_version"` Cause string `json:"cause"` // contains filtered or unexported fields }
func InitInstallMetrics ¶
func InitInstallMetrics(license *kotsv1beta1.License, disableOutboundConnections bool) InstallMetrics
func (InstallMetrics) Post ¶
func (m InstallMetrics) Post(url string) error
func (InstallMetrics) ReportInstallFail ¶
func (m InstallMetrics) ReportInstallFail(cause string) error
func (InstallMetrics) ReportInstallFinish ¶
func (m InstallMetrics) ReportInstallFinish() error
func (InstallMetrics) ReportInstallStart ¶
func (m InstallMetrics) ReportInstallStart() error
Click to show internal directories.
Click to hide internal directories.