reviewutil

package
v0.1.373 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Redmine

type Redmine struct {
	BaseURL string
	Token   string
}
func (r *Redmine) IssueLink(ticket string) string
func (r *Redmine) TicketLink(ticket string) string

TicketLink returns link to issue for updates.

func (*Redmine) UpdateTicket

func (r *Redmine) UpdateTicket(ticket, message string) error

UpdateTicket updates ticket given ticket number and message. http://www.redmine.org/projects/redmine/wiki/Rest_Issues#Updating-an-issue

type ReviewConfig

type ReviewConfig struct {
	SolrServer        string     `yaml:"solr"`
	Ticket            string     `yaml:"ticket"`
	ZeroResultsPolicy string     `yaml:"zero-results-policy"`
	AllowedKeys       [][]string `yaml:"allowed-keys"`
	AllRecords        [][]string `yaml:"all-records"`
	MinRatio          [][]string `yaml:"min-ratio"`
	MinCount          [][]string `yaml:"min-count"`
}

ReviewConfig contains various index review cases and general configuration.

func (*ReviewConfig) ReadFrom

func (rc *ReviewConfig) ReadFrom(r io.Reader) (n int64, err error)

ReadFrom can populate a config from a YAML stream.

Jump to

Keyboard shortcuts

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