Versions in this module Expand all Collapse all v1 v1.9.0 Sep 19, 2018 Changes in this version + const V3_DEFAULT_MEMORY_LIMIT + const V3_JAVA_MEMORY_LIMIT + func AssignDropletToApp(appGuid, dropletGuid string) + func AssignIsolationSegmentToSpace(spaceGuid, isoSegGuid string) + func CancelDeployment(deploymentGuid string) + func CreateAndMapRoute(appGuid, space, domain, host string) + func CreateApp(appName, spaceGuid, environmentVariables string) string + func CreateDeployment(appGuid string) string + func CreateDeploymentForDroplet(appGuid, dropletGuid string) string + func CreateDockerApp(appName, spaceGuid, environmentVariables string) string + func CreateDockerPackage(appGuid, imagePath string) string + func CreateIsolationSegment(name string) string + func CreateOrGetIsolationSegment(name string) string + func CreatePackage(appGuid string) string + func CreateRoute(space, domain, host string) + func DeleteApp(appGuid string) + func DeleteIsolationSegment(guid string) + func EntitleOrgToIsolationSegment(orgGuid, isoSegGuid string) + func FetchRecentLogs(appGuid, oauthToken string, config config.CatsConfig) *Session + func GetAuthToken() string + func GetDefaultIsolationSegment(orgGuid string) string + func GetDropletFromBuild(buildGuid string) string + func GetGuidFromResponse(response []byte) string + func GetIsolationSegmentGuid(name string) string + func GetIsolationSegmentGuidFromResponse(response []byte) string + func GetJobPath(response []byte) string + func GetProcessGuidForType(appGuid string, processType string) string + func GetRunningInstancesStats(processGuid string) int + func GetSpaceGuidFromName(spaceName string) string + func HandleAsyncRequest(path string, method string) + func IsolationSegmentExists(name string) bool + func OrgEntitledToIsolationSegment(orgGuid string, isoSegName string) bool + func PollJob(jobPath string) + func RevokeOrgEntitlementForIsolationSegment(orgGuid, isoSegGuid string) + func ScaleApp(appGuid string, instances int) + func ScaleProcess(appGuid, processType, memoryInMb string) + func SetDefaultIsolationSegment(orgGuid, isoSegGuid string) + func StageBuildpackPackage(packageGuid string, buildpacks ...string) string + func StageDockerPackage(packageGuid string) string + func StartApp(appGuid string) + func StopApp(appGuid string) + func UnassignIsolationSegmentFromSpace(spaceGuid string) + func UnmapAllRoutes(appGuid string) + func UnsetDefaultIsolationSegment(orgGuid string) + func UploadPackage(uploadUrl, packageZipPath, token string) + func WaitForBuildToStage(buildGuid string) + func WaitForDropletToCopy(dropletGuid string) + func WaitForPackageToBeReady(packageGuid string) + type Process struct + Command string + Guid string + Name string + Type string + func GetProcessByGuid(processGuid string) Process + func GetProcessByType(processes []Process, processType string) Process + func GetProcesses(appGuid, appName string) []Process + type ProcessAppUsageEvent struct + Entity struct{ ... } + Metadata struct{ ... } + func GetLastAppUseEventForProcess(processType string, state string, afterGUID string) (bool, ProcessAppUsageEvent) + type ProcessAppUsageEvents struct + Resources []ProcessAppUsageEvent + type ProcessList struct + Processes []Process