stalecontroller

package
v0.0.0-...-35c0fb1 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const MinimumStaleDuration = time.Hour * 24 * 30

Variables

This section is empty.

Functions

func LastNonKeywordChangeAt

func LastNonKeywordChangeAt(client cache.BugzillaClient, bug *bugzilla.Bug, keywords []string) (time.Time, error)

func LastSignificantChangeAt

func LastSignificantChangeAt(client cache.BugzillaClient, bug *bugzilla.Bug, operatorConfig config.OperatorConfig) (time.Time, error)

func LastSignificantOrBotChangeAt

func LastSignificantOrBotChangeAt(client cache.BugzillaClient, bug *bugzilla.Bug) (time.Time, error)

func NewStaleController

func NewStaleController(ctx controller.ControllerContext, operatorConfig config.OperatorConfig, recorder events.Recorder) factory.Controller

func WithKeyword

func WithKeyword(wb string, kwd string) string

func WithoutKeyword

func WithoutKeyword(wb string, kwd string) string

func WithoutKeywordAndNonEmpty

func WithoutKeywordAndNonEmpty(wb string, kwd string) string

Types

type StaleController

type StaleController struct {
	controller.ControllerContext
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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