state

package
v1.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL