mgmt

package
v0.0.0-...-8d377ce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

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

type LogService struct {
	LogTree *logtree.LogTree
}

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

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) Run

func (s *Service) Run(ctx context.Context) error

Run the Servie as a supervisor runnable.

func (*Service) UpdateNode

func (s *Service) UpdateNode(ctx context.Context, req *apb.UpdateNodeRequest) (*apb.UpdateNodeResponse, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL