ate

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package ate provides a client for the Agent Substrate Control API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(ns, template, target string, opts ...grpc.DialOption) (*Client, error)

NewClient creates a new actor client.

func (*Client) Close

func (c *Client) Close() error

Close closes the gRPC connection.

func (*Client) CreateActor

func (c *Client) CreateActor(ctx context.Context, id string) (*ateapipb.CreateActorResponse, error)

CreateActor creates a new actor.

func (*Client) ResumeActor

func (c *Client) ResumeActor(ctx context.Context, id string) (*ateapipb.ResumeActorResponse, error)

ResumeActor resumes the actor, scheduling it onto a worker. The returned actor carries the worker IP once it is running.

func (*Client) SuspendActor

func (c *Client) SuspendActor(ctx context.Context, id string) (*ateapipb.SuspendActorResponse, error)

SuspendActor suspends the actor.

Jump to

Keyboard shortcuts

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