sargenerator

package
v0.0.0-...-01a409d Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const AnnotationRunnerPatchHash = "patch-hash"
View Source
const AnnotationRunnerRef = "runner-ref"
View Source
const AnnotationSecretsHash = "runner-secrets-hash"

Variables

This section is empty.

Functions

func GenerateScaledObject

func GenerateScaledObject(c *runnerv1alpha1.ScaledActionRunner, url string, clusterTriggerName string) *keda.ScaledObject

func GenerateStatefulSet

func GenerateStatefulSet(c *runnerv1alpha1.ScaledActionRunner, secretsHash string) *appsv1.StatefulSet

func PatchStatefulSet

func PatchStatefulSet(statefulSet *appsv1.StatefulSet, config *runnerv1alpha1.ScaledActionRunner) (*appsv1.StatefulSet, string, error)

func SetEnvVars

func SetEnvVars(c *runnerv1alpha1.ScaledActionRunner, statefulSet *appsv1.StatefulSet) bool

func UpdateScaledObjectSpec

func UpdateScaledObjectSpec(c *runnerv1alpha1.ScaledActionRunner, url string, spec *keda.ScaledObjectSpec, clusterTriggerName string)

TODO: Take this approach for StatefulSets too

Types

This section is empty.

Jump to

Keyboard shortcuts

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