Documentation ¶
Index ¶
- func BoolPointer(b bool) *bool
- func ContainsString(slice []string, s string) bool
- func EmptyTypedFloatSlice(f ...float64) []interface{}
- func EmptyTypedStrSlice(s ...string) []interface{}
- func GetPodSecurityContextFromSecurityContext(sc *corev1.SecurityContext) *corev1.PodSecurityContext
- func Int64Pointer(i int64) *int64
- func IntPointer(i int32) *int32
- func IntstrPointer(i int) *intstr.IntOrString
- func MergeMultipleStringMaps(stringMaps ...map[string]string) map[string]string
- func MergeStringMaps(l map[string]string, l2 map[string]string) map[string]string
- func PointerToBool(flag *bool) bool
- func PointerToInt32(i *int32) int32
- func PointerToString(s *string) string
- func RemoveString(slice []string, s string) (result []string)
- func StrPointer(s string) *string
- type ZeroModTimeFileSystem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EmptyTypedFloatSlice ¶
func EmptyTypedFloatSlice(f ...float64) []interface{}
EmptyTypedFloatSlice .
func GetPodSecurityContextFromSecurityContext ¶
func GetPodSecurityContextFromSecurityContext(sc *corev1.SecurityContext) *corev1.PodSecurityContext
GetPodSecurityContextFromSecurityContext .
func IntstrPointer ¶
func IntstrPointer(i int) *intstr.IntOrString
IntstrPointer returns a point of the intOrString
func MergeMultipleStringMaps ¶
MergeMultipleStringMaps merges multiple maps of strings
func MergeStringMaps ¶
MergeStringMaps merges two maps of strings
func PointerToBool ¶
PointerToBool returns the bool from a pointer
func PointerToInt32 ¶
PointerToInt32 returns the int32 from a pointer
func PointerToString ¶
PointerToString returns the string from a pointer
Types ¶
type ZeroModTimeFileSystem ¶
type ZeroModTimeFileSystem struct {
Source http.FileSystem
}
ZeroModTimeFileSystem is an http.FileSystem wrapper. It exposes a filesystem exactly like Source, except all file modification times are changed to zero.
Click to show internal directories.
Click to hide internal directories.