Property | Type | Description | |
---|---|---|---|
$environment | DNEnvironment | ||
$project | DNProject |
Method | Description | |
---|---|---|
Link ( string $action = '' ) : string | ||
abort ( SS_HTTPRequest $request ) : SS_HTTPResponse | ||
can_abort_deployment ( DNEnvironment $environment, Member $member = null ) : boolean | ||
createdeployment ( SS_HTTPRequest $request ) : SS_HTTPResponse | Create deployment. Can't use {@link create()} as it's taken by Object. | |
delete ( SS_HTTPRequest $request ) : SS_HTTPResponse | ||
getModel ( string $name = '' ) : array | ||
history ( SS_HTTPRequest $request ) : SS_HTTPResponse | ||
index ( SS_HTTPRequest $request ) : HTMLText | SS_HTTPResponse | ||
init ( ) | ||
log ( SS_HTTPRequest $request ) : SS_HTTPResponse | ||
redeploy ( SS_HTTPRequest $request ) : SS_HTTPResponse | ||
show ( SS_HTTPRequest $request ) : SS_HTTPResponse | ||
start ( SS_HTTPRequest $request ) : SS_HTTPResponse | ||
summary ( SS_HTTPRequest $request ) : SS_HTTPResponse | Return a summary of the deployment changes without creating the deployment. |
Method | Description | |
---|---|---|
canCompareCodeVersions ( ArrayData $interface, $changes ) : boolean | ||
createStrategy ( $options ) : DeploymentStrategy | ||
validateDeployment ( DNDeployment $deployment ) : null | SS_HTTPResponse | Check if a DNDeployment exists and do permission checks on it. If there is something wrong it will return an APIResponse with the error, otherwise null. |
public abort ( SS_HTTPRequest $request ) : SS_HTTPResponse | ||
$request | SS_HTTPRequest | |
return | SS_HTTPResponse |
protected canCompareCodeVersions ( ArrayData $interface, $changes ) : boolean | ||
$interface | ArrayData | |
$changes | ||
return | boolean |
public static can_abort_deployment ( DNEnvironment $environment, Member $member = null ) : boolean | ||
$environment | DNEnvironment | |
$member | Member | |
return | boolean |
protected createStrategy ( $options ) : DeploymentStrategy | ||
return | DeploymentStrategy |
public createdeployment ( SS_HTTPRequest $request ) : SS_HTTPResponse | ||
$request | SS_HTTPRequest | |
return | SS_HTTPResponse |
public delete ( SS_HTTPRequest $request ) : SS_HTTPResponse | ||
$request | SS_HTTPRequest | |
return | SS_HTTPResponse |
public history ( SS_HTTPRequest $request ) : SS_HTTPResponse | ||
$request | SS_HTTPRequest | |
return | SS_HTTPResponse |
public index ( SS_HTTPRequest $request ) : HTMLText | SS_HTTPResponse | ||
$request | SS_HTTPRequest | |
return | HTMLText | SS_HTTPResponse |
public log ( SS_HTTPRequest $request ) : SS_HTTPResponse | ||
$request | SS_HTTPRequest | |
return | SS_HTTPResponse |
public redeploy ( SS_HTTPRequest $request ) : SS_HTTPResponse | ||
$request | SS_HTTPRequest | |
return | SS_HTTPResponse |
public show ( SS_HTTPRequest $request ) : SS_HTTPResponse | ||
$request | SS_HTTPRequest | |
return | SS_HTTPResponse |
public start ( SS_HTTPRequest $request ) : SS_HTTPResponse | ||
$request | SS_HTTPRequest | |
return | SS_HTTPResponse |
public summary ( SS_HTTPRequest $request ) : SS_HTTPResponse | ||
$request | SS_HTTPRequest | |
return | SS_HTTPResponse |
protected validateDeployment ( DNDeployment $deployment ) : null | SS_HTTPResponse | ||
$deployment | DNDeployment | |
return | null | SS_HTTPResponse |