Documentation ¶
Index ¶
- type Client
- func (c *Client) Connect(ctx context.Context, project, deviceID, connection string) (net.Conn, error)
- func (c *Client) CreateApplication(ctx context.Context, project string, name string) (*models.Application, error)
- func (c *Client) CreateProject(ctx context.Context, name string) (*models.Project, error)
- func (c *Client) CreateRelease(ctx context.Context, project, application, yamlConfig string) (*models.Release, error)
- func (c *Client) GetApplication(ctx context.Context, project, application string) (*models.Application, error)
- func (c *Client) GetDevice(ctx context.Context, project, device string) (*models.Device, error)
- func (c *Client) GetDeviceMetrics(ctx context.Context, project, device string) (*string, error)
- func (c *Client) GetLatestRelease(ctx context.Context, project, application string) (*models.Release, error)
- func (c *Client) GetServiceMetrics(ctx context.Context, project, device, application, service string) (*string, error)
- func (c *Client) ListApplications(ctx context.Context, project string) ([]models.Application, error)
- func (c *Client) ListDevices(ctx context.Context, filters []models.Filter, project string) ([]models.Device, error)
- func (c *Client) ListProjects(ctx context.Context, project string) ([]models.ProjectFull, error)
- func (c *Client) Reboot(ctx context.Context, project, device string) error
- func (c *Client) SSH(ctx context.Context, project, deviceID string) (net.Conn, 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 (*Client) CreateApplication ¶
func (*Client) CreateProject ¶
func (*Client) CreateRelease ¶
func (*Client) GetApplication ¶
func (*Client) GetDeviceMetrics ¶
func (*Client) GetLatestRelease ¶
func (*Client) GetServiceMetrics ¶
func (*Client) ListApplications ¶
func (*Client) ListDevices ¶
func (*Client) ListProjects ¶
Click to show internal directories.
Click to hide internal directories.