Documentation
¶
Index ¶
Constants ¶
View Source
const ( ErrDecodingURLRequest = stringError("error while decoding the url") ErrCouldNotCreateRequest = stringError("could not create valid http request") ErrProductSlugMustNotBeEmpty = stringError("product slug must not be empty") ErrStemcellMajorVersionMustNotBeEmpty = stringError("stemcell major version must not be empty") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { // Target defaults to the public deployed endpoint. // It can be set to another host, for example the // network.pivotal.io's staging host. Target string // UAAAPIToken should be set with the token for the "UAA API Token Workflow" // See: https://network.pivotal.io/docs/api#authentication UAAAPIToken string // Client allows you to inject an alternate client // (for testing per se). When not set, http.DefaultClient is used. Client *http.Client }
Service wraps requests to network.pivotal.io.
Click to show internal directories.
Click to hide internal directories.