MCPcopy Create free account
hub / github.com/apache/camel-k / nominalDebugIntegration

Function nominalDebugIntegration

pkg/cmd/debug_test.go:66–77  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

64}
65
66func nominalDebugIntegration(name string) (v1.Integration, v1.IntegrationKit) {
67 it := v1.NewIntegration("default", name)
68 it.Status.Phase = v1.IntegrationPhaseRunning
69 it.Status.Image = "my-special-image"
70 ik := v1.NewIntegrationKit("default", name+"-kit")
71 it.Status.IntegrationKit = &corev1.ObjectReference{
72 Namespace: ik.Namespace,
73 Name: ik.Name,
74 Kind: ik.Kind,
75 }
76 return it, *ik
77}

Callers 1

TestToggleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected