agent

package
v0.0.0-...-0e62607 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LastTalkback time.Time
View Source
var ProcessToken = NewToken()

Functions

func ContinuousOperation

func ContinuousOperation()

ContinuousOperation starts an asynchronuous infinite operation process where: - agent is submitted into orchestrator

func GetHash

func GetHash(input []byte) string

func GetRandomData

func GetRandomData() []byte

func PingServer

func PingServer() error

Just check connectivity back to the server. This just calls an endpoint that returns 200 OK

func SubmitAgent

func SubmitAgent() error

Types

type Token

type Token struct {
	Hash string
}

Token is used to identify and validate requests to this service

func NewToken

func NewToken() *Token

Jump to

Keyboard shortcuts

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