Documentation ¶
Index ¶
- Variables
- type Client
- func (c *Client) Dialer(ctx context.Context, o *api.Organization) (*Dialer, error)
- func (c *Client) Establish(ctx context.Context, slug string) error
- func (c *Client) Instances(ctx context.Context, o *api.Organization, app string) (*Instances, error)
- func (c *Client) Kill(ctx context.Context) error
- func (c *Client) Ping(ctx context.Context) (int, error)
- func (c *Client) Probe(ctx context.Context, o *api.Organization) error
- func (c *Client) WaitForTunnel(ctx context.Context, o *api.Organization) error
- type Dialer
- type ErrProbeFailed
- type Instances
- type Server
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrCantBind = errors.New("can't bind agent socket")
)
View Source
var (
ErrUnreachable = errors.New("can't connect to agent")
)
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func StartDaemon ¶ added in v0.0.233
func (*Client) WaitForTunnel ¶ added in v0.0.233
type Dialer ¶
type Dialer struct { Org *api.Organization Timeout time.Duration // contains filtered or unexported fields }
type ErrProbeFailed ¶
type ErrProbeFailed struct {
Msg string
}
func (*ErrProbeFailed) Error ¶
func (e *ErrProbeFailed) Error() string
Click to show internal directories.
Click to hide internal directories.