(name, namespace string)
| 15 | } |
| 16 | |
| 17 | func mockRuntimeStatefulset(name, namespace string) *appsv1.StatefulSet { |
| 18 | return &appsv1.StatefulSet{ |
| 19 | ObjectMeta: metav1.ObjectMeta{ |
| 20 | Name: name, |
| 21 | Namespace: namespace, |
| 22 | }, |
| 23 | Spec: appsv1.StatefulSetSpec{}, |
| 24 | Status: appsv1.StatefulSetStatus{}, |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | func mockRuntimeDaemonset(name, namespace string) *appsv1.DaemonSet { |
| 29 | return &appsv1.DaemonSet{ |
no outgoing calls
no test coverage detected