MCPcopy Index your code
hub / github.com/cloudfoundry/cli / GetServiceInstanceByNameAndSpace

Method GetServiceInstanceByNameAndSpace

actor/v7action/service_instance.go:31–34  ·  view source on GitHub ↗
(serviceInstanceName string, spaceGUID string)

Source from the content-addressed store, hash-verified

29}
30
31func (actor Actor) GetServiceInstanceByNameAndSpace(serviceInstanceName string, spaceGUID string) (resources.ServiceInstance, Warnings, error) {
32 serviceInstance, _, warnings, err := actor.getServiceInstanceByNameAndSpace(serviceInstanceName, spaceGUID)
33 return serviceInstance, Warnings(warnings), err
34}
35
36func (actor Actor) GetServiceInstanceByGUID(serviceInstanceGUID string) (resources.ServiceInstance, Warnings, error) {
37 serviceInstance, warnings, err := actor.CloudControllerClient.GetServiceInstanceByGUID(serviceInstanceGUID)

Callers 2

Implementers 1

FakeActorcommand/v7/v7fakes/fake_actor.go

Calls 2

WarningsTypeAlias · 0.70

Tested by

no test coverage detected