Documentation ¶
Index ¶
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 New ¶
func New(c HTTPClient) *Client
func (*Client) Create ¶
func (c *Client) Create(ctx context.Context, req *CreateRequest) (*CreateResponse, error)
Create Create backup.
func (*Client) Defaults ¶
func (c *Client) Defaults(ctx context.Context, req *DefaultsRequest) (*DefaultsResponse, error)
Defaults Get the currently configured vzdump defaults.
func (*Client) Extractconfig ¶
func (c *Client) Extractconfig(ctx context.Context, req *ExtractconfigRequest) (*ExtractconfigResponse, error)
Extractconfig Extract configuration from vzdump backup archive.
type CreateRequest ¶
type CreateRequest map[string]interface{}
type CreateResponse ¶
type CreateResponse string
type DefaultsRequest ¶
type DefaultsResponse ¶
type DefaultsResponse map[string]interface{}
type ExtractconfigRequest ¶
type ExtractconfigResponse ¶
type ExtractconfigResponse string
Click to show internal directories.
Click to hide internal directories.