disruption_budget

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const DisruptionBudgetReconcilationInterval = 30 * time.Second

Variables

This section is empty.

Functions

This section is empty.

Types

type Counts

type Counts struct {
	TotalCount int
	BusyCount  int
	// contains filtered or unexported fields
}

type GroupMap

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

func NewGroupMap

func NewGroupMap(groupBy []string) *GroupMap

func (*GroupMap) InsertBusy

func (g *GroupMap) InsertBusy(row map[string]any) error

func (*GroupMap) InsertTotal

func (g *GroupMap) InsertTotal(row map[string]any) error

type Reconciler

type Reconciler interface {
	Reconcile(ctx context.Context)
}

func NewReconciler

func NewReconciler(store store.Store, callbackManager tasks_client.CallbackManager, log logrus.FieldLogger) Reconciler

Jump to

Keyboard shortcuts

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