patch

package
v1.38.1 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ListPatchesEventName event.EventName = "ListPatches"
)

Variables

View Source
var CacheTtlCountPatches = 12 * time.Hour
View Source
var CacheTtlGetAllPatchCursors = 12 * time.Hour
View Source
var CacheTtlGetPatches = 12 * time.Hour

Functions

This section is empty.

Types

type ListPatchesEvent

type ListPatchesEvent struct {
	Filter  *entity.PatchFilter
	Options *entity.ListOptions
	Patches *entity.List[entity.PatchResult]
}

func (*ListPatchesEvent) Name

func (e *ListPatchesEvent) Name() event.EventName

type PatchHandler

type PatchHandler interface {
	ListPatches(*entity.PatchFilter, *entity.ListOptions) (*entity.List[entity.PatchResult], error)
}

func NewPatchHandler

func NewPatchHandler(handlerContext common.HandlerContext) PatchHandler

Jump to

Keyboard shortcuts

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