Documentation
¶
Index ¶
- type BackupFile
- type Client
- func (c *Client) BaseURL() *url.URL
- 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) 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
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) DownloadBackupFile ¶
func (c *Client) DownloadBackupFile(ctx context.Context, name string) (BackupFile, io.ReadCloser, error)
Click to show internal directories.
Click to hide internal directories.