Documentation
¶
Index ¶
- type BulkStatNodesOK
- type BulkStatNodesParams
- func (o *BulkStatNodesParams) SetBody(body *models.RestGetBulkMetaRequest)
- func (o *BulkStatNodesParams) SetContext(ctx context.Context)
- func (o *BulkStatNodesParams) SetHTTPClient(client *http.Client)
- func (o *BulkStatNodesParams) SetTimeout(timeout time.Duration)
- func (o *BulkStatNodesParams) WithBody(body *models.RestGetBulkMetaRequest) *BulkStatNodesParams
- func (o *BulkStatNodesParams) WithContext(ctx context.Context) *BulkStatNodesParams
- func (o *BulkStatNodesParams) WithHTTPClient(client *http.Client) *BulkStatNodesParams
- func (o *BulkStatNodesParams) WithTimeout(timeout time.Duration) *BulkStatNodesParams
- func (o *BulkStatNodesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BulkStatNodesReader
- type Client
- func (a *Client) BulkStatNodes(params *BulkStatNodesParams) (*BulkStatNodesOK, error)
- func (a *Client) CreateNodes(params *CreateNodesParams) (*CreateNodesOK, error)
- func (a *Client) CreateSelection(params *CreateSelectionParams) (*CreateSelectionOK, error)
- func (a *Client) DeleteNodes(params *DeleteNodesParams) (*DeleteNodesOK, error)
- func (a *Client) HeadNode(params *HeadNodeParams) (*HeadNodeOK, error)
- func (a *Client) RestoreNodes(params *RestoreNodesParams) (*RestoreNodesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type CreateNodesOK
- type CreateNodesParams
- func (o *CreateNodesParams) SetBody(body *models.RestCreateNodesRequest)
- func (o *CreateNodesParams) SetContext(ctx context.Context)
- func (o *CreateNodesParams) SetHTTPClient(client *http.Client)
- func (o *CreateNodesParams) SetTimeout(timeout time.Duration)
- func (o *CreateNodesParams) WithBody(body *models.RestCreateNodesRequest) *CreateNodesParams
- func (o *CreateNodesParams) WithContext(ctx context.Context) *CreateNodesParams
- func (o *CreateNodesParams) WithHTTPClient(client *http.Client) *CreateNodesParams
- func (o *CreateNodesParams) WithTimeout(timeout time.Duration) *CreateNodesParams
- func (o *CreateNodesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateNodesReader
- type CreateSelectionOK
- type CreateSelectionParams
- func NewCreateSelectionParams() *CreateSelectionParams
- func NewCreateSelectionParamsWithContext(ctx context.Context) *CreateSelectionParams
- func NewCreateSelectionParamsWithHTTPClient(client *http.Client) *CreateSelectionParams
- func NewCreateSelectionParamsWithTimeout(timeout time.Duration) *CreateSelectionParams
- func (o *CreateSelectionParams) SetBody(body *models.RestCreateSelectionRequest)
- func (o *CreateSelectionParams) SetContext(ctx context.Context)
- func (o *CreateSelectionParams) SetHTTPClient(client *http.Client)
- func (o *CreateSelectionParams) SetTimeout(timeout time.Duration)
- func (o *CreateSelectionParams) WithBody(body *models.RestCreateSelectionRequest) *CreateSelectionParams
- func (o *CreateSelectionParams) WithContext(ctx context.Context) *CreateSelectionParams
- func (o *CreateSelectionParams) WithHTTPClient(client *http.Client) *CreateSelectionParams
- func (o *CreateSelectionParams) WithTimeout(timeout time.Duration) *CreateSelectionParams
- func (o *CreateSelectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateSelectionReader
- type DeleteNodesOK
- type DeleteNodesParams
- func (o *DeleteNodesParams) SetBody(body *models.RestDeleteNodesRequest)
- func (o *DeleteNodesParams) SetContext(ctx context.Context)
- func (o *DeleteNodesParams) SetHTTPClient(client *http.Client)
- func (o *DeleteNodesParams) SetTimeout(timeout time.Duration)
- func (o *DeleteNodesParams) WithBody(body *models.RestDeleteNodesRequest) *DeleteNodesParams
- func (o *DeleteNodesParams) WithContext(ctx context.Context) *DeleteNodesParams
- func (o *DeleteNodesParams) WithHTTPClient(client *http.Client) *DeleteNodesParams
- func (o *DeleteNodesParams) WithTimeout(timeout time.Duration) *DeleteNodesParams
- func (o *DeleteNodesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteNodesReader
- type HeadNodeOK
- type HeadNodeParams
- func (o *HeadNodeParams) SetContext(ctx context.Context)
- func (o *HeadNodeParams) SetHTTPClient(client *http.Client)
- func (o *HeadNodeParams) SetNode(node string)
- func (o *HeadNodeParams) SetTimeout(timeout time.Duration)
- func (o *HeadNodeParams) WithContext(ctx context.Context) *HeadNodeParams
- func (o *HeadNodeParams) WithHTTPClient(client *http.Client) *HeadNodeParams
- func (o *HeadNodeParams) WithNode(node string) *HeadNodeParams
- func (o *HeadNodeParams) WithTimeout(timeout time.Duration) *HeadNodeParams
- func (o *HeadNodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HeadNodeReader
- type RestoreNodesOK
- type RestoreNodesParams
- func (o *RestoreNodesParams) SetBody(body *models.RestRestoreNodesRequest)
- func (o *RestoreNodesParams) SetContext(ctx context.Context)
- func (o *RestoreNodesParams) SetHTTPClient(client *http.Client)
- func (o *RestoreNodesParams) SetTimeout(timeout time.Duration)
- func (o *RestoreNodesParams) WithBody(body *models.RestRestoreNodesRequest) *RestoreNodesParams
- func (o *RestoreNodesParams) WithContext(ctx context.Context) *RestoreNodesParams
- func (o *RestoreNodesParams) WithHTTPClient(client *http.Client) *RestoreNodesParams
- func (o *RestoreNodesParams) WithTimeout(timeout time.Duration) *RestoreNodesParams
- func (o *RestoreNodesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestoreNodesReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BulkStatNodesOK ¶
type BulkStatNodesOK struct {
Payload *models.RestBulkMetaResponse
}
BulkStatNodesOK handles this case with default header values.
BulkStatNodesOK bulk stat nodes o k
func NewBulkStatNodesOK ¶
func NewBulkStatNodesOK() *BulkStatNodesOK
NewBulkStatNodesOK creates a BulkStatNodesOK with default headers values
func (*BulkStatNodesOK) Error ¶
func (o *BulkStatNodesOK) Error() string
type BulkStatNodesParams ¶
type BulkStatNodesParams struct { /*Body*/ Body *models.RestGetBulkMetaRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BulkStatNodesParams contains all the parameters to send to the API endpoint for the bulk stat nodes operation typically these are written to a http.Request
func NewBulkStatNodesParams ¶
func NewBulkStatNodesParams() *BulkStatNodesParams
NewBulkStatNodesParams creates a new BulkStatNodesParams object with the default values initialized.
func NewBulkStatNodesParamsWithContext ¶
func NewBulkStatNodesParamsWithContext(ctx context.Context) *BulkStatNodesParams
NewBulkStatNodesParamsWithContext creates a new BulkStatNodesParams object with the default values initialized, and the ability to set a context for a request
func NewBulkStatNodesParamsWithHTTPClient ¶
func NewBulkStatNodesParamsWithHTTPClient(client *http.Client) *BulkStatNodesParams
NewBulkStatNodesParamsWithHTTPClient creates a new BulkStatNodesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewBulkStatNodesParamsWithTimeout ¶
func NewBulkStatNodesParamsWithTimeout(timeout time.Duration) *BulkStatNodesParams
NewBulkStatNodesParamsWithTimeout creates a new BulkStatNodesParams object with the default values initialized, and the ability to set a timeout on a request
func (*BulkStatNodesParams) SetBody ¶
func (o *BulkStatNodesParams) SetBody(body *models.RestGetBulkMetaRequest)
SetBody adds the body to the bulk stat nodes params
func (*BulkStatNodesParams) SetContext ¶
func (o *BulkStatNodesParams) SetContext(ctx context.Context)
SetContext adds the context to the bulk stat nodes params
func (*BulkStatNodesParams) SetHTTPClient ¶
func (o *BulkStatNodesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the bulk stat nodes params
func (*BulkStatNodesParams) SetTimeout ¶
func (o *BulkStatNodesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the bulk stat nodes params
func (*BulkStatNodesParams) WithBody ¶
func (o *BulkStatNodesParams) WithBody(body *models.RestGetBulkMetaRequest) *BulkStatNodesParams
WithBody adds the body to the bulk stat nodes params
func (*BulkStatNodesParams) WithContext ¶
func (o *BulkStatNodesParams) WithContext(ctx context.Context) *BulkStatNodesParams
WithContext adds the context to the bulk stat nodes params
func (*BulkStatNodesParams) WithHTTPClient ¶
func (o *BulkStatNodesParams) WithHTTPClient(client *http.Client) *BulkStatNodesParams
WithHTTPClient adds the HTTPClient to the bulk stat nodes params
func (*BulkStatNodesParams) WithTimeout ¶
func (o *BulkStatNodesParams) WithTimeout(timeout time.Duration) *BulkStatNodesParams
WithTimeout adds the timeout to the bulk stat nodes params
func (*BulkStatNodesParams) WriteToRequest ¶
func (o *BulkStatNodesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BulkStatNodesReader ¶
type BulkStatNodesReader struct {
// contains filtered or unexported fields
}
BulkStatNodesReader is a Reader for the BulkStatNodes structure.
func (*BulkStatNodesReader) ReadResponse ¶
func (o *BulkStatNodesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for tree service API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new tree service API client.
func (*Client) BulkStatNodes ¶
func (a *Client) BulkStatNodes(params *BulkStatNodesParams) (*BulkStatNodesOK, error)
BulkStatNodes lists meta for a list of nodes or a full directory using path syntax
func (*Client) CreateNodes ¶
func (a *Client) CreateNodes(params *CreateNodesParams) (*CreateNodesOK, error)
CreateNodes creates dirs or empty files inside the tree
func (*Client) CreateSelection ¶
func (a *Client) CreateSelection(params *CreateSelectionParams) (*CreateSelectionOK, error)
CreateSelection creates a temporary selection for further action namely download
func (*Client) DeleteNodes ¶
func (a *Client) DeleteNodes(params *DeleteNodesParams) (*DeleteNodesOK, error)
DeleteNodes handles nodes deletion
func (*Client) HeadNode ¶
func (a *Client) HeadNode(params *HeadNodeParams) (*HeadNodeOK, error)
HeadNode returns node meta without the node content itself
func (*Client) RestoreNodes ¶
func (a *Client) RestoreNodes(params *RestoreNodesParams) (*RestoreNodesOK, error)
RestoreNodes handles nodes restoration from recycle bin
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type CreateNodesOK ¶
type CreateNodesOK struct {
Payload *models.RestNodesCollection
}
CreateNodesOK handles this case with default header values.
CreateNodesOK create nodes o k
func NewCreateNodesOK ¶
func NewCreateNodesOK() *CreateNodesOK
NewCreateNodesOK creates a CreateNodesOK with default headers values
func (*CreateNodesOK) Error ¶
func (o *CreateNodesOK) Error() string
type CreateNodesParams ¶
type CreateNodesParams struct { /*Body*/ Body *models.RestCreateNodesRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateNodesParams contains all the parameters to send to the API endpoint for the create nodes operation typically these are written to a http.Request
func NewCreateNodesParams ¶
func NewCreateNodesParams() *CreateNodesParams
NewCreateNodesParams creates a new CreateNodesParams object with the default values initialized.
func NewCreateNodesParamsWithContext ¶
func NewCreateNodesParamsWithContext(ctx context.Context) *CreateNodesParams
NewCreateNodesParamsWithContext creates a new CreateNodesParams object with the default values initialized, and the ability to set a context for a request
func NewCreateNodesParamsWithHTTPClient ¶
func NewCreateNodesParamsWithHTTPClient(client *http.Client) *CreateNodesParams
NewCreateNodesParamsWithHTTPClient creates a new CreateNodesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateNodesParamsWithTimeout ¶
func NewCreateNodesParamsWithTimeout(timeout time.Duration) *CreateNodesParams
NewCreateNodesParamsWithTimeout creates a new CreateNodesParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateNodesParams) SetBody ¶
func (o *CreateNodesParams) SetBody(body *models.RestCreateNodesRequest)
SetBody adds the body to the create nodes params
func (*CreateNodesParams) SetContext ¶
func (o *CreateNodesParams) SetContext(ctx context.Context)
SetContext adds the context to the create nodes params
func (*CreateNodesParams) SetHTTPClient ¶
func (o *CreateNodesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create nodes params
func (*CreateNodesParams) SetTimeout ¶
func (o *CreateNodesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create nodes params
func (*CreateNodesParams) WithBody ¶
func (o *CreateNodesParams) WithBody(body *models.RestCreateNodesRequest) *CreateNodesParams
WithBody adds the body to the create nodes params
func (*CreateNodesParams) WithContext ¶
func (o *CreateNodesParams) WithContext(ctx context.Context) *CreateNodesParams
WithContext adds the context to the create nodes params
func (*CreateNodesParams) WithHTTPClient ¶
func (o *CreateNodesParams) WithHTTPClient(client *http.Client) *CreateNodesParams
WithHTTPClient adds the HTTPClient to the create nodes params
func (*CreateNodesParams) WithTimeout ¶
func (o *CreateNodesParams) WithTimeout(timeout time.Duration) *CreateNodesParams
WithTimeout adds the timeout to the create nodes params
func (*CreateNodesParams) WriteToRequest ¶
func (o *CreateNodesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateNodesReader ¶
type CreateNodesReader struct {
// contains filtered or unexported fields
}
CreateNodesReader is a Reader for the CreateNodes structure.
func (*CreateNodesReader) ReadResponse ¶
func (o *CreateNodesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateSelectionOK ¶
type CreateSelectionOK struct {
Payload *models.RestCreateSelectionResponse
}
CreateSelectionOK handles this case with default header values.
CreateSelectionOK create selection o k
func NewCreateSelectionOK ¶
func NewCreateSelectionOK() *CreateSelectionOK
NewCreateSelectionOK creates a CreateSelectionOK with default headers values
func (*CreateSelectionOK) Error ¶
func (o *CreateSelectionOK) Error() string
type CreateSelectionParams ¶
type CreateSelectionParams struct { /*Body*/ Body *models.RestCreateSelectionRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateSelectionParams contains all the parameters to send to the API endpoint for the create selection operation typically these are written to a http.Request
func NewCreateSelectionParams ¶
func NewCreateSelectionParams() *CreateSelectionParams
NewCreateSelectionParams creates a new CreateSelectionParams object with the default values initialized.
func NewCreateSelectionParamsWithContext ¶
func NewCreateSelectionParamsWithContext(ctx context.Context) *CreateSelectionParams
NewCreateSelectionParamsWithContext creates a new CreateSelectionParams object with the default values initialized, and the ability to set a context for a request
func NewCreateSelectionParamsWithHTTPClient ¶
func NewCreateSelectionParamsWithHTTPClient(client *http.Client) *CreateSelectionParams
NewCreateSelectionParamsWithHTTPClient creates a new CreateSelectionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateSelectionParamsWithTimeout ¶
func NewCreateSelectionParamsWithTimeout(timeout time.Duration) *CreateSelectionParams
NewCreateSelectionParamsWithTimeout creates a new CreateSelectionParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateSelectionParams) SetBody ¶
func (o *CreateSelectionParams) SetBody(body *models.RestCreateSelectionRequest)
SetBody adds the body to the create selection params
func (*CreateSelectionParams) SetContext ¶
func (o *CreateSelectionParams) SetContext(ctx context.Context)
SetContext adds the context to the create selection params
func (*CreateSelectionParams) SetHTTPClient ¶
func (o *CreateSelectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create selection params
func (*CreateSelectionParams) SetTimeout ¶
func (o *CreateSelectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create selection params
func (*CreateSelectionParams) WithBody ¶
func (o *CreateSelectionParams) WithBody(body *models.RestCreateSelectionRequest) *CreateSelectionParams
WithBody adds the body to the create selection params
func (*CreateSelectionParams) WithContext ¶
func (o *CreateSelectionParams) WithContext(ctx context.Context) *CreateSelectionParams
WithContext adds the context to the create selection params
func (*CreateSelectionParams) WithHTTPClient ¶
func (o *CreateSelectionParams) WithHTTPClient(client *http.Client) *CreateSelectionParams
WithHTTPClient adds the HTTPClient to the create selection params
func (*CreateSelectionParams) WithTimeout ¶
func (o *CreateSelectionParams) WithTimeout(timeout time.Duration) *CreateSelectionParams
WithTimeout adds the timeout to the create selection params
func (*CreateSelectionParams) WriteToRequest ¶
func (o *CreateSelectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateSelectionReader ¶
type CreateSelectionReader struct {
// contains filtered or unexported fields
}
CreateSelectionReader is a Reader for the CreateSelection structure.
func (*CreateSelectionReader) ReadResponse ¶
func (o *CreateSelectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteNodesOK ¶
type DeleteNodesOK struct {
Payload *models.RestDeleteNodesResponse
}
DeleteNodesOK handles this case with default header values.
DeleteNodesOK delete nodes o k
func NewDeleteNodesOK ¶
func NewDeleteNodesOK() *DeleteNodesOK
NewDeleteNodesOK creates a DeleteNodesOK with default headers values
func (*DeleteNodesOK) Error ¶
func (o *DeleteNodesOK) Error() string
type DeleteNodesParams ¶
type DeleteNodesParams struct { /*Body*/ Body *models.RestDeleteNodesRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteNodesParams contains all the parameters to send to the API endpoint for the delete nodes operation typically these are written to a http.Request
func NewDeleteNodesParams ¶
func NewDeleteNodesParams() *DeleteNodesParams
NewDeleteNodesParams creates a new DeleteNodesParams object with the default values initialized.
func NewDeleteNodesParamsWithContext ¶
func NewDeleteNodesParamsWithContext(ctx context.Context) *DeleteNodesParams
NewDeleteNodesParamsWithContext creates a new DeleteNodesParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteNodesParamsWithHTTPClient ¶
func NewDeleteNodesParamsWithHTTPClient(client *http.Client) *DeleteNodesParams
NewDeleteNodesParamsWithHTTPClient creates a new DeleteNodesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteNodesParamsWithTimeout ¶
func NewDeleteNodesParamsWithTimeout(timeout time.Duration) *DeleteNodesParams
NewDeleteNodesParamsWithTimeout creates a new DeleteNodesParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteNodesParams) SetBody ¶
func (o *DeleteNodesParams) SetBody(body *models.RestDeleteNodesRequest)
SetBody adds the body to the delete nodes params
func (*DeleteNodesParams) SetContext ¶
func (o *DeleteNodesParams) SetContext(ctx context.Context)
SetContext adds the context to the delete nodes params
func (*DeleteNodesParams) SetHTTPClient ¶
func (o *DeleteNodesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete nodes params
func (*DeleteNodesParams) SetTimeout ¶
func (o *DeleteNodesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete nodes params
func (*DeleteNodesParams) WithBody ¶
func (o *DeleteNodesParams) WithBody(body *models.RestDeleteNodesRequest) *DeleteNodesParams
WithBody adds the body to the delete nodes params
func (*DeleteNodesParams) WithContext ¶
func (o *DeleteNodesParams) WithContext(ctx context.Context) *DeleteNodesParams
WithContext adds the context to the delete nodes params
func (*DeleteNodesParams) WithHTTPClient ¶
func (o *DeleteNodesParams) WithHTTPClient(client *http.Client) *DeleteNodesParams
WithHTTPClient adds the HTTPClient to the delete nodes params
func (*DeleteNodesParams) WithTimeout ¶
func (o *DeleteNodesParams) WithTimeout(timeout time.Duration) *DeleteNodesParams
WithTimeout adds the timeout to the delete nodes params
func (*DeleteNodesParams) WriteToRequest ¶
func (o *DeleteNodesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteNodesReader ¶
type DeleteNodesReader struct {
// contains filtered or unexported fields
}
DeleteNodesReader is a Reader for the DeleteNodes structure.
func (*DeleteNodesReader) ReadResponse ¶
func (o *DeleteNodesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type HeadNodeOK ¶
type HeadNodeOK struct {
Payload *models.RestHeadNodeResponse
}
HeadNodeOK handles this case with default header values.
HeadNodeOK head node o k
func NewHeadNodeOK ¶
func NewHeadNodeOK() *HeadNodeOK
NewHeadNodeOK creates a HeadNodeOK with default headers values
func (*HeadNodeOK) Error ¶
func (o *HeadNodeOK) Error() string
type HeadNodeParams ¶
type HeadNodeParams struct { /*Node*/ Node string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
HeadNodeParams contains all the parameters to send to the API endpoint for the head node operation typically these are written to a http.Request
func NewHeadNodeParams ¶
func NewHeadNodeParams() *HeadNodeParams
NewHeadNodeParams creates a new HeadNodeParams object with the default values initialized.
func NewHeadNodeParamsWithContext ¶
func NewHeadNodeParamsWithContext(ctx context.Context) *HeadNodeParams
NewHeadNodeParamsWithContext creates a new HeadNodeParams object with the default values initialized, and the ability to set a context for a request
func NewHeadNodeParamsWithHTTPClient ¶
func NewHeadNodeParamsWithHTTPClient(client *http.Client) *HeadNodeParams
NewHeadNodeParamsWithHTTPClient creates a new HeadNodeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewHeadNodeParamsWithTimeout ¶
func NewHeadNodeParamsWithTimeout(timeout time.Duration) *HeadNodeParams
NewHeadNodeParamsWithTimeout creates a new HeadNodeParams object with the default values initialized, and the ability to set a timeout on a request
func (*HeadNodeParams) SetContext ¶
func (o *HeadNodeParams) SetContext(ctx context.Context)
SetContext adds the context to the head node params
func (*HeadNodeParams) SetHTTPClient ¶
func (o *HeadNodeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the head node params
func (*HeadNodeParams) SetNode ¶
func (o *HeadNodeParams) SetNode(node string)
SetNode adds the node to the head node params
func (*HeadNodeParams) SetTimeout ¶
func (o *HeadNodeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the head node params
func (*HeadNodeParams) WithContext ¶
func (o *HeadNodeParams) WithContext(ctx context.Context) *HeadNodeParams
WithContext adds the context to the head node params
func (*HeadNodeParams) WithHTTPClient ¶
func (o *HeadNodeParams) WithHTTPClient(client *http.Client) *HeadNodeParams
WithHTTPClient adds the HTTPClient to the head node params
func (*HeadNodeParams) WithNode ¶
func (o *HeadNodeParams) WithNode(node string) *HeadNodeParams
WithNode adds the node to the head node params
func (*HeadNodeParams) WithTimeout ¶
func (o *HeadNodeParams) WithTimeout(timeout time.Duration) *HeadNodeParams
WithTimeout adds the timeout to the head node params
func (*HeadNodeParams) WriteToRequest ¶
func (o *HeadNodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type HeadNodeReader ¶
type HeadNodeReader struct {
// contains filtered or unexported fields
}
HeadNodeReader is a Reader for the HeadNode structure.
func (*HeadNodeReader) ReadResponse ¶
func (o *HeadNodeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RestoreNodesOK ¶
type RestoreNodesOK struct {
Payload *models.RestRestoreNodesResponse
}
RestoreNodesOK handles this case with default header values.
RestoreNodesOK restore nodes o k
func NewRestoreNodesOK ¶
func NewRestoreNodesOK() *RestoreNodesOK
NewRestoreNodesOK creates a RestoreNodesOK with default headers values
func (*RestoreNodesOK) Error ¶
func (o *RestoreNodesOK) Error() string
type RestoreNodesParams ¶
type RestoreNodesParams struct { /*Body*/ Body *models.RestRestoreNodesRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RestoreNodesParams contains all the parameters to send to the API endpoint for the restore nodes operation typically these are written to a http.Request
func NewRestoreNodesParams ¶
func NewRestoreNodesParams() *RestoreNodesParams
NewRestoreNodesParams creates a new RestoreNodesParams object with the default values initialized.
func NewRestoreNodesParamsWithContext ¶
func NewRestoreNodesParamsWithContext(ctx context.Context) *RestoreNodesParams
NewRestoreNodesParamsWithContext creates a new RestoreNodesParams object with the default values initialized, and the ability to set a context for a request
func NewRestoreNodesParamsWithHTTPClient ¶
func NewRestoreNodesParamsWithHTTPClient(client *http.Client) *RestoreNodesParams
NewRestoreNodesParamsWithHTTPClient creates a new RestoreNodesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRestoreNodesParamsWithTimeout ¶
func NewRestoreNodesParamsWithTimeout(timeout time.Duration) *RestoreNodesParams
NewRestoreNodesParamsWithTimeout creates a new RestoreNodesParams object with the default values initialized, and the ability to set a timeout on a request
func (*RestoreNodesParams) SetBody ¶
func (o *RestoreNodesParams) SetBody(body *models.RestRestoreNodesRequest)
SetBody adds the body to the restore nodes params
func (*RestoreNodesParams) SetContext ¶
func (o *RestoreNodesParams) SetContext(ctx context.Context)
SetContext adds the context to the restore nodes params
func (*RestoreNodesParams) SetHTTPClient ¶
func (o *RestoreNodesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the restore nodes params
func (*RestoreNodesParams) SetTimeout ¶
func (o *RestoreNodesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the restore nodes params
func (*RestoreNodesParams) WithBody ¶
func (o *RestoreNodesParams) WithBody(body *models.RestRestoreNodesRequest) *RestoreNodesParams
WithBody adds the body to the restore nodes params
func (*RestoreNodesParams) WithContext ¶
func (o *RestoreNodesParams) WithContext(ctx context.Context) *RestoreNodesParams
WithContext adds the context to the restore nodes params
func (*RestoreNodesParams) WithHTTPClient ¶
func (o *RestoreNodesParams) WithHTTPClient(client *http.Client) *RestoreNodesParams
WithHTTPClient adds the HTTPClient to the restore nodes params
func (*RestoreNodesParams) WithTimeout ¶
func (o *RestoreNodesParams) WithTimeout(timeout time.Duration) *RestoreNodesParams
WithTimeout adds the timeout to the restore nodes params
func (*RestoreNodesParams) WriteToRequest ¶
func (o *RestoreNodesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RestoreNodesReader ¶
type RestoreNodesReader struct {
// contains filtered or unexported fields
}
RestoreNodesReader is a Reader for the RestoreNodes structure.
func (*RestoreNodesReader) ReadResponse ¶
func (o *RestoreNodesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- bulk_stat_nodes_parameters.go
- bulk_stat_nodes_responses.go
- create_nodes_parameters.go
- create_nodes_responses.go
- create_selection_parameters.go
- create_selection_responses.go
- delete_nodes_parameters.go
- delete_nodes_responses.go
- head_node_parameters.go
- head_node_responses.go
- restore_nodes_parameters.go
- restore_nodes_responses.go
- tree_service_client.go