Documentation

Code extends CloudApiBase implements CloudApiInterface

Class Code

Table of Contents

$client ClientInterface
getAll() Shows all code branches and tags in an application. BranchesResponse
switch() Deploys a code branch/tag to an environment. OperationResponse
deploy() Deploys code from one environment to another environment. mixed
__construct() Client constructor. mixed

Properties

Methods

getAll()

Shows all code branches and tags in an application.

public getAll( $applicationUuid : string ) : BranchesResponse
Parameters
$applicationUuid : string
Return values
BranchesResponse

switch()

Deploys a code branch/tag to an environment.

public switch( $environmentUuid : string , $branch : string ) : OperationResponse
Parameters
$environmentUuid : string
$branch : string
Return values
OperationResponse

deploy()

Deploys code from one environment to another environment.

public deploy( $environmentFromUuid : string , $environmentToUuid : string [, $commitMessage : string = null ] ) : mixed
Parameters
$environmentFromUuid : string
$environmentToUuid : string
$commitMessage : string = null
Return values
mixed

Search results