resolver

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2026 License: MIT Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultJiraClientResolver

type DefaultJiraClientResolver struct {
	// contains filtered or unexported fields
}

DefaultJiraClientResolver resolves per-user Jira clients by looking up tokens in the UserTokenStore and constructing authenticated clients.

func NewDefaultJiraClientResolver

func NewDefaultJiraClientResolver(
	store common.UserTokenStore,
	clientID, clientSecret string,
	cloudID string,
	callbackBaseURL string,
	logger *log.Logger,
) *DefaultJiraClientResolver

NewDefaultJiraClientResolver creates a new DefaultJiraClientResolver.

func (*DefaultJiraClientResolver) Resolve

Resolve looks up or constructs a per-user Jira client for the given GitHub login. Returns a result indicating either a ready client or an auth link to present.

Jump to

Keyboard shortcuts

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