Documentation
      ¶
    
    
  
    
  
    Index ¶
- Constants
 - type Details
 - func (s *Details) ClearDesired()
 - func (s *Details) SetCurrentToCheckingAndRepairing()
 - func (s *Details) SetCurrentToCompleted()
 - func (s *Details) SetCurrentToError(err error)
 - func (s *Details) SetCurrentToOk()
 - func (s *Details) SetCurrentToPending()
 - func (s *Details) SetCurrentToRepairing()
 - func (s *Details) SetDesiredToCheckingAndRepairing()
 - func (s *Details) SetDesiredToCompleted()
 - func (s *Details) SetDesiredToDelete()
 - func (s *Details) SetDesiredToOk()
 - func (s *Details) SetDesiredToRepairing()
 - func (s *Details) SetDesiredToUpdate()
 
- type License
 - type SupportFile
 - type Tuning
 
Constants ¶
      View Source
      
  
const ( None = "" Create = "create" Update = "update" Delete = "delete" Reset = "reset" Creating = "creating" Pending = "pending" Updating = "updating" Repairing = "repairing" CheckingAndRepairing = "checkingAndRepairing" Completed = "completed" Updated = "updated" Ok = "ok" Error = "error" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Details ¶
type Details struct {
	Current string `json:"current,omitempty" bson:"current"`
	Desired string `json:"desired,omitempty" bson:"desired"`
	CreatedAt time.Time `json:"createdAt,omitzero" bson:"createdAt"`
	UpdatedAt time.Time `json:"updatedAt,omitzero" bson:"updatedAt"`
	IsFixing  bool      `json:"isFixing" bson:"isFixing"`
	Description string `json:"description" bson:"description"`
}
    func (*Details) ClearDesired ¶
func (s *Details) ClearDesired()
func (*Details) SetCurrentToCheckingAndRepairing ¶
func (s *Details) SetCurrentToCheckingAndRepairing()
func (*Details) SetCurrentToCompleted ¶
func (s *Details) SetCurrentToCompleted()
func (*Details) SetCurrentToError ¶
func (*Details) SetCurrentToOk ¶
func (s *Details) SetCurrentToOk()
func (*Details) SetCurrentToPending ¶
func (s *Details) SetCurrentToPending()
func (*Details) SetCurrentToRepairing ¶
func (s *Details) SetCurrentToRepairing()
func (*Details) SetDesiredToCheckingAndRepairing ¶
func (s *Details) SetDesiredToCheckingAndRepairing()
func (*Details) SetDesiredToCompleted ¶
func (s *Details) SetDesiredToCompleted()
func (*Details) SetDesiredToDelete ¶
func (s *Details) SetDesiredToDelete()
func (*Details) SetDesiredToOk ¶
func (s *Details) SetDesiredToOk()
func (*Details) SetDesiredToRepairing ¶
func (s *Details) SetDesiredToRepairing()
func (*Details) SetDesiredToUpdate ¶
func (s *Details) SetDesiredToUpdate()
type SupportFile ¶
type Tuning ¶
type Tuning struct {
	Current string `json:"current,omitempty" bson:"current"`
	Desired string `json:"desired,omitempty" bson:"desired"`
	CreatedAt string `json:"createdAt,omitzero" bson:"createdAt"`
	UpdatedAt string `json:"updatedAt,omitzero" bson:"updatedAt"`
	MaxPendingDuration int  `json:"maxPendingDuration,omitempty" bson:"maxPendingDuration"`
	IsUpdating         bool `json:"isUpdating" bson:"isUpdating"`
}
     Click to show internal directories. 
   Click to hide internal directories.