Documentation ¶
Index ¶
- Constants
- func AssignDropletToApp(appGuid, dropletGuid string)
- func CreateAndMapRoute(appGuid, space, domain, host string)
- func CreateApp(appName, spaceGuid, environmentVariables string) string
- func CreateDockerApp(appName, spaceGuid, environmentVariables string) string
- func CreateDockerPackage(appGuid, imagePath string) string
- func CreatePackage(appGuid string) string
- func CreateRoute(space, domain, host string)
- func DeleteApp(appGuid string)
- func FetchRecentLogs(appGuid, oauthToken string, config config.CatsConfig) *Session
- func GetAuthToken() string
- func GetDropletFromBuild(buildGuid string) string
- func GetSpaceGuidFromName(spaceName string) string
- func ScaleProcess(appGuid, processType, memoryInMb string)
- func StageBuildpackPackage(packageGuid, buildpack string) string
- func StageDockerPackage(packageGuid string) string
- func StartApp(appGuid string)
- func StopApp(appGuid string)
- func UploadPackage(uploadUrl, packageZipPath, token string)
- func WaitForBuildToStage(buildGuid string)
- func WaitForDropletToCopy(dropletGuid string)
- func WaitForPackageToBeReady(packageGuid string)
- type Process
- type ProcessList
Constants ¶
View Source
const ( V3_DEFAULT_MEMORY_LIMIT = "256" V3_JAVA_MEMORY_LIMIT = "512" )
Variables ¶
This section is empty.
Functions ¶
func AssignDropletToApp ¶
func AssignDropletToApp(appGuid, dropletGuid string)
func CreateAndMapRoute ¶
func CreateAndMapRoute(appGuid, space, domain, host string)
func CreateDockerApp ¶
func CreateDockerPackage ¶
func CreatePackage ¶
func CreateRoute ¶
func CreateRoute(space, domain, host string)
func FetchRecentLogs ¶
func FetchRecentLogs(appGuid, oauthToken string, config config.CatsConfig) *Session
func GetAuthToken ¶
func GetAuthToken() string
func GetDropletFromBuild ¶
func GetSpaceGuidFromName ¶
func ScaleProcess ¶
func ScaleProcess(appGuid, processType, memoryInMb string)
func StageBuildpackPackage ¶
func StageDockerPackage ¶
func UploadPackage ¶
func UploadPackage(uploadUrl, packageZipPath, token string)
func WaitForBuildToStage ¶
func WaitForBuildToStage(buildGuid string)
func WaitForDropletToCopy ¶
func WaitForDropletToCopy(dropletGuid string)
func WaitForPackageToBeReady ¶
func WaitForPackageToBeReady(packageGuid string)
Types ¶
type Process ¶
type Process struct { Guid string `json:"guid"` Type string `json:"type"` Command string `json:"command"` Name string `json:"-"` }
func GetProcessByType ¶
func GetProcesses ¶
type ProcessList ¶
type ProcessList struct {
Processes []Process `json:"resources"`
}
Click to show internal directories.
Click to hide internal directories.