Documentation ¶
Index ¶
- type BulkStatNodesForbidden
- type BulkStatNodesInternalServerError
- type BulkStatNodesNotFound
- type BulkStatNodesOK
- type BulkStatNodesParams
- func (o *BulkStatNodesParams) SetBody(body *models.RestGetBulkMetaRequest)
- func (o *BulkStatNodesParams) SetContext(ctx context.Context)
- func (o *BulkStatNodesParams) SetDefaults()
- 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) WithDefaults() *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 BulkStatNodesUnauthorized
- type Client
- func (a *Client) BulkStatNodes(params *BulkStatNodesParams, opts ...ClientOption) (*BulkStatNodesOK, error)
- func (a *Client) CreateNodes(params *CreateNodesParams, opts ...ClientOption) (*CreateNodesOK, error)
- func (a *Client) CreateSelection(params *CreateSelectionParams, opts ...ClientOption) (*CreateSelectionOK, error)
- func (a *Client) DeleteNodes(params *DeleteNodesParams, opts ...ClientOption) (*DeleteNodesOK, error)
- func (a *Client) HeadNode(params *HeadNodeParams, opts ...ClientOption) (*HeadNodeOK, error)
- func (a *Client) RestoreNodes(params *RestoreNodesParams, opts ...ClientOption) (*RestoreNodesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateNodesForbidden
- type CreateNodesInternalServerError
- type CreateNodesNotFound
- type CreateNodesOK
- type CreateNodesParams
- func (o *CreateNodesParams) SetBody(body *models.RestCreateNodesRequest)
- func (o *CreateNodesParams) SetContext(ctx context.Context)
- func (o *CreateNodesParams) SetDefaults()
- 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) WithDefaults() *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 CreateNodesUnauthorized
- type CreateSelectionForbidden
- type CreateSelectionInternalServerError
- type CreateSelectionNotFound
- 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) SetDefaults()
- 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) WithDefaults() *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 CreateSelectionUnauthorized
- type DeleteNodesForbidden
- type DeleteNodesInternalServerError
- type DeleteNodesNotFound
- type DeleteNodesOK
- type DeleteNodesParams
- func (o *DeleteNodesParams) SetBody(body *models.RestDeleteNodesRequest)
- func (o *DeleteNodesParams) SetContext(ctx context.Context)
- func (o *DeleteNodesParams) SetDefaults()
- 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) WithDefaults() *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 DeleteNodesUnauthorized
- type HeadNodeForbidden
- type HeadNodeInternalServerError
- type HeadNodeNotFound
- type HeadNodeOK
- type HeadNodeParams
- func (o *HeadNodeParams) SetContext(ctx context.Context)
- func (o *HeadNodeParams) SetDefaults()
- 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) WithDefaults() *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 HeadNodeUnauthorized
- type RestoreNodesForbidden
- type RestoreNodesInternalServerError
- type RestoreNodesNotFound
- type RestoreNodesOK
- type RestoreNodesParams
- func (o *RestoreNodesParams) SetBody(body *models.RestRestoreNodesRequest)
- func (o *RestoreNodesParams) SetContext(ctx context.Context)
- func (o *RestoreNodesParams) SetDefaults()
- 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) WithDefaults() *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
- type RestoreNodesUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BulkStatNodesForbidden ¶
BulkStatNodesForbidden describes a response with status code 403, with default header values.
User has no permission to access this resource
func NewBulkStatNodesForbidden ¶
func NewBulkStatNodesForbidden() *BulkStatNodesForbidden
NewBulkStatNodesForbidden creates a BulkStatNodesForbidden with default headers values
func (*BulkStatNodesForbidden) Error ¶
func (o *BulkStatNodesForbidden) Error() string
func (*BulkStatNodesForbidden) GetPayload ¶
func (o *BulkStatNodesForbidden) GetPayload() *models.RestError
type BulkStatNodesInternalServerError ¶
BulkStatNodesInternalServerError describes a response with status code 500, with default header values.
An internal error occurred in the backend
func NewBulkStatNodesInternalServerError ¶
func NewBulkStatNodesInternalServerError() *BulkStatNodesInternalServerError
NewBulkStatNodesInternalServerError creates a BulkStatNodesInternalServerError with default headers values
func (*BulkStatNodesInternalServerError) Error ¶
func (o *BulkStatNodesInternalServerError) Error() string
func (*BulkStatNodesInternalServerError) GetPayload ¶
func (o *BulkStatNodesInternalServerError) GetPayload() *models.RestError
type BulkStatNodesNotFound ¶
BulkStatNodesNotFound describes a response with status code 404, with default header values.
Resource does not exist in the system
func NewBulkStatNodesNotFound ¶
func NewBulkStatNodesNotFound() *BulkStatNodesNotFound
NewBulkStatNodesNotFound creates a BulkStatNodesNotFound with default headers values
func (*BulkStatNodesNotFound) Error ¶
func (o *BulkStatNodesNotFound) Error() string
func (*BulkStatNodesNotFound) GetPayload ¶
func (o *BulkStatNodesNotFound) GetPayload() *models.RestError
type BulkStatNodesOK ¶
type BulkStatNodesOK struct {
Payload *models.RestBulkMetaResponse
}
BulkStatNodesOK describes a response with status code 200, 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
func (*BulkStatNodesOK) GetPayload ¶
func (o *BulkStatNodesOK) GetPayload() *models.RestBulkMetaResponse
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewBulkStatNodesParamsWithContext ¶
func NewBulkStatNodesParamsWithContext(ctx context.Context) *BulkStatNodesParams
NewBulkStatNodesParamsWithContext creates a new BulkStatNodesParams object with 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 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 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) SetDefaults ¶
func (o *BulkStatNodesParams) SetDefaults()
SetDefaults hydrates default values in the bulk stat nodes params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *BulkStatNodesParams) WithDefaults() *BulkStatNodesParams
WithDefaults hydrates default values in the bulk stat nodes params (not the query body).
All values with no default are reset to their zero value.
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 BulkStatNodesUnauthorized ¶
type BulkStatNodesUnauthorized struct { }
BulkStatNodesUnauthorized describes a response with status code 401, with default header values.
User is not authenticated
func NewBulkStatNodesUnauthorized ¶
func NewBulkStatNodesUnauthorized() *BulkStatNodesUnauthorized
NewBulkStatNodesUnauthorized creates a BulkStatNodesUnauthorized with default headers values
func (*BulkStatNodesUnauthorized) Error ¶
func (o *BulkStatNodesUnauthorized) Error() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for tree service API
func (*Client) BulkStatNodes ¶
func (a *Client) BulkStatNodes(params *BulkStatNodesParams, opts ...ClientOption) (*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, opts ...ClientOption) (*CreateNodesOK, error)
CreateNodes creates dirs or empty files inside the tree
func (*Client) CreateSelection ¶
func (a *Client) CreateSelection(params *CreateSelectionParams, opts ...ClientOption) (*CreateSelectionOK, error)
CreateSelection creates a temporary selection for further action namely download
func (*Client) DeleteNodes ¶
func (a *Client) DeleteNodes(params *DeleteNodesParams, opts ...ClientOption) (*DeleteNodesOK, error)
DeleteNodes handles nodes deletion
func (*Client) HeadNode ¶
func (a *Client) HeadNode(params *HeadNodeParams, opts ...ClientOption) (*HeadNodeOK, error)
HeadNode returns node meta without the node content itself
func (*Client) RestoreNodes ¶
func (a *Client) RestoreNodes(params *RestoreNodesParams, opts ...ClientOption) (*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 ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { BulkStatNodes(params *BulkStatNodesParams, opts ...ClientOption) (*BulkStatNodesOK, error) CreateNodes(params *CreateNodesParams, opts ...ClientOption) (*CreateNodesOK, error) CreateSelection(params *CreateSelectionParams, opts ...ClientOption) (*CreateSelectionOK, error) DeleteNodes(params *DeleteNodesParams, opts ...ClientOption) (*DeleteNodesOK, error) HeadNode(params *HeadNodeParams, opts ...ClientOption) (*HeadNodeOK, error) RestoreNodes(params *RestoreNodesParams, opts ...ClientOption) (*RestoreNodesOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new tree service API client.
type CreateNodesForbidden ¶
CreateNodesForbidden describes a response with status code 403, with default header values.
User has no permission to access this resource
func NewCreateNodesForbidden ¶
func NewCreateNodesForbidden() *CreateNodesForbidden
NewCreateNodesForbidden creates a CreateNodesForbidden with default headers values
func (*CreateNodesForbidden) Error ¶
func (o *CreateNodesForbidden) Error() string
func (*CreateNodesForbidden) GetPayload ¶
func (o *CreateNodesForbidden) GetPayload() *models.RestError
type CreateNodesInternalServerError ¶
CreateNodesInternalServerError describes a response with status code 500, with default header values.
An internal error occurred in the backend
func NewCreateNodesInternalServerError ¶
func NewCreateNodesInternalServerError() *CreateNodesInternalServerError
NewCreateNodesInternalServerError creates a CreateNodesInternalServerError with default headers values
func (*CreateNodesInternalServerError) Error ¶
func (o *CreateNodesInternalServerError) Error() string
func (*CreateNodesInternalServerError) GetPayload ¶
func (o *CreateNodesInternalServerError) GetPayload() *models.RestError
type CreateNodesNotFound ¶
CreateNodesNotFound describes a response with status code 404, with default header values.
Resource does not exist in the system
func NewCreateNodesNotFound ¶
func NewCreateNodesNotFound() *CreateNodesNotFound
NewCreateNodesNotFound creates a CreateNodesNotFound with default headers values
func (*CreateNodesNotFound) Error ¶
func (o *CreateNodesNotFound) Error() string
func (*CreateNodesNotFound) GetPayload ¶
func (o *CreateNodesNotFound) GetPayload() *models.RestError
type CreateNodesOK ¶
type CreateNodesOK struct {
Payload *models.RestNodesCollection
}
CreateNodesOK describes a response with status code 200, 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
func (*CreateNodesOK) GetPayload ¶
func (o *CreateNodesOK) GetPayload() *models.RestNodesCollection
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateNodesParamsWithContext ¶
func NewCreateNodesParamsWithContext(ctx context.Context) *CreateNodesParams
NewCreateNodesParamsWithContext creates a new CreateNodesParams object with 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 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 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) SetDefaults ¶
func (o *CreateNodesParams) SetDefaults()
SetDefaults hydrates default values in the create nodes params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *CreateNodesParams) WithDefaults() *CreateNodesParams
WithDefaults hydrates default values in the create nodes params (not the query body).
All values with no default are reset to their zero value.
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 CreateNodesUnauthorized ¶
type CreateNodesUnauthorized struct { }
CreateNodesUnauthorized describes a response with status code 401, with default header values.
User is not authenticated
func NewCreateNodesUnauthorized ¶
func NewCreateNodesUnauthorized() *CreateNodesUnauthorized
NewCreateNodesUnauthorized creates a CreateNodesUnauthorized with default headers values
func (*CreateNodesUnauthorized) Error ¶
func (o *CreateNodesUnauthorized) Error() string
type CreateSelectionForbidden ¶
CreateSelectionForbidden describes a response with status code 403, with default header values.
User has no permission to access this resource
func NewCreateSelectionForbidden ¶
func NewCreateSelectionForbidden() *CreateSelectionForbidden
NewCreateSelectionForbidden creates a CreateSelectionForbidden with default headers values
func (*CreateSelectionForbidden) Error ¶
func (o *CreateSelectionForbidden) Error() string
func (*CreateSelectionForbidden) GetPayload ¶
func (o *CreateSelectionForbidden) GetPayload() *models.RestError
type CreateSelectionInternalServerError ¶
CreateSelectionInternalServerError describes a response with status code 500, with default header values.
An internal error occurred in the backend
func NewCreateSelectionInternalServerError ¶
func NewCreateSelectionInternalServerError() *CreateSelectionInternalServerError
NewCreateSelectionInternalServerError creates a CreateSelectionInternalServerError with default headers values
func (*CreateSelectionInternalServerError) Error ¶
func (o *CreateSelectionInternalServerError) Error() string
func (*CreateSelectionInternalServerError) GetPayload ¶
func (o *CreateSelectionInternalServerError) GetPayload() *models.RestError
type CreateSelectionNotFound ¶
CreateSelectionNotFound describes a response with status code 404, with default header values.
Resource does not exist in the system
func NewCreateSelectionNotFound ¶
func NewCreateSelectionNotFound() *CreateSelectionNotFound
NewCreateSelectionNotFound creates a CreateSelectionNotFound with default headers values
func (*CreateSelectionNotFound) Error ¶
func (o *CreateSelectionNotFound) Error() string
func (*CreateSelectionNotFound) GetPayload ¶
func (o *CreateSelectionNotFound) GetPayload() *models.RestError
type CreateSelectionOK ¶
type CreateSelectionOK struct {
Payload *models.RestCreateSelectionResponse
}
CreateSelectionOK describes a response with status code 200, 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
func (*CreateSelectionOK) GetPayload ¶
func (o *CreateSelectionOK) GetPayload() *models.RestCreateSelectionResponse
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateSelectionParamsWithContext ¶
func NewCreateSelectionParamsWithContext(ctx context.Context) *CreateSelectionParams
NewCreateSelectionParamsWithContext creates a new CreateSelectionParams object with 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 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 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) SetDefaults ¶
func (o *CreateSelectionParams) SetDefaults()
SetDefaults hydrates default values in the create selection params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *CreateSelectionParams) WithDefaults() *CreateSelectionParams
WithDefaults hydrates default values in the create selection params (not the query body).
All values with no default are reset to their zero value.
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 CreateSelectionUnauthorized ¶
type CreateSelectionUnauthorized struct { }
CreateSelectionUnauthorized describes a response with status code 401, with default header values.
User is not authenticated
func NewCreateSelectionUnauthorized ¶
func NewCreateSelectionUnauthorized() *CreateSelectionUnauthorized
NewCreateSelectionUnauthorized creates a CreateSelectionUnauthorized with default headers values
func (*CreateSelectionUnauthorized) Error ¶
func (o *CreateSelectionUnauthorized) Error() string
type DeleteNodesForbidden ¶
DeleteNodesForbidden describes a response with status code 403, with default header values.
User has no permission to access this resource
func NewDeleteNodesForbidden ¶
func NewDeleteNodesForbidden() *DeleteNodesForbidden
NewDeleteNodesForbidden creates a DeleteNodesForbidden with default headers values
func (*DeleteNodesForbidden) Error ¶
func (o *DeleteNodesForbidden) Error() string
func (*DeleteNodesForbidden) GetPayload ¶
func (o *DeleteNodesForbidden) GetPayload() *models.RestError
type DeleteNodesInternalServerError ¶
DeleteNodesInternalServerError describes a response with status code 500, with default header values.
An internal error occurred in the backend
func NewDeleteNodesInternalServerError ¶
func NewDeleteNodesInternalServerError() *DeleteNodesInternalServerError
NewDeleteNodesInternalServerError creates a DeleteNodesInternalServerError with default headers values
func (*DeleteNodesInternalServerError) Error ¶
func (o *DeleteNodesInternalServerError) Error() string
func (*DeleteNodesInternalServerError) GetPayload ¶
func (o *DeleteNodesInternalServerError) GetPayload() *models.RestError
type DeleteNodesNotFound ¶
DeleteNodesNotFound describes a response with status code 404, with default header values.
Resource does not exist in the system
func NewDeleteNodesNotFound ¶
func NewDeleteNodesNotFound() *DeleteNodesNotFound
NewDeleteNodesNotFound creates a DeleteNodesNotFound with default headers values
func (*DeleteNodesNotFound) Error ¶
func (o *DeleteNodesNotFound) Error() string
func (*DeleteNodesNotFound) GetPayload ¶
func (o *DeleteNodesNotFound) GetPayload() *models.RestError
type DeleteNodesOK ¶
type DeleteNodesOK struct {
Payload *models.RestDeleteNodesResponse
}
DeleteNodesOK describes a response with status code 200, 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
func (*DeleteNodesOK) GetPayload ¶
func (o *DeleteNodesOK) GetPayload() *models.RestDeleteNodesResponse
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteNodesParamsWithContext ¶
func NewDeleteNodesParamsWithContext(ctx context.Context) *DeleteNodesParams
NewDeleteNodesParamsWithContext creates a new DeleteNodesParams object with 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 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 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) SetDefaults ¶
func (o *DeleteNodesParams) SetDefaults()
SetDefaults hydrates default values in the delete nodes params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *DeleteNodesParams) WithDefaults() *DeleteNodesParams
WithDefaults hydrates default values in the delete nodes params (not the query body).
All values with no default are reset to their zero value.
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 DeleteNodesUnauthorized ¶
type DeleteNodesUnauthorized struct { }
DeleteNodesUnauthorized describes a response with status code 401, with default header values.
User is not authenticated
func NewDeleteNodesUnauthorized ¶
func NewDeleteNodesUnauthorized() *DeleteNodesUnauthorized
NewDeleteNodesUnauthorized creates a DeleteNodesUnauthorized with default headers values
func (*DeleteNodesUnauthorized) Error ¶
func (o *DeleteNodesUnauthorized) Error() string
type HeadNodeForbidden ¶
HeadNodeForbidden describes a response with status code 403, with default header values.
User has no permission to access this resource
func NewHeadNodeForbidden ¶
func NewHeadNodeForbidden() *HeadNodeForbidden
NewHeadNodeForbidden creates a HeadNodeForbidden with default headers values
func (*HeadNodeForbidden) Error ¶
func (o *HeadNodeForbidden) Error() string
func (*HeadNodeForbidden) GetPayload ¶
func (o *HeadNodeForbidden) GetPayload() *models.RestError
type HeadNodeInternalServerError ¶
HeadNodeInternalServerError describes a response with status code 500, with default header values.
An internal error occurred in the backend
func NewHeadNodeInternalServerError ¶
func NewHeadNodeInternalServerError() *HeadNodeInternalServerError
NewHeadNodeInternalServerError creates a HeadNodeInternalServerError with default headers values
func (*HeadNodeInternalServerError) Error ¶
func (o *HeadNodeInternalServerError) Error() string
func (*HeadNodeInternalServerError) GetPayload ¶
func (o *HeadNodeInternalServerError) GetPayload() *models.RestError
type HeadNodeNotFound ¶
HeadNodeNotFound describes a response with status code 404, with default header values.
Resource does not exist in the system
func NewHeadNodeNotFound ¶
func NewHeadNodeNotFound() *HeadNodeNotFound
NewHeadNodeNotFound creates a HeadNodeNotFound with default headers values
func (*HeadNodeNotFound) Error ¶
func (o *HeadNodeNotFound) Error() string
func (*HeadNodeNotFound) GetPayload ¶
func (o *HeadNodeNotFound) GetPayload() *models.RestError
type HeadNodeOK ¶
type HeadNodeOK struct {
Payload *models.RestHeadNodeResponse
}
HeadNodeOK describes a response with status code 200, 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
func (*HeadNodeOK) GetPayload ¶
func (o *HeadNodeOK) GetPayload() *models.RestHeadNodeResponse
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewHeadNodeParamsWithContext ¶
func NewHeadNodeParamsWithContext(ctx context.Context) *HeadNodeParams
NewHeadNodeParamsWithContext creates a new HeadNodeParams object with 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 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 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) SetDefaults ¶
func (o *HeadNodeParams) SetDefaults()
SetDefaults hydrates default values in the head node params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *HeadNodeParams) WithDefaults() *HeadNodeParams
WithDefaults hydrates default values in the head node params (not the query body).
All values with no default are reset to their zero value.
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 HeadNodeUnauthorized ¶
type HeadNodeUnauthorized struct { }
HeadNodeUnauthorized describes a response with status code 401, with default header values.
User is not authenticated
func NewHeadNodeUnauthorized ¶
func NewHeadNodeUnauthorized() *HeadNodeUnauthorized
NewHeadNodeUnauthorized creates a HeadNodeUnauthorized with default headers values
func (*HeadNodeUnauthorized) Error ¶
func (o *HeadNodeUnauthorized) Error() string
type RestoreNodesForbidden ¶
RestoreNodesForbidden describes a response with status code 403, with default header values.
User has no permission to access this resource
func NewRestoreNodesForbidden ¶
func NewRestoreNodesForbidden() *RestoreNodesForbidden
NewRestoreNodesForbidden creates a RestoreNodesForbidden with default headers values
func (*RestoreNodesForbidden) Error ¶
func (o *RestoreNodesForbidden) Error() string
func (*RestoreNodesForbidden) GetPayload ¶
func (o *RestoreNodesForbidden) GetPayload() *models.RestError
type RestoreNodesInternalServerError ¶
RestoreNodesInternalServerError describes a response with status code 500, with default header values.
An internal error occurred in the backend
func NewRestoreNodesInternalServerError ¶
func NewRestoreNodesInternalServerError() *RestoreNodesInternalServerError
NewRestoreNodesInternalServerError creates a RestoreNodesInternalServerError with default headers values
func (*RestoreNodesInternalServerError) Error ¶
func (o *RestoreNodesInternalServerError) Error() string
func (*RestoreNodesInternalServerError) GetPayload ¶
func (o *RestoreNodesInternalServerError) GetPayload() *models.RestError
type RestoreNodesNotFound ¶
RestoreNodesNotFound describes a response with status code 404, with default header values.
Resource does not exist in the system
func NewRestoreNodesNotFound ¶
func NewRestoreNodesNotFound() *RestoreNodesNotFound
NewRestoreNodesNotFound creates a RestoreNodesNotFound with default headers values
func (*RestoreNodesNotFound) Error ¶
func (o *RestoreNodesNotFound) Error() string
func (*RestoreNodesNotFound) GetPayload ¶
func (o *RestoreNodesNotFound) GetPayload() *models.RestError
type RestoreNodesOK ¶
type RestoreNodesOK struct {
Payload *models.RestRestoreNodesResponse
}
RestoreNodesOK describes a response with status code 200, 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
func (*RestoreNodesOK) GetPayload ¶
func (o *RestoreNodesOK) GetPayload() *models.RestRestoreNodesResponse
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRestoreNodesParamsWithContext ¶
func NewRestoreNodesParamsWithContext(ctx context.Context) *RestoreNodesParams
NewRestoreNodesParamsWithContext creates a new RestoreNodesParams object with 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 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 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) SetDefaults ¶
func (o *RestoreNodesParams) SetDefaults()
SetDefaults hydrates default values in the restore nodes params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *RestoreNodesParams) WithDefaults() *RestoreNodesParams
WithDefaults hydrates default values in the restore nodes params (not the query body).
All values with no default are reset to their zero value.
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.
type RestoreNodesUnauthorized ¶
type RestoreNodesUnauthorized struct { }
RestoreNodesUnauthorized describes a response with status code 401, with default header values.
User is not authenticated
func NewRestoreNodesUnauthorized ¶
func NewRestoreNodesUnauthorized() *RestoreNodesUnauthorized
NewRestoreNodesUnauthorized creates a RestoreNodesUnauthorized with default headers values
func (*RestoreNodesUnauthorized) Error ¶
func (o *RestoreNodesUnauthorized) Error() string
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