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

Method UpdateResourceSync

cf/net/gateway.go:125–127  ·  view source on GitHub ↗
(endpoint, apiURL string, body io.ReadSeeker, resource ...interface{})

Source from the content-addressed store, hash-verified

123}
124
125func (gateway Gateway) UpdateResourceSync(endpoint, apiURL string, body io.ReadSeeker, resource ...interface{}) error {
126 return gateway.createUpdateOrDeleteResource("PUT", endpoint, apiURL, body, true, resource...)
127}
128
129func (gateway Gateway) DeleteResourceSynchronously(endpoint, apiURL string) error {
130 return gateway.createUpdateOrDeleteResource("DELETE", endpoint, apiURL, nil, true, &AsyncResource{})

Callers 4

BindMethod · 0.80
GetApplicationFilesMethod · 0.80

Calls 1

Tested by

no test coverage detected