Documentation
¶
Index ¶
- Variables
- type Client
- func (c *Client) Dialer(o *api.Organization) (*Dialer, error)
- func (c *Client) Establish(slug string) error
- func (c *Client) Instances(o *api.Organization, app string) (*Instances, error)
- func (c *Client) Kill() error
- func (c *Client) Ping() (int, error)
- func (c *Client) Probe(o *api.Organization) error
- type Dialer
- 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 DefaultClient ¶
func DefaultClient(*api.Client) (*Client, error)
type Dialer ¶
type Dialer struct {
Org *api.Organization
Timeout time.Duration
// contains filtered or unexported fields
}
func (*Dialer) DialContext ¶
func (d *Dialer) DialContext(ctx context.Context, network, addr string) (net.Conn, error)
Click to show internal directories.
Click to hide internal directories.