Documentation
¶
Index ¶
Constants ¶
View Source
const ( None = "" Create = "create" Update = "update" Delete = "delete" Reset = "reset" Creating = "creating" Pending = "pending" Updating = "updating" Repairing = "repairing" CheckingAndRepairing = "checkingAndRepairing" Deleting = "deleting" Completed = "completed" Created = "created" Updated = "updated" Deleted = "deleted" Ok = "ok" Up = "up" Ng = "ng" Down = "down" Valid = "valid" Unlicense = "unlicense" Expired = "expired" Error = "error" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockDevice ¶
type Health ¶
type Health struct { Current string `json:"current,omitempty" bson:"current"` Desired string `json:"desired,omitempty" bson:"desired"` CreatedAt *time.Time `json:"createdAt,omitempty" bson:"createdAt"` UpdatedAt *time.Time `json:"updatedAt,omitempty" bson:"updatedAt"` IsFixing bool `json:"isFixing" bson:"isFixing"` Description string `json:"description,omitempty" bson:"description"` }
func NewHealthOk ¶
func NewHealthOk() *Health
func (*Health) SetCurrentToError ¶
func (*Health) SetCurrentToRepairing ¶
func (h *Health) SetCurrentToRepairing()
func (*Health) SetDesiredToCheckingAndRepairing ¶
func (h *Health) SetDesiredToCheckingAndRepairing()
func (*Health) SetDesiredToRepairing ¶
func (h *Health) SetDesiredToRepairing()
type Settings ¶
type Settings struct { Current string `json:"current,omitempty" bson:"current"` Desired string `json:"-" bson:"desired"` CreatedAt string `json:"-" bson:"createdAt"` IsUpdating bool `json:"isUpdating" bson:"isUpdating"` }
func (*Settings) InitOkStatus ¶
func (s *Settings) InitOkStatus()
type SupportFile ¶
type Trigger ¶
type Trigger 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"` IsUpdating bool `json:"isUpdating" bson:"isUpdating"` }
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.