Documentation
¶
Index ¶
Constants ¶
View Source
const (
ModuleName = "services"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct { Name string `json:"name" bson:"name"` Status *status.Health `json:"status,omitempty" bson:"status,omitempty"` IsRepairable bool `json:"-" bson:"isRepairable"` IsCloudOnly bool `json:"-" bson:"-"` Description string `json:"description,omitempty" bson:"description"` }
func (*Module) SetRepairingStatus ¶
func (m *Module) SetRepairingStatus()
func (*Module) SetUnhealthyStatus ¶
func (m *Module) SetUnhealthyStatus()
type ReairingInfo ¶
type Service ¶
type Service struct { Name string `json:"name" bson:"name"` Category string `json:"category" bson:"category"` Status *status.Health `json:"status,omitempty" bson:"status,omitempty"` Modules []Module `json:"modules" bson:"modules"` IsInternalViewOnly bool `json:"-" bson:"isInternalViewOnly"` }
func (*Service) ConvergeUnhealthyStatus ¶
func (*Service) CopyModuleEmptyStruct ¶
func (*Service) IsStatusOk ¶
func (*Service) SetRepairingStatus ¶
func (s *Service) SetRepairingStatus(repairingInfo ReairingInfo)
Click to show internal directories.
Click to hide internal directories.