agent

package
v0.0.0-...-858628d Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: Apache-2.0, Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

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

Agent runs jobs locally.

func New

func New(agentID int64, conn *grpc.ClientConn) *Agent

New prepares a new agent.

func (*Agent) Run

func (a *Agent) Run() error

Run reacts to requests from the server, in absence of work, it return pings.

Jump to

Keyboard shortcuts

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