helper

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const KeyNotFoundError = "empty-val-err"

Variables

This section is empty.

Functions

func ExtractParamValue

func ExtractParamValue(inputMap map[string]interface{}, key string, merged []byte) (float64, error)

func FetchRequiredReplicaCount

func FetchRequiredReplicaCount(currentReplicaCount float64, reqMaxReplicas float64, reqMinReplicas float64) float64

func GetAutoScalingReplicaCount

func GetAutoScalingReplicaCount(templateMap map[string]interface{}, appName string) *util4.HpaResourceRequest

func GetDeploymentTemplateType

func GetDeploymentTemplateType(overrideRequest *bean.ValuesOverrideRequest) chartRepoRepository.DeploymentStrategy

func GetScopeForVariables

func GetScopeForVariables(overrideRequest *bean.ValuesOverrideRequest, envOverride *bean4.EnvConfigOverride) resourceQualifiers.Scope

func IsNotFoundErr added in v0.7.2

func IsNotFoundErr(err error) bool

func NewMergedCmAndCsJsonV2Request added in v0.7.2

func NewMergedCmAndCsJsonV2Request(overrideRequest *bean.ValuesOverrideRequest, envOverride *bean4.EnvConfigOverride, chartVersion string, scope resourceQualifiers.Scope) bean3.GetMergedCmAndCsJsonV2Request

func NewMergedCmAndCsJsonV2Response added in v0.7.2

func NewMergedCmAndCsJsonV2Response() *bean3.MergedCmAndCsJsonV2Response

func ResolveDeploymentTypeAndUpdate

func ResolveDeploymentTypeAndUpdate(overrideRequest *bean.ValuesOverrideRequest)

func SetScalingValues

func SetScalingValues(templateMap map[string]interface{}, customScalingKey string, merged []byte, value interface{}) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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