Documentation
¶
Index ¶
Constants ¶
View Source
const ( None = "" Create = "create" Update = "update" Delete = "delete" Pending = "pending" Completed = "completed" Error = "error" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Details ¶
type Details struct {
Current string `json:"current" yaml:"current" bson:"current"`
Desired string `json:"desired,omitempty" yaml:"desired,omitempty" bson:"desired,omitempty"`
CreatedAt string `json:"createdAt" yaml:"createdAt" bson:"createdAt"`
UpdatedAt string `json:"updatedAt" yaml:"updatedAt" bson:"updatedAt"`
MaxPendingDuration int `json:"maxPendingDuration,omitempty" yaml:"maxPendingDuration,omitempty" bson:"maxPendingDuration,omitempty"`
}
func (*Details) ClearDesired ¶
func (s *Details) ClearDesired()
func (*Details) SetCurrentToCompleted ¶
func (s *Details) SetCurrentToCompleted()
func (*Details) SetCurrentToPending ¶
func (s *Details) SetCurrentToPending()
func (*Details) SetDesiredToDelete ¶
func (s *Details) SetDesiredToDelete()
func (*Details) SetDesiredToUpdate ¶
func (s *Details) SetDesiredToUpdate()
Click to show internal directories.
Click to hide internal directories.