Versions in this module Expand all Collapse all v0 v0.10.0 Jun 6, 2018 Changes in this version + type DeploymentState struct + func New(config *hcl.DeploymentState) (*DeploymentState, error) + func (ds *DeploymentState) AddSlotCounter(prefix string, appData *schema.ApplicationData) (*schema.ApplicationData, error) + func (ds *DeploymentState) AreBackendsReady() (bool, error) + func (ds *DeploymentState) BeginDeployment(appName, slotId string, isDestroy bool, pilot *schema.DeployPilot, ...) (*schema.DeploymentData, error) + func (ds *DeploymentState) DeleteSlot(appName, slotId string) error + func (ds *DeploymentState) DeleteSlotCounter(prefix string, appData *schema.ApplicationData) (*schema.ApplicationData, error) + func (ds *DeploymentState) FinishDeployment(appName, slotId, deploymentId string, isActive bool, ...) error + func (ds *DeploymentState) GetApplication(name string) (*schema.ApplicationData, error) + func (ds *DeploymentState) GetDeployment(appName, slotId, deploymentId string) (*schema.DeploymentData, error) + func (ds *DeploymentState) GetSlot(appName, slotId string) (*schema.SlotData, error) + func (ds *DeploymentState) GetSlotCounter(prefix string, appData *schema.ApplicationData) (int64, bool, error) + func (ds *DeploymentState) IncrementSlotCounter(prefix string, appData *schema.ApplicationData) (int64, *schema.ApplicationData, error) + func (ds *DeploymentState) ListApplications() ([]*schema.ApplicationData, error) + func (ds *DeploymentState) ListLastDeployments(appName, slotId string, limit int) ([]*schema.DeploymentData, error) + func (ds *DeploymentState) ListSlots(appName string) ([]*schema.SlotData, error) + func (ds *DeploymentState) SaveApplication(name string, data *schema.ApplicationData) error + func (ds *DeploymentState) SupportsWriteLock() (bool, error)