Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface {
pingv1connect.PingServiceClient
runnerv1connect.RunnerServiceClient
Address() string
}
A Client manages communication with the runner.
type HTTPClient ¶
type HTTPClient struct {
pingv1connect.PingServiceClient
runnerv1connect.RunnerServiceClient
// contains filtered or unexported fields
}
An HTTPClient manages communication with the runner API.
func New ¶
func New(endpoint string, uuid, token string, opts ...connect.ClientOption) *HTTPClient
New returns a new runner client.
func (*HTTPClient) Address ¶
func (c *HTTPClient) Address() string
Click to show internal directories.
Click to hide internal directories.