MCPcopy Create free account
hub / github.com/devfile/api / generateDummyEndpoint

Function generateDummyEndpoint

pkg/validation/endpoints_test.go:114–119  ·  view source on GitHub ↗
(name string, port int)

Source from the content-addressed store, hash-verified

112}
113
114func generateDummyEndpoint(name string, port int) v1alpha2.Endpoint {
115 return v1alpha2.Endpoint{
116 Name: name,
117 TargetPort: port,
118 }
119}

Callers 2

TestValidateEndpointsFunction · 0.85
TestValidateComponentsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected