resultfetcher

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigMapHorizontal

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

func (*ConfigMapHorizontal) OnAdd

func (h *ConfigMapHorizontal) OnAdd(obj interface{})

func (*ConfigMapHorizontal) OnDelete

func (h *ConfigMapHorizontal) OnDelete(interface{})

func (*ConfigMapHorizontal) OnUpdate

func (h *ConfigMapHorizontal) OnUpdate(oldObj, newObj interface{})

type Horizontal

type Horizontal interface {
	// FetchResult fetches the latest algorithm result of the external horizontal portrait algorithm job managed by given HorizontalPortrait with given result source config.
	FetchResult(ctx context.Context, hp *autoscalingv1alpha1.HorizontalPortrait, cfg *autoscalingv1alpha1.PortraitAlgorithmResultSource) (*autoscalingv1alpha1.HorizontalPortraitData, error)
}

Horizontal provides method to fetch the algorithm result of external horizontal portrait algorithm jobs.

func NewConfigMapHorizontal

func NewConfigMapHorizontal(client client.Client, eventTrigger chan event.GenericEvent, configMapInformer cache.Informer) Horizontal

Jump to

Keyboard shortcuts

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