github.com/wanddynosios/cli/v8@v8.7.9-0.20240221182337-1a92e3a7017f/actor/v7action/info.go (about)

     1  package v7action
     2  
     3  import "code.cloudfoundry.org/cli/api/cloudcontroller/ccv3"
     4  
     5  type Info ccv3.Info
     6  
     7  func (actor Actor) GetRootResponse() (Info, Warnings, error) {
     8  	info, warnings, err := actor.CloudControllerClient.GetInfo()
     9  	if err != nil {
    10  		return Info{}, Warnings(warnings), err
    11  	}
    12  	return Info(info), Warnings(warnings), nil
    13  }