server

package
v1.4.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2022 License: MPL-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	machine.UnimplementedMachineServiceServer
	// contains filtered or unexported fields
}

Server implements machine.MachineService, network.NetworkService, and storage.StorageService.

func New

func New(c runtime.Controller, logger *log.Logger, cfgCh chan<- []byte) *Server

New initializes and returns a `Server`.

func (*Server) ApplyConfiguration

ApplyConfiguration implements machine.MachineService.

func (*Server) GenerateClientConfiguration

GenerateClientConfiguration implements the machine.MachineServer interface.

func (*Server) GenerateConfiguration

GenerateConfiguration implements the machine.MachineServer interface.

func (*Server) Register

func (s *Server) Register(obj *grpc.Server)

Register implements the factory.Registrator interface.

func (*Server) Upgrade

func (s *Server) Upgrade(ctx context.Context, in *machine.UpgradeRequest) (reply *machine.UpgradeResponse, err error)

Upgrade initiates an upgrade.

func (*Server) Version

func (s *Server) Version(ctx context.Context, in *emptypb.Empty) (*machine.VersionResponse, error)

Version implements the machine.MachineServer interface.

Jump to

Keyboard shortcuts

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