func NewInt(input int) *int {
	return &input
}
NewInt returns a reference to an int with given value.
package util
import (
	"time"
	v1 "k8s.io/api/core/v1"
)
func NewString(input string) *string {
	return &input
}
func NewStringOrNil(input *string) *string {
	if input == nil {
		return nil
	}
	return NewString(*input)
}
func StringOrDefault(input *string, defaultValue ...string) string {
	if input == nil {
		if len(defaultValue) > 0 {
			return defaultValue[0]
		}
		return ""
	}
	return *input
}