ams

package
v0.0.0-...-f22a224 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2023 License: Apache-2.0, MIT, Apache-2.0, + 1 more Imports: 29 Imported by: 0

Documentation

Overview

Package ams provides functionality for the Agent Management System. It provides an API for user interaction as well as for other MAP components. It also takes care of interacting with the underlying cluster (local or Kubernetes) and stores MAP related information (local or etcd)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartAMS

func StartAMS() (err error)

StartAMS starts an AMS instance. It initializes the cluster and storage object and starts API server.

Types

type AMS

type AMS struct {
	// contains filtered or unexported fields
}

AMS contains storage and deployment object

type CommData

type CommData struct {
	ID         int // id of other agent
	NumMsgSent int // number of messages sent to this agent
	NumMsgRecv int // number of messages received from this agent
}

CommData helper struct for communication data

Jump to

Keyboard shortcuts

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