Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeploymentStatus ¶ added in v0.5.3
type DeploymentStatus string
var ( StatusSuccess DeploymentStatus = "SUCCESS" StatusFailure DeploymentStatus = "FAILURE" )
type FileBasedStore ¶
func (*FileBasedStore) LoadServiceState ¶
func (fbs *FileBasedStore) LoadServiceState(service string) (*ServiceState, error)
func (*FileBasedStore) Purge ¶
func (fbs *FileBasedStore) Purge() error
func (*FileBasedStore) SaveServiceState ¶
func (fbs *FileBasedStore) SaveServiceState(service string, state *ServiceState) error
type ServiceState ¶
type ServiceState struct {
DeploymentID int `json:"deploymentID"`
LastDeployedAt time.Time `json:"lastDeployedAt"`
DeploymentStatus DeploymentStatus `json:"deploymentStatus"`
}
Click to show internal directories.
Click to hide internal directories.