Documentation
¶
Overview ¶
Package state holds intermediary state definitions for integrations
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitHubState ¶
type GitHubState struct {
// AppID is the GitHub App ID
AppID string `json:"appId,omitempty"`
// InstallationID is the GitHub App installation ID
InstallationID string `json:"installationId,omitempty"`
}
GitHubState captures GitHub App installation details for an integration.
type IntegrationProviderState ¶
type IntegrationProviderState struct {
// GitHub contains the GitHub integration state
GitHub *GitHubState `json:"github,omitempty"`
// Slack contains the Slack integration state
Slack *SlackState `json:"slack,omitempty"`
}
IntegrationProviderState stores provider-specific integration state captured during auth/config.
type SlackState ¶
type SlackState struct {
// AppID is the Slack App ID
AppID string `json:"appId,omitempty"`
// TeamID is the Slack workspace team ID
TeamID string `json:"teamId,omitempty"`
// TeamName is the Slack workspace team name
TeamName string `json:"teamName,omitempty"`
// BotUserID is the Slack bot user ID
BotUserID string `json:"botUserId,omitempty"`
}
SlackState captures Slack workspace details for an integration.
Click to show internal directories.
Click to hide internal directories.