Ryan D McGuire a5abbbec1f
All checks were successful
Build and Publish / check-chart (push) Successful in 36s
Build and Publish / helm-release (push) Has been skipped
Build and Publish / release (push) Successful in 3m8s
move recorder to interface
2025-03-21 15:54:28 -04:00

18 lines
209 B
Go

package util
import "k8s.io/utils/ptr"
func DerefStr(s *string) string {
if s == nil {
return ""
}
return *s
}
func Int32ptr(i *int) *int32 {
if i == nil {
return nil
}
return ptr.To(int32(*i))
}