Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendRevisionUndeployAck ¶
SendRevisionUndeployAck - send the undeployed revision acknowledgement to control plane
func SendRevisionUpdateAck ¶
func SendRevisionUpdateAck(deployedRevisionList []*DeployedAPIRevision)
SendRevisionUpdateAck sends succeeded revision deployment acknowledgement to the control plane
Types ¶
type DeployedAPIRevision ¶
type DeployedAPIRevision struct { APIID string `json:"apiId"` RevisionID int `json:"revisionId"` EnvInfo []DeployedEnvInfo `json:"envInfo"` }
DeployedAPIRevision represents Information of deployed API revision data
func UpdateDeployedRevisions ¶
func UpdateDeployedRevisions(apiID string, revisionID int, envs []string, vhost string) *DeployedAPIRevision
UpdateDeployedRevisions create the DeployedAPIRevision object
type DeployedEnvInfo ¶
DeployedEnvInfo represents env Information of deployed API revision
type UnDeployedAPIRevision ¶
type UnDeployedAPIRevision struct { APIUUID string `json:"apiUUID"` RevisionUUID string `json:"revisionUUID"` Environment string `json:"environment"` }
UnDeployedAPIRevision info
Click to show internal directories.
Click to hide internal directories.