Documentation
¶
Overview ¶
Copyright (C) 2021-2023, Kubefirst
This program is licensed under MIT. See the LICENSE file for more details.
Copyright (C) 2021-2023, Kubefirst ¶
This program is licensed under MIT. See the LICENSE file for more details.
Copyright (C) 2021-2023, Kubefirst ¶
This program is licensed under MIT. See the LICENSE file for more details.
Index ¶
Constants ¶
View Source
const ( SegmentIOWriteKey = "0gAYkX5RV3vt7s4pqCOOsDb6WHPLT30M" MetricInitStarted = "kubefirst.init.started" MetricInitCompleted = "kubefirst.init.completed" MetricMgmtClusterInstallStarted = "kubefirst.mgmt_cluster_install.started" MetricMgmtClusterInstallCompleted = "kubefirst.mgmt_cluster_install.completed" )
SegmentIO constants SegmentIOWriteKey The write key is the unique identifier for a source that tells Segment which source data comes from, to which workspace the data belongs, and which destinations should receive the data.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SegmentClient ¶
type SegmentClient struct {
Client analytics.Client
CliVersion string
CloudProvider string
ClusterID string
ClusterType string
DomainName string
GitProvider string
KubefirstTeam string
KubefirstTeamInfo string
}
func (*SegmentClient) SendCountMetric ¶
func (c *SegmentClient) SendCountMetric( metricName string, ) string
SendCountMetric
func (*SegmentClient) SetupClient ¶ added in v0.1.8
func (c *SegmentClient) SetupClient()
SetupClient associates the Segment client with an instance of the local client
Click to show internal directories.
Click to hide internal directories.