Documentation ¶
Index ¶
- Constants
- Variables
- type InstallerReconciler
- func (r *InstallerReconciler) CreateConfigMap(namespace string, cm *v1.ConfigMap, client *v12.CoreV1Client) (*v1.ConfigMap, error)
- func (r *InstallerReconciler) GetClientForInCluster() (*v12.CoreV1Client, error)
- func (r *InstallerReconciler) GetConfigMap(namespace string, name string, client *v12.CoreV1Client) (*v1.ConfigMap, error)
- func (r *InstallerReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)
- func (r *InstallerReconciler) SetupWithManager(mgr ctrl.Manager) error
- func (r *InstallerReconciler) UpdateConfigMap(namespace string, cm *v1.ConfigMap, client *v12.CoreV1Client) (*v1.ConfigMap, error)
- type ObjectEventType
- type TelemetryEventDto
- type TelemetryEventType
Constants ¶
View Source
const DevtronFullMode = "FULL"
View Source
const DevtronNamespace = "devtroncd"
View Source
const DevtronUniqueClientIdConfigMap = "devtron-ucid"
View Source
const DevtronUniqueClientIdConfigMapKey = "UCID"
View Source
const InstallEventKey = "installEvent"
View Source
const TelemetryOptOutApiBaseUrl = "aHR0cHM6Ly90ZWxlbWV0cnkuZGV2dHJvbi5haS9kZXZ0cm9uL3RlbGVtZXRyeS9vcHQtb3V0"
Variables ¶
View Source
var IsOptOut = false
Functions ¶
This section is empty.
Types ¶
type InstallerReconciler ¶
type InstallerReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme //Instead of KLangListener Mapper *language.Mapper PosthogClient posthog.Client Cache *cache.Cache PosthogApiKey string PosthogEndpoint string }
InstallerReconciler reconciles a Installer object
func (*InstallerReconciler) CreateConfigMap ¶
func (r *InstallerReconciler) CreateConfigMap(namespace string, cm *v1.ConfigMap, client *v12.CoreV1Client) (*v1.ConfigMap, error)
func (*InstallerReconciler) GetClientForInCluster ¶
func (r *InstallerReconciler) GetClientForInCluster() (*v12.CoreV1Client, error)
func (*InstallerReconciler) GetConfigMap ¶
func (r *InstallerReconciler) GetConfigMap(namespace string, name string, client *v12.CoreV1Client) (*v1.ConfigMap, error)
func (*InstallerReconciler) SetupWithManager ¶
func (r *InstallerReconciler) SetupWithManager(mgr ctrl.Manager) error
func (*InstallerReconciler) UpdateConfigMap ¶
func (r *InstallerReconciler) UpdateConfigMap(namespace string, cm *v1.ConfigMap, client *v12.CoreV1Client) (*v1.ConfigMap, error)
type ObjectEventType ¶
type ObjectEventType string
const ( SpecChanged ObjectEventType = "SpecChanged" Downloaded ObjectEventType = "Downloaded" Applied ObjectEventType = "Applied" )
type TelemetryEventDto ¶
type TelemetryEventDto struct { UCID string `json:"ucid"` //unique client id Timestamp time.Time `json:"timestamp"` EventMessage string `json:"eventMessage,omitempty"` EventType TelemetryEventType `json:"eventType"` ServerVersion string `json:"serverVersion,omitempty"` DevtronVersion string `json:"devtronVersion,omitempty"` DevtronMode string `json:"devtronMode,omitempty"` CloudProvider string `json:"cloudProvider,omitempty"` }
type TelemetryEventType ¶
type TelemetryEventType string
const ( Heartbeat TelemetryEventType = "Heartbeat" InstallationStart TelemetryEventType = "InstallationStart" InstallationInProgress TelemetryEventType = "InstallationInProgress" InstallationInterrupt TelemetryEventType = "InstallationInterrupt" InstallationSuccess TelemetryEventType = "InstallationSuccess" InstallationFailure TelemetryEventType = "InstallationFailure" UpgradeStart TelemetryEventType = "UpgradeStart" UpgradeInProgress TelemetryEventType = "UpgradeInProgress" UpgradeInterrupt TelemetryEventType = "UpgradeInterrupt" UpgradeSuccess TelemetryEventType = "UpgradeSuccess" UpgradeFailure TelemetryEventType = "UpgradeFailure" Summary TelemetryEventType = "Summary" InstallationInternalApplicationError TelemetryEventType = "InstallationInternalApplicationError" )
Click to show internal directories.
Click to hide internal directories.