//
pkg.gl
Category
github.com/carmark/kubernetes
pkg
util
pointer
package
1.10.0-alpha.1
Repository:
https://github.com/carmark/kubernetes.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
2
Dependents
0
Files
36 SLOC
#
Functions
AllPtrFieldsNil
AllPtrFieldsNil tests whether all pointer fields in a struct are nil.
BoolPtr
BoolPtr returns a pointer to a bool.
Int32Ptr
Int32Ptr returns a pointer to an int32.
Int32PtrDerefOr
Int32PtrDerefOr dereference the int32 ptr and returns it i not nil, else returns def.