github.com/LukasHeimann/cloudfoundrycli@v7.1.0+incompatible/api/cloudcontroller/ccv3/manifest.go (about)

     1  package ccv3
     2  
     3  import (
     4  	"code.cloudfoundry.org/cli/api/cloudcontroller/ccv3/internal"
     5  )
     6  
     7  // GetApplicationManifest returns a (YAML) manifest for an application and its
     8  // underlying processes.
     9  func (client *Client) GetApplicationManifest(appGUID string) ([]byte, Warnings, error) {
    10  	bytes, warnings, err := client.MakeRequestReceiveRaw(
    11  		internal.GetApplicationManifestRequest,
    12  		internal.Params{"app_guid": appGUID},
    13  		"application/x-yaml",
    14  	)
    15  
    16  	return bytes, warnings, err
    17  }