Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ScaledObjectGVK = schema.GroupVersionKind{ Group: "keda.k8s.io", Version: "v1alpha1", Kind: "ScaledObject", } KedaSchemeGroupVersion = schema.GroupVersion{Group: "keda.k8s.io", Version: "v1alpha1"} )
Functions ¶
func GenerateScaledObjectName ¶
func GenerateScaledObjectName(ps *v1alpha1.PullSubscription) string
GenerateScaledObjectName generates the name for the ScaledObject based on the PullSubscription UID.
func MakeScaledObject ¶
func MakeScaledObject(ctx context.Context, ra *v1.Deployment, ps *v1alpha1.PullSubscription) *unstructured.Unstructured
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.