MCPcopy
hub / github.com/cloudfoundry/cli / NewRouterGroup

Function NewRouterGroup

integration/helpers/router_group.go:17–22  ·  view source on GitHub ↗
(name, reservablePorts string)

Source from the content-addressed store, hash-verified

15}
16
17func NewRouterGroup(name, reservablePorts string) RouterGroup {
18 return RouterGroup{
19 Name: name,
20 ReservablePorts: reservablePorts,
21 }
22}
23
24func (rg *RouterGroup) Create() {
25 session := CF("curl", "-X", "POST", "/routing/v1/router_groups", "-d", fmt.Sprintf(`{

Calls

no outgoing calls

Tested by

no test coverage detected