Ping sends a ping request to the agent.
(ctx context.Context)
| 66 | |
| 67 | // Ping sends a ping request to the agent. |
| 68 | func (c *Client) Ping(ctx context.Context) error { |
| 69 | _, err := c.client.Ping(ctx, &proto.PingRequest{}) |
| 70 | return err |
| 71 | } |
| 72 | |
| 73 | // SyncStart starts a unit in the dependency graph. |
| 74 | func (c *Client) SyncStart(ctx context.Context, unitName unit.ID) error { |