scaling

package
v0.10.3 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDesiredReplicas

func GetDesiredReplicas(step dfv1.Step) (int, error)

func GetLastPending added in v0.0.106

func GetLastPending(step dfv1.Step) (int64, bool)

func GetPending added in v0.0.106

func GetPending(step dfv1.Step) (int64, bool)

func RequeueAfter

func RequeueAfter(step dfv1.Step) (time.Duration, error)

Types

type MetricsCacheHandler added in v0.0.106

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

func NewMetricsCacheHandler added in v0.0.106

func NewMetricsCacheHandler(client client.Client, workers int) *MetricsCacheHandler

func (*MetricsCacheHandler) Contains added in v0.0.106

func (m *MetricsCacheHandler) Contains(key string) bool

func (*MetricsCacheHandler) Length added in v0.0.106

func (m *MetricsCacheHandler) Length() int

func (*MetricsCacheHandler) Start added in v0.0.106

func (m *MetricsCacheHandler) Start(ctx context.Context)

func (*MetricsCacheHandler) StartWatching added in v0.0.127

func (m *MetricsCacheHandler) StartWatching(key string) error

func (*MetricsCacheHandler) StopWatching added in v0.0.127

func (m *MetricsCacheHandler) StopWatching(key string) error

Jump to

Keyboard shortcuts

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