patch

package
v1.44.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

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

Variables

View Source
var (
	CacheTtlGetPatches         = 12 * time.Hour
	CacheTtlGetAllPatchCursors = 12 * time.Hour
	CacheTtlCountPatches       = 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