Documentation
¶
Overview ¶
Package ate provides a client for the Agent Substrate Control API.
Index ¶
- type Client
- func (c *Client) Close() error
- func (c *Client) CreateActor(ctx context.Context, id string) (*ateapipb.CreateActorResponse, error)
- func (c *Client) ResumeActor(ctx context.Context, id string) (*ateapipb.ResumeActorResponse, error)
- func (c *Client) SuspendActor(ctx context.Context, id string) (*ateapipb.SuspendActorResponse, error)
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) CreateActor ¶
CreateActor creates a new actor.
func (*Client) ResumeActor ¶
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.
Click to show internal directories.
Click to hide internal directories.