turn optional stream fields to pointers

This commit is contained in:
Felix Kunde
2022-03-17 19:07:17 +01:00
parent 5cf0b69662
commit 8f3699e435
6 changed files with 71 additions and 56 deletions
+8
View File
@@ -37,6 +37,14 @@ func Int32ToPointer(value int32) *int32 {
return &value
}
func UInt32ToPointer(value uint32) *uint32 {
return &value
}
func StringPointer(str string) *string {
return &str
}
// KubernetesClient describes getters for Kubernetes objects
type KubernetesClient struct {
corev1.SecretsGetter