Versions in this module Expand all Collapse all v0 v0.3.0 Sep 12, 2026 v0.2.0 Sep 6, 2026 Changes in this version + const AppID + const ChannelAttention + const ChannelConnection + const ChannelLive + const ChannelSummary + const OperationItems + const OperationStatus + const PluginID + const PluginVersion + var ConfigSchema json.RawMessage + var ErrStaleNotification = errors.New("notification selection is stale") + func AssetDeclarations() []assets.Declaration + func DefinitionForVersion(version string) pluginsdk.Definition + func ErrorCode(err error) string + func IsCredentialRejected(err error) bool + func RunSetup(ctx context.Context, args []string, stdin io.Reader, stdout, stderr io.Writer, ...) error + func ValidateRepositories(repositories []Repository) error + type Config struct + Configured bool + Label string + NotificationReasons []string + PollInterval time.Duration + RearDetails bool + Repositories []Repository + func DecodeConfig(raw json.RawMessage) (Config, error) + type Handler struct + func New(host Host) *Handler + func (h *Handler) EndSession(ctx context.Context, r protocol.SessionEndRequest) error + func (h *Handler) HandleSessionInput(ctx context.Context, r protocol.SessionInputRequest) (protocol.SessionInputResult, error) + func (h *Handler) Health(context.Context) protocol.HealthResult + func (h *Handler) InvokeOperation(_ context.Context, request protocol.OperationRequest) (protocol.OperationResult, error) + func (h *Handler) ReplaceInstances(ctx context.Context, instances []protocol.Instance) error + func (h *Handler) Shutdown(ctx context.Context) error + func (h *Handler) StartSession(ctx context.Context, r protocol.SessionStartRequest) error + type Host interface + BeginSessionExecution func(context.Context, protocol.SessionExecutionRequest) error + CompleteSession func(context.Context, protocol.CompleteSessionRequest) error + Log func(context.Context, protocol.LogNotification) error + PublishObservation func(context.Context, protocol.Observation) error + SaveCheckpoint func(context.Context, protocol.CheckpointRequest) error + type Identity struct + ID int64 + Login string + func Authorize(ctx context.Context, client *http.Client, token string, ...) (Identity, error) + type Repository struct + Alias string + Name string