MCPcopy Index your code
hub / github.com/kubernetes/sample-controller / expectCreateDeploymentAction

Method expectCreateDeploymentAction

controller_test.go:231–233  ·  view source on GitHub ↗
(d *apps.Deployment)

Source from the content-addressed store, hash-verified

229}
230
231func (f *fixture) expectCreateDeploymentAction(d *apps.Deployment) {
232 f.kubeactions = append(f.kubeactions, core.NewCreateAction(schema.GroupVersionResource{Resource: "deployments"}, d.Namespace, d))
233}
234
235func (f *fixture) expectUpdateDeploymentAction(d *apps.Deployment) {
236 f.kubeactions = append(f.kubeactions, core.NewUpdateAction(schema.GroupVersionResource{Resource: "deployments"}, d.Namespace, d))

Callers 1

TestCreatesDeploymentFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected