Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { // ListServices returns all daemons and their respective state. ListServices(ctx rbfs.RbfsContext) ([]Service, error) }
Client provides access to the switch metrics.
type Service ¶
type Service struct { // ServiceName holds the daemon name. ServiceName string `json:"service_name"` //AdministrativeState holds the administrative daemon state. AdministrativeState string `json:"administrative_state"` // OperationalState holds the operational daemon state. OperationalState string `json:"operational_state"` }
Service describes a running brick daemon or services.
Click to show internal directories.
Click to hide internal directories.