Help us shape the future of Go! Take the 2026 Go Developer Survey

intstr

package
v4.1.6 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Int

func Int(is *intstr.IntOrString) (*int, error)

Int extracts an int value from an IntOrString, which may hold either an Int or an Argo Variable.

func Int32

func Int32(is *intstr.IntOrString) (*int32, error)

func Int64

func Int64(is *intstr.IntOrString) (*int64, error)

func IsValidIntOrArgoVariable

func IsValidIntOrArgoVariable(is *intstr.IntOrString) bool

func ParsePtr

func ParsePtr(val string) *intstr.IntOrString

ParsePtr is a convenience function to parse a string and return a pointer to the result.

Types

This section is empty.

Jump to

Keyboard shortcuts

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