Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DisabledEnvKey controls both the old (analytics plugin) and new (v2) implementations DisabledEnvKey = "BITRISE_ANALYTICS_DISABLED" // V2DisabledEnvKey controls only the new (v2) implementation V2DisabledEnvKey = "BITRISE_ANALYTICS_V2_DISABLED" // V2AsyncDisabledEnvKey can be used to disable the default async queries V2AsyncDisabledEnvKey = "BITRISE_ANALYTICS_V2_ASYNC_DISABLED" )
View Source
const ( // BuildExecutionID ... BuildExecutionID = "build_execution_id" // WorkflowExecutionID ... WorkflowExecutionID = "workflow_execution_id" // StepExecutionID ... StepExecutionID = "step_execution_id" // StepExecutionIDEnvKey ... StepExecutionIDEnvKey = "BITRISE_STEP_EXECUTION_ID" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Input ¶
type Input struct { Value interface{} `json:"value"` OriginalValue string `json:"original_value,omitempty"` }
Input ...
type StateChecker ¶
StateChecker ...
func NewStateChecker ¶
func NewStateChecker(repository env.Repository) StateChecker
NewStateChecker ...
type StepInfo ¶
type StepInfo struct { StepID string StepTitle string StepVersion string StepSource string Skippable bool }
StepInfo ...
type StepResult ¶
type StepResult struct { Info StepInfo Status models.StepRunStatus ErrorMessage string Timeout, NoOutputTimeout time.Duration }
StepResult ...
type Tracker ¶
type Tracker interface { SendWorkflowStarted(properties analytics.Properties, name string, title string) SendWorkflowFinished(properties analytics.Properties, failed bool) SendStepStartedEvent(properties analytics.Properties, info StepInfo, expandedInputs map[string]interface{}, originalInputs map[string]string) SendStepFinishedEvent(properties analytics.Properties, result StepResult) SendCLIWarning(message string) Wait() }
Tracker ...
func NewTracker ¶
func NewTracker(analyticsTracker analytics.Tracker, envRepository env.Repository, stateChecker StateChecker) Tracker
NewTracker ...
Click to show internal directories.
Click to hide internal directories.