Skip to content

Commit 9df464f

Browse files
committed
Generate ContainerManager mocks
1 parent 2e0cc1b commit 9df464f

File tree

4 files changed

+2220
-0
lines changed

4 files changed

+2220
-0
lines changed

pkg/kubelet/cm/.mockery.yaml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
dir: testing
3+
filename: "mock_{{.InterfaceName | snakecase}}.go"
4+
boilerplate-file: ../../../hack/boilerplate/boilerplate.generatego.txt
5+
outpkg: testing
6+
with-expecter: true
7+
packages:
8+
k8s.io/kubernetes/pkg/kubelet/cm:
9+
interfaces:
10+
ContainerManager:
11+
PodContainerManager:

pkg/kubelet/cm/container_manager.go

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17+
//go:generate mockery
1718
package cm
1819

1920
import (

0 commit comments

Comments
 (0)