Documentation
¶
Overview ¶
Package sentry implements the Sentry work item adapter, including browse/fetch support and polling-based issue watch events.
Index ¶
- type SentryAdapter
- func (a *SentryAdapter) AddComment(_ context.Context, _ string, _ string) error
- func (a *SentryAdapter) Capabilities() adapter.AdapterCapabilities
- func (a *SentryAdapter) Fetch(ctx context.Context, externalID string) (domain.Session, error)
- func (a *SentryAdapter) ListSelectable(ctx context.Context, opts adapter.ListOpts) (*adapter.ListResult, error)
- func (a *SentryAdapter) Name() string
- func (a *SentryAdapter) OnEvent(_ context.Context, _ domain.SystemEvent) error
- func (a *SentryAdapter) Resolve(ctx context.Context, sel adapter.Selection) (domain.Session, error)
- func (a *SentryAdapter) UpdateState(_ context.Context, _ string, _ domain.TrackerState) error
- func (a *SentryAdapter) Watch(ctx context.Context, filter adapter.WorkItemFilter) (<-chan adapter.WorkItemEvent, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SentryAdapter ¶
type SentryAdapter struct {
// contains filtered or unexported fields
}
func New ¶
func New(ctx context.Context, cfg config.SentryConfig) (*SentryAdapter, error)
func (*SentryAdapter) AddComment ¶
func (*SentryAdapter) Capabilities ¶
func (a *SentryAdapter) Capabilities() adapter.AdapterCapabilities
func (*SentryAdapter) ListSelectable ¶
func (a *SentryAdapter) ListSelectable(ctx context.Context, opts adapter.ListOpts) (*adapter.ListResult, error)
func (*SentryAdapter) Name ¶
func (a *SentryAdapter) Name() string
func (*SentryAdapter) OnEvent ¶
func (a *SentryAdapter) OnEvent(_ context.Context, _ domain.SystemEvent) error
func (*SentryAdapter) UpdateState ¶
func (a *SentryAdapter) UpdateState(_ context.Context, _ string, _ domain.TrackerState) error
func (*SentryAdapter) Watch ¶
func (a *SentryAdapter) Watch(ctx context.Context, filter adapter.WorkItemFilter) (<-chan adapter.WorkItemEvent, error)
Click to show internal directories.
Click to hide internal directories.