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

Function NewDomain

integration/helpers/domains.go:28–33  ·  view source on GitHub ↗

NewDomain constructs a new Domain with given owning organization and name.

(org string, name string)

Source from the content-addressed store, hash-verified

26
27// NewDomain constructs a new Domain with given owning organization and name.
28func NewDomain(org string, name string) Domain {
29 return Domain{
30 Org: org,
31 Name: name,
32 }
33}
34
35// globally cached
36var foundDefaultDomain string

Calls

no outgoing calls

Tested by

no test coverage detected