keda

package
v0.41.9 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// AutoscalerClass is the KEDA autoscaler class.
	AutoscalerClass = "keda.autoscaling.knative.dev"
)

Variables

View Source
var (
	KedaSchemeGroupVersion = schema.GroupVersion{Group: "keda.sh", Version: "v1alpha1"}
)

Functions

func GenerateScaledObjectName

func GenerateScaledObjectName(obj metav1.Object) string

func GenerateTriggerAuthentication

func GenerateTriggerAuthentication(cg *kafkainternals.ConsumerGroup, secretData map[string][]byte) (*kedav1alpha1.TriggerAuthentication, *corev1.Secret, error)

func GetInt32ValueFromMap

func GetInt32ValueFromMap(dict map[string]string, key string, defaultValue int32) (*int32, error)

func IsEnabled

func IsEnabled(ctx context.Context, features *config.KafkaFeatureFlags, client versioned.Interface, object metav1.Object) bool

func SetAutoscalingAnnotations

func SetAutoscalingAnnotations(objAnnotations map[string]string) map[string]string

Types

This section is empty.

Jump to

Keyboard shortcuts

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