Documentation ¶
Index ¶
- Constants
- func EnrichEventWithEnvironmentVariables(event *shared.CliEvent)
- func GetApiKey() string
- func NewContextWithSDK(ctx context.Context, apiKey string) (context.Context, *speakeasy.Speakeasy, string, error)
- func Track(ctx context.Context, exec shared.InteractionType, ...) error
- type ContextKey
Constants ¶
View Source
const ExecutionKeyEnvironmentVariable = "SPEAKEASY_EXECUTION_ID"
Variables ¶
This section is empty.
Functions ¶
func NewContextWithSDK ¶
Types ¶
type ContextKey ¶
type ContextKey string
const AccountTypeKey ContextKey = "speakeasy.accountType"
const SpeakeasySDKKey ContextKey = "speakeasy.SDK"
const WorkspaceIDKey ContextKey = "speakeasy.workspaceID"
Click to show internal directories.
Click to hide internal directories.