atlassian

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2026 License: GPL-3.0 Imports: 14 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

View Source
var Config = config.GetConfig()
View Source
var Tracer = otel.Tracer("pkg/providers/atlassian")

Functions

This section is empty.

Types

type AtlassianProvider

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

AtlassianProvider handles Atlassian access management

func NewAtlassianProvider

func NewAtlassianProvider(ctx context.Context, config models.ProviderConfig) (*AtlassianProvider, error)

NewAtlassianProvider initializes a new AtlassianProvider with credentials from ProviderConfig

func (*AtlassianProvider) GrantAccess

func (a *AtlassianProvider) GrantAccess(ctx context.Context, request *models.AccessRequest) error

GrantAccess adds a user to a specified group based on the provider parameters

func (*AtlassianProvider) IsAccessExpired

func (a *AtlassianProvider) IsAccessExpired(ctx context.Context, request *models.AccessRequest) (bool, error)

IsAccessExpired checks whether the access for the given request has expired

func (*AtlassianProvider) ListUsersWithAccess

func (a *AtlassianProvider) ListUsersWithAccess(ctx context.Context, roleRef models.AccessRoleRef) ([]string, error)

ListUsersWithAccess lists users with access to the specified role

func (*AtlassianProvider) RevokeAccess

func (a *AtlassianProvider) RevokeAccess(ctx context.Context, request *models.AccessRequest) error

RevokeAccess removes a user from a specified group based on the provider parameters

Jump to

Keyboard shortcuts

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