parser

package
v0.20260731.1 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Parser helpers are used to get values of the env variables and pass to the provision scripts execution. For example, default values, values computed by others, etc.

Index

Constants

View Source
const (
	MinArgs = 2
)

Variables

This section is empty.

Functions

func BuildCSECmd

func BuildCSECmd(ctx context.Context, config *aksnodeconfigv1.Configuration, gpuConfig *gpu.GPUConfiguration) (*exec.Cmd, error)

func GetCSETimeout added in v0.20260729.0

func GetCSETimeout(cseTimeout int) string

returns the CSE timeout value in seconds. if empty or invalid value is provided, it returns the default timeout value of 15minutes or 900 seconds. Maximum allowed timeout is 360 minutes or 6 hours or 21600 seconds.

func IsKubernetesVersionGe added in v0.20260729.0

func IsKubernetesVersionGe(actualVersion, version string) bool

IsKubernetesVersionGe returns true if actualVersion is greater than or equal to version.

Types

This section is empty.

Jump to

Keyboard shortcuts

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