Documentation ¶
Overview ¶
Package mgmt implements the node-local management service, a.k.a. metropolis.proto.api.NodeManagement.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogService ¶
LogService implements NodeManagement.Logs. This is split away from the rest of the Service to allow the debug service to reuse this implementation.
func (*LogService) Logs ¶
func (s *LogService) Logs(req *api.GetLogsRequest, srv api.NodeManagement_LogsServer) error
type Service ¶
type Service struct { // NodeCredentials used to set up gRPC server. NodeCredentials *identity.NodeCredentials // LogTree from which NodeManagement.Logs will be served. LogTree *logtree.LogTree // Update service handle for performing updates via the API. UpdateService *update.Service // Automatically populated on Run. LogService // contains filtered or unexported fields }
Service implements metropolis.proto.api.NodeManagement.
func (*Service) Reboot ¶
func (s *Service) Reboot(ctx context.Context, req *apb.RebootRequest) (*apb.RebootResponse, error)
func (*Service) UpdateNode ¶
func (s *Service) UpdateNode(ctx context.Context, req *apb.UpdateNodeRequest) (*apb.UpdateNodeResponse, error)
Click to show internal directories.
Click to hide internal directories.