manager-server

command
v0.0.2 Latest Latest
Warning

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

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

README

Manager test server

Manager service is a grpc client. It connects to a server and sends a whoAmIRequest. The server then responds with a run computation request. Once manager service receives the computation request it will launch an agent service in a virtual machine and pass the computation manifest. Agent will then pass logs and events to manager which are forwarded to the server. main.go is a sample of how such a server would be implemented. This is a very simple example for testing purposes.

Configuration

The service is configured using the environment variables from the following table. Note that any unset variables will be replaced with their default values.

Variable Description Default
HOST Manager service gRPC host
PORT Manager service gRPC port 7001
SERVER_CERT Path to server certificate in pem format
SERVER_KEY Path to server key in pem format

Running

go run main.go

Documentation

Overview

Copyright (c) Ultraviolet SPDX-License-Identifier: Apache-2.0

Jump to

Keyboard shortcuts

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