jira

package
v0.4.8 Latest Latest
Warning

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

Go to latest
Published: May 30, 2022 License: Apache-2.0 Imports: 5 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountService

type AccountService interface {
	UpdateJiraStatus(UpdateRequest *UpdateRequest, finalIssueStatus string) ([]string, error)
}

type AccountServiceImpl

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

func NewAccountServiceImpl

func NewAccountServiceImpl(logger *zap.SugaredLogger, jiraAccountRepository repository.JiraAccountRepository, jiraClient client.JiraClient) *AccountServiceImpl

func (*AccountServiceImpl) UpdateJiraStatus

func (impl *AccountServiceImpl) UpdateJiraStatus(updateRequest *UpdateRequest, finalIssueStatus string) ([]string, error)

type AccountValidator

type AccountValidator interface {
	ValidateUserAccount(jiraAccountUrl string, userName string, token string) (bool, error)
}

type AccountValidatorImpl

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

func NewAccountValidatorImpl

func NewAccountValidatorImpl(logger *zap.SugaredLogger, jiraClient client.JiraClient) *AccountValidatorImpl

func (*AccountValidatorImpl) ValidateUserAccount

func (impl *AccountValidatorImpl) ValidateUserAccount(jiraAccountUrl string, userName string, token string) (bool, error)

type UpdateRequest

type UpdateRequest struct {
	UserId     int32
	UserName   string
	AuthToken  string
	AccountURL string
	CommitMap  map[string]string
}

Jump to

Keyboard shortcuts

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