Documentation
¶
Index ¶
- type BackupFile
- type Client
- func (c *Client) BaseURL() *url.URL
- func (c *Client) CloudCheckForUpdate(ctx context.Context) (CloudUpdate, error)
- func (c *Client) CloudCheckUpdateStatus(ctx context.Context) (CloudUpdateStatus, error)
- func (c *Client) CloudUpdatePlatform(ctx context.Context) error
- func (c *Client) Do(req *http.Request) (*http.Response, error)
- func (c *Client) DownloadBackupFile(ctx context.Context, name string) (BackupFile, io.ReadCloser, error)
- func (c *Client) HubID(ctx context.Context) (string, error)
- func (c *Client) HubStatus(ctx context.Context) (HubStatus, error)
- func (c *Client) Login(ctx context.Context, username, password string) error
- func (c *Client) Reboot(ctx context.Context) error
- func (c *Client) UpdateAdvancedCertificates(ctx context.Context, certificate, privateKey []byte) error
- type CloudUpdate
- type CloudUpdateStatus
- type HubStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupFile ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CloudCheckForUpdate ¶ added in v0.2.0
func (c *Client) CloudCheckForUpdate(ctx context.Context) (CloudUpdate, error)
func (*Client) CloudCheckUpdateStatus ¶ added in v0.2.0
func (c *Client) CloudCheckUpdateStatus(ctx context.Context) (CloudUpdateStatus, error)
func (*Client) CloudUpdatePlatform ¶ added in v0.2.0
func (*Client) DownloadBackupFile ¶
func (c *Client) DownloadBackupFile(ctx context.Context, name string) (BackupFile, io.ReadCloser, error)
type CloudUpdate ¶ added in v0.2.0
type CloudUpdateStatus ¶ added in v0.2.0
Source Files
¶
Click to show internal directories.
Click to hide internal directories.