var _ … // verifyNumFinalizers checks that len(.metadata.finalizers) == n func verifyNumFinalizers(b []byte, n int) { … } // verifyFinalizersIncludes checks that .metadata.finalizers includes e func verifyFinalizersIncludes(b []byte, e string) { … } // verifyReplicas checks that .spec.replicas == r func verifyReplicas(b []byte, r int) { … } // verifyNumPorts checks that len(.spec.ports) == n func verifyNumPorts(b []byte, n int) { … } // verifyList checks that .spec.atomicList is the exact same as the expectedList provided func verifyList(b []byte, expectedList []interface{ … }