Documentation
¶
Index ¶
- type BulkStatNodesForbidden
- func (o *BulkStatNodesForbidden) Code() int
- func (o *BulkStatNodesForbidden) Error() string
- func (o *BulkStatNodesForbidden) GetPayload() *models.RestError
- func (o *BulkStatNodesForbidden) IsClientError() bool
- func (o *BulkStatNodesForbidden) IsCode(code int) bool
- func (o *BulkStatNodesForbidden) IsRedirect() bool
- func (o *BulkStatNodesForbidden) IsServerError() bool
- func (o *BulkStatNodesForbidden) IsSuccess() bool
- func (o *BulkStatNodesForbidden) String() string
- type BulkStatNodesInternalServerError
- func (o *BulkStatNodesInternalServerError) Code() int
- func (o *BulkStatNodesInternalServerError) Error() string
- func (o *BulkStatNodesInternalServerError) GetPayload() *models.RestError
- func (o *BulkStatNodesInternalServerError) IsClientError() bool
- func (o *BulkStatNodesInternalServerError) IsCode(code int) bool
- func (o *BulkStatNodesInternalServerError) IsRedirect() bool
- func (o *BulkStatNodesInternalServerError) IsServerError() bool
- func (o *BulkStatNodesInternalServerError) IsSuccess() bool
- func (o *BulkStatNodesInternalServerError) String() string
- type BulkStatNodesNotFound
- func (o *BulkStatNodesNotFound) Code() int
- func (o *BulkStatNodesNotFound) Error() string
- func (o *BulkStatNodesNotFound) GetPayload() *models.RestError
- func (o *BulkStatNodesNotFound) IsClientError() bool
- func (o *BulkStatNodesNotFound) IsCode(code int) bool
- func (o *BulkStatNodesNotFound) IsRedirect() bool
- func (o *BulkStatNodesNotFound) IsServerError() bool
- func (o *BulkStatNodesNotFound) IsSuccess() bool
- func (o *BulkStatNodesNotFound) String() string
- type BulkStatNodesOK
- func (o *BulkStatNodesOK) Code() int
- func (o *BulkStatNodesOK) Error() string
- func (o *BulkStatNodesOK) GetPayload() *models.RestBulkMetaResponse
- func (o *BulkStatNodesOK) IsClientError() bool
- func (o *BulkStatNodesOK) IsCode(code int) bool
- func (o *BulkStatNodesOK) IsRedirect() bool
- func (o *BulkStatNodesOK) IsServerError() bool
- func (o *BulkStatNodesOK) IsSuccess() bool
- func (o *BulkStatNodesOK) String() string
- 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
- func (o *BulkStatNodesUnauthorized) Code() int
- func (o *BulkStatNodesUnauthorized) Error() string
- func (o *BulkStatNodesUnauthorized) IsClientError() bool
- func (o *BulkStatNodesUnauthorized) IsCode(code int) bool
- func (o *BulkStatNodesUnauthorized) IsRedirect() bool
- func (o *BulkStatNodesUnauthorized) IsServerError() bool
- func (o *BulkStatNodesUnauthorized) IsSuccess() bool
- func (o *BulkStatNodesUnauthorized) String() string
- 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
- func (o *CreateNodesForbidden) Code() int
- func (o *CreateNodesForbidden) Error() string
- func (o *CreateNodesForbidden) GetPayload() *models.RestError
- func (o *CreateNodesForbidden) IsClientError() bool
- func (o *CreateNodesForbidden) IsCode(code int) bool
- func (o *CreateNodesForbidden) IsRedirect() bool
- func (o *CreateNodesForbidden) IsServerError() bool
- func (o *CreateNodesForbidden) IsSuccess() bool
- func (o *CreateNodesForbidden) String() string
- type CreateNodesInternalServerError
- func (o *CreateNodesInternalServerError) Code() int
- func (o *CreateNodesInternalServerError) Error() string
- func (o *CreateNodesInternalServerError) GetPayload() *models.RestError
- func (o *CreateNodesInternalServerError) IsClientError() bool
- func (o *CreateNodesInternalServerError) IsCode(code int) bool
- func (o *CreateNodesInternalServerError) IsRedirect() bool
- func (o *CreateNodesInternalServerError) IsServerError() bool
- func (o *CreateNodesInternalServerError) IsSuccess() bool
- func (o *CreateNodesInternalServerError) String() string
- type CreateNodesNotFound
- func (o *CreateNodesNotFound) Code() int
- func (o *CreateNodesNotFound) Error() string
- func (o *CreateNodesNotFound) GetPayload() *models.RestError
- func (o *CreateNodesNotFound) IsClientError() bool
- func (o *CreateNodesNotFound) IsCode(code int) bool
- func (o *CreateNodesNotFound) IsRedirect() bool
- func (o *CreateNodesNotFound) IsServerError() bool
- func (o *CreateNodesNotFound) IsSuccess() bool
- func (o *CreateNodesNotFound) String() string
- type CreateNodesOK
- func (o *CreateNodesOK) Code() int
- func (o *CreateNodesOK) Error() string
- func (o *CreateNodesOK) GetPayload() *models.RestNodesCollection
- func (o *CreateNodesOK) IsClientError() bool
- func (o *CreateNodesOK) IsCode(code int) bool
- func (o *CreateNodesOK) IsRedirect() bool
- func (o *CreateNodesOK) IsServerError() bool
- func (o *CreateNodesOK) IsSuccess() bool
- func (o *CreateNodesOK) String() string
- 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
- func (o *CreateNodesUnauthorized) Code() int
- func (o *CreateNodesUnauthorized) Error() string
- func (o *CreateNodesUnauthorized) IsClientError() bool
- func (o *CreateNodesUnauthorized) IsCode(code int) bool
- func (o *CreateNodesUnauthorized) IsRedirect() bool
- func (o *CreateNodesUnauthorized) IsServerError() bool
- func (o *CreateNodesUnauthorized) IsSuccess() bool
- func (o *CreateNodesUnauthorized) String() string
- type CreateSelectionForbidden
- func (o *CreateSelectionForbidden) Code() int
- func (o *CreateSelectionForbidden) Error() string
- func (o *CreateSelectionForbidden) GetPayload() *models.RestError
- func (o *CreateSelectionForbidden) IsClientError() bool
- func (o *CreateSelectionForbidden) IsCode(code int) bool
- func (o *CreateSelectionForbidden) IsRedirect() bool
- func (o *CreateSelectionForbidden) IsServerError() bool
- func (o *CreateSelectionForbidden) IsSuccess() bool
- func (o *CreateSelectionForbidden) String() string
- type CreateSelectionInternalServerError
- func (o *CreateSelectionInternalServerError) Code() int
- func (o *CreateSelectionInternalServerError) Error() string
- func (o *CreateSelectionInternalServerError) GetPayload() *models.RestError
- func (o *CreateSelectionInternalServerError) IsClientError() bool
- func (o *CreateSelectionInternalServerError) IsCode(code int) bool
- func (o *CreateSelectionInternalServerError) IsRedirect() bool
- func (o *CreateSelectionInternalServerError) IsServerError() bool
- func (o *CreateSelectionInternalServerError) IsSuccess() bool
- func (o *CreateSelectionInternalServerError) String() string
- type CreateSelectionNotFound
- func (o *CreateSelectionNotFound) Code() int
- func (o *CreateSelectionNotFound) Error() string
- func (o *CreateSelectionNotFound) GetPayload() *models.RestError
- func (o *CreateSelectionNotFound) IsClientError() bool
- func (o *CreateSelectionNotFound) IsCode(code int) bool
- func (o *CreateSelectionNotFound) IsRedirect() bool
- func (o *CreateSelectionNotFound) IsServerError() bool
- func (o *CreateSelectionNotFound) IsSuccess() bool
- func (o *CreateSelectionNotFound) String() string
- type CreateSelectionOK
- func (o *CreateSelectionOK) Code() int
- func (o *CreateSelectionOK) Error() string
- func (o *CreateSelectionOK) GetPayload() *models.RestCreateSelectionResponse
- func (o *CreateSelectionOK) IsClientError() bool
- func (o *CreateSelectionOK) IsCode(code int) bool
- func (o *CreateSelectionOK) IsRedirect() bool
- func (o *CreateSelectionOK) IsServerError() bool
- func (o *CreateSelectionOK) IsSuccess() bool
- func (o *CreateSelectionOK) String() string
- 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
- func (o *CreateSelectionUnauthorized) Code() int
- func (o *CreateSelectionUnauthorized) Error() string
- func (o *CreateSelectionUnauthorized) IsClientError() bool
- func (o *CreateSelectionUnauthorized) IsCode(code int) bool
- func (o *CreateSelectionUnauthorized) IsRedirect() bool
- func (o *CreateSelectionUnauthorized) IsServerError() bool
- func (o *CreateSelectionUnauthorized) IsSuccess() bool
- func (o *CreateSelectionUnauthorized) String() string
- type DeleteNodesForbidden
- func (o *DeleteNodesForbidden) Code() int
- func (o *DeleteNodesForbidden) Error() string
- func (o *DeleteNodesForbidden) GetPayload() *models.RestError
- func (o *DeleteNodesForbidden) IsClientError() bool
- func (o *DeleteNodesForbidden) IsCode(code int) bool
- func (o *DeleteNodesForbidden) IsRedirect() bool
- func (o *DeleteNodesForbidden) IsServerError() bool
- func (o *DeleteNodesForbidden) IsSuccess() bool
- func (o *DeleteNodesForbidden) String() string
- type DeleteNodesInternalServerError
- func (o *DeleteNodesInternalServerError) Code() int
- func (o *DeleteNodesInternalServerError) Error() string
- func (o *DeleteNodesInternalServerError) GetPayload() *models.RestError
- func (o *DeleteNodesInternalServerError) IsClientError() bool
- func (o *DeleteNodesInternalServerError) IsCode(code int) bool
- func (o *DeleteNodesInternalServerError) IsRedirect() bool
- func (o *DeleteNodesInternalServerError) IsServerError() bool
- func (o *DeleteNodesInternalServerError) IsSuccess() bool
- func (o *DeleteNodesInternalServerError) String() string
- type DeleteNodesNotFound
- func (o *DeleteNodesNotFound) Code() int
- func (o *DeleteNodesNotFound) Error() string
- func (o *DeleteNodesNotFound) GetPayload() *models.RestError
- func (o *DeleteNodesNotFound) IsClientError() bool
- func (o *DeleteNodesNotFound) IsCode(code int) bool
- func (o *DeleteNodesNotFound) IsRedirect() bool
- func (o *DeleteNodesNotFound) IsServerError() bool
- func (o *DeleteNodesNotFound) IsSuccess() bool
- func (o *DeleteNodesNotFound) String() string
- type DeleteNodesOK
- func (o *DeleteNodesOK) Code() int
- func (o *DeleteNodesOK) Error() string
- func (o *DeleteNodesOK) GetPayload() *models.RestDeleteNodesResponse
- func (o *DeleteNodesOK) IsClientError() bool
- func (o *DeleteNodesOK) IsCode(code int) bool
- func (o *DeleteNodesOK) IsRedirect() bool
- func (o *DeleteNodesOK) IsServerError() bool
- func (o *DeleteNodesOK) IsSuccess() bool
- func (o *DeleteNodesOK) String() string
- 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
- func (o *DeleteNodesUnauthorized) Code() int
- func (o *DeleteNodesUnauthorized) Error() string
- func (o *DeleteNodesUnauthorized) IsClientError() bool
- func (o *DeleteNodesUnauthorized) IsCode(code int) bool
- func (o *DeleteNodesUnauthorized) IsRedirect() bool
- func (o *DeleteNodesUnauthorized) IsServerError() bool
- func (o *DeleteNodesUnauthorized) IsSuccess() bool
- func (o *DeleteNodesUnauthorized) String() string
- type HeadNodeForbidden
- func (o *HeadNodeForbidden) Code() int
- func (o *HeadNodeForbidden) Error() string
- func (o *HeadNodeForbidden) GetPayload() *models.RestError
- func (o *HeadNodeForbidden) IsClientError() bool
- func (o *HeadNodeForbidden) IsCode(code int) bool
- func (o *HeadNodeForbidden) IsRedirect() bool
- func (o *HeadNodeForbidden) IsServerError() bool
- func (o *HeadNodeForbidden) IsSuccess() bool
- func (o *HeadNodeForbidden) String() string
- type HeadNodeInternalServerError
- func (o *HeadNodeInternalServerError) Code() int
- func (o *HeadNodeInternalServerError) Error() string
- func (o *HeadNodeInternalServerError) GetPayload() *models.RestError
- func (o *HeadNodeInternalServerError) IsClientError() bool
- func (o *HeadNodeInternalServerError) IsCode(code int) bool
- func (o *HeadNodeInternalServerError) IsRedirect() bool
- func (o *HeadNodeInternalServerError) IsServerError() bool
- func (o *HeadNodeInternalServerError) IsSuccess() bool
- func (o *HeadNodeInternalServerError) String() string
- type HeadNodeNotFound
- func (o *HeadNodeNotFound) Code() int
- func (o *HeadNodeNotFound) Error() string
- func (o *HeadNodeNotFound) GetPayload() *models.RestError
- func (o *HeadNodeNotFound) IsClientError() bool
- func (o *HeadNodeNotFound) IsCode(code int) bool
- func (o *HeadNodeNotFound) IsRedirect() bool
- func (o *HeadNodeNotFound) IsServerError() bool
- func (o *HeadNodeNotFound) IsSuccess() bool
- func (o *HeadNodeNotFound) String() string
- type HeadNodeOK
- func (o *HeadNodeOK) Code() int
- func (o *HeadNodeOK) Error() string
- func (o *HeadNodeOK) GetPayload() *models.RestHeadNodeResponse
- func (o *HeadNodeOK) IsClientError() bool
- func (o *HeadNodeOK) IsCode(code int) bool
- func (o *HeadNodeOK) IsRedirect() bool
- func (o *HeadNodeOK) IsServerError() bool
- func (o *HeadNodeOK) IsSuccess() bool
- func (o *HeadNodeOK) String() string
- 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
- func (o *HeadNodeUnauthorized) Code() int
- func (o *HeadNodeUnauthorized) Error() string
- func (o *HeadNodeUnauthorized) IsClientError() bool
- func (o *HeadNodeUnauthorized) IsCode(code int) bool
- func (o *HeadNodeUnauthorized) IsRedirect() bool
- func (o *HeadNodeUnauthorized) IsServerError() bool
- func (o *HeadNodeUnauthorized) IsSuccess() bool
- func (o *HeadNodeUnauthorized) String() string
- type RestoreNodesForbidden
- func (o *RestoreNodesForbidden) Code() int
- func (o *RestoreNodesForbidden) Error() string
- func (o *RestoreNodesForbidden) GetPayload() *models.RestError
- func (o *RestoreNodesForbidden) IsClientError() bool
- func (o *RestoreNodesForbidden) IsCode(code int) bool
- func (o *RestoreNodesForbidden) IsRedirect() bool
- func (o *RestoreNodesForbidden) IsServerError() bool
- func (o *RestoreNodesForbidden) IsSuccess() bool
- func (o *RestoreNodesForbidden) String() string
- type RestoreNodesInternalServerError
- func (o *RestoreNodesInternalServerError) Code() int
- func (o *RestoreNodesInternalServerError) Error() string
- func (o *RestoreNodesInternalServerError) GetPayload() *models.RestError
- func (o *RestoreNodesInternalServerError) IsClientError() bool
- func (o *RestoreNodesInternalServerError) IsCode(code int) bool
- func (o *RestoreNodesInternalServerError) IsRedirect() bool
- func (o *RestoreNodesInternalServerError) IsServerError() bool
- func (o *RestoreNodesInternalServerError) IsSuccess() bool
- func (o *RestoreNodesInternalServerError) String() string
- type RestoreNodesNotFound
- func (o *RestoreNodesNotFound) Code() int
- func (o *RestoreNodesNotFound) Error() string
- func (o *RestoreNodesNotFound) GetPayload() *models.RestError
- func (o *RestoreNodesNotFound) IsClientError() bool
- func (o *RestoreNodesNotFound) IsCode(code int) bool
- func (o *RestoreNodesNotFound) IsRedirect() bool
- func (o *RestoreNodesNotFound) IsServerError() bool
- func (o *RestoreNodesNotFound) IsSuccess() bool
- func (o *RestoreNodesNotFound) String() string
- type RestoreNodesOK
- func (o *RestoreNodesOK) Code() int
- func (o *RestoreNodesOK) Error() string
- func (o *RestoreNodesOK) GetPayload() *models.RestRestoreNodesResponse
- func (o *RestoreNodesOK) IsClientError() bool
- func (o *RestoreNodesOK) IsCode(code int) bool
- func (o *RestoreNodesOK) IsRedirect() bool
- func (o *RestoreNodesOK) IsServerError() bool
- func (o *RestoreNodesOK) IsSuccess() bool
- func (o *RestoreNodesOK) String() string
- 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
- func (o *RestoreNodesUnauthorized) Code() int
- func (o *RestoreNodesUnauthorized) Error() string
- func (o *RestoreNodesUnauthorized) IsClientError() bool
- func (o *RestoreNodesUnauthorized) IsCode(code int) bool
- func (o *RestoreNodesUnauthorized) IsRedirect() bool
- func (o *RestoreNodesUnauthorized) IsServerError() bool
- func (o *RestoreNodesUnauthorized) IsSuccess() bool
- func (o *RestoreNodesUnauthorized) String() string
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) Code ¶
func (o *BulkStatNodesForbidden) Code() int
Code gets the status code for the bulk stat nodes forbidden response
func (*BulkStatNodesForbidden) Error ¶
func (o *BulkStatNodesForbidden) Error() string
func (*BulkStatNodesForbidden) GetPayload ¶
func (o *BulkStatNodesForbidden) GetPayload() *models.RestError
func (*BulkStatNodesForbidden) IsClientError ¶
func (o *BulkStatNodesForbidden) IsClientError() bool
IsClientError returns true when this bulk stat nodes forbidden response has a 4xx status code
func (*BulkStatNodesForbidden) IsCode ¶
func (o *BulkStatNodesForbidden) IsCode(code int) bool
IsCode returns true when this bulk stat nodes forbidden response a status code equal to that given
func (*BulkStatNodesForbidden) IsRedirect ¶
func (o *BulkStatNodesForbidden) IsRedirect() bool
IsRedirect returns true when this bulk stat nodes forbidden response has a 3xx status code
func (*BulkStatNodesForbidden) IsServerError ¶
func (o *BulkStatNodesForbidden) IsServerError() bool
IsServerError returns true when this bulk stat nodes forbidden response has a 5xx status code
func (*BulkStatNodesForbidden) IsSuccess ¶
func (o *BulkStatNodesForbidden) IsSuccess() bool
IsSuccess returns true when this bulk stat nodes forbidden response has a 2xx status code
func (*BulkStatNodesForbidden) String ¶
func (o *BulkStatNodesForbidden) String() string
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) Code ¶
func (o *BulkStatNodesInternalServerError) Code() int
Code gets the status code for the bulk stat nodes internal server error response
func (*BulkStatNodesInternalServerError) Error ¶
func (o *BulkStatNodesInternalServerError) Error() string
func (*BulkStatNodesInternalServerError) GetPayload ¶
func (o *BulkStatNodesInternalServerError) GetPayload() *models.RestError
func (*BulkStatNodesInternalServerError) IsClientError ¶
func (o *BulkStatNodesInternalServerError) IsClientError() bool
IsClientError returns true when this bulk stat nodes internal server error response has a 4xx status code
func (*BulkStatNodesInternalServerError) IsCode ¶
func (o *BulkStatNodesInternalServerError) IsCode(code int) bool
IsCode returns true when this bulk stat nodes internal server error response a status code equal to that given
func (*BulkStatNodesInternalServerError) IsRedirect ¶
func (o *BulkStatNodesInternalServerError) IsRedirect() bool
IsRedirect returns true when this bulk stat nodes internal server error response has a 3xx status code
func (*BulkStatNodesInternalServerError) IsServerError ¶
func (o *BulkStatNodesInternalServerError) IsServerError() bool
IsServerError returns true when this bulk stat nodes internal server error response has a 5xx status code
func (*BulkStatNodesInternalServerError) IsSuccess ¶
func (o *BulkStatNodesInternalServerError) IsSuccess() bool
IsSuccess returns true when this bulk stat nodes internal server error response has a 2xx status code
func (*BulkStatNodesInternalServerError) String ¶
func (o *BulkStatNodesInternalServerError) String() string
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) Code ¶
func (o *BulkStatNodesNotFound) Code() int
Code gets the status code for the bulk stat nodes not found response
func (*BulkStatNodesNotFound) Error ¶
func (o *BulkStatNodesNotFound) Error() string
func (*BulkStatNodesNotFound) GetPayload ¶
func (o *BulkStatNodesNotFound) GetPayload() *models.RestError
func (*BulkStatNodesNotFound) IsClientError ¶
func (o *BulkStatNodesNotFound) IsClientError() bool
IsClientError returns true when this bulk stat nodes not found response has a 4xx status code
func (*BulkStatNodesNotFound) IsCode ¶
func (o *BulkStatNodesNotFound) IsCode(code int) bool
IsCode returns true when this bulk stat nodes not found response a status code equal to that given
func (*BulkStatNodesNotFound) IsRedirect ¶
func (o *BulkStatNodesNotFound) IsRedirect() bool
IsRedirect returns true when this bulk stat nodes not found response has a 3xx status code
func (*BulkStatNodesNotFound) IsServerError ¶
func (o *BulkStatNodesNotFound) IsServerError() bool
IsServerError returns true when this bulk stat nodes not found response has a 5xx status code
func (*BulkStatNodesNotFound) IsSuccess ¶
func (o *BulkStatNodesNotFound) IsSuccess() bool
IsSuccess returns true when this bulk stat nodes not found response has a 2xx status code
func (*BulkStatNodesNotFound) String ¶
func (o *BulkStatNodesNotFound) String() string
type BulkStatNodesOK ¶
type BulkStatNodesOK struct {
Payload *models.RestBulkMetaResponse
}
BulkStatNodesOK describes a response with status code 200, with default header values.
A successful response.
func NewBulkStatNodesOK ¶
func NewBulkStatNodesOK() *BulkStatNodesOK
NewBulkStatNodesOK creates a BulkStatNodesOK with default headers values
func (*BulkStatNodesOK) Code ¶
func (o *BulkStatNodesOK) Code() int
Code gets the status code for the bulk stat nodes o k response
func (*BulkStatNodesOK) Error ¶
func (o *BulkStatNodesOK) Error() string
func (*BulkStatNodesOK) GetPayload ¶
func (o *BulkStatNodesOK) GetPayload() *models.RestBulkMetaResponse
func (*BulkStatNodesOK) IsClientError ¶
func (o *BulkStatNodesOK) IsClientError() bool
IsClientError returns true when this bulk stat nodes o k response has a 4xx status code
func (*BulkStatNodesOK) IsCode ¶
func (o *BulkStatNodesOK) IsCode(code int) bool
IsCode returns true when this bulk stat nodes o k response a status code equal to that given
func (*BulkStatNodesOK) IsRedirect ¶
func (o *BulkStatNodesOK) IsRedirect() bool
IsRedirect returns true when this bulk stat nodes o k response has a 3xx status code
func (*BulkStatNodesOK) IsServerError ¶
func (o *BulkStatNodesOK) IsServerError() bool
IsServerError returns true when this bulk stat nodes o k response has a 5xx status code
func (*BulkStatNodesOK) IsSuccess ¶
func (o *BulkStatNodesOK) IsSuccess() bool
IsSuccess returns true when this bulk stat nodes o k response has a 2xx status code
func (*BulkStatNodesOK) String ¶
func (o *BulkStatNodesOK) String() 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 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) Code ¶
func (o *BulkStatNodesUnauthorized) Code() int
Code gets the status code for the bulk stat nodes unauthorized response
func (*BulkStatNodesUnauthorized) Error ¶
func (o *BulkStatNodesUnauthorized) Error() string
func (*BulkStatNodesUnauthorized) IsClientError ¶
func (o *BulkStatNodesUnauthorized) IsClientError() bool
IsClientError returns true when this bulk stat nodes unauthorized response has a 4xx status code
func (*BulkStatNodesUnauthorized) IsCode ¶
func (o *BulkStatNodesUnauthorized) IsCode(code int) bool
IsCode returns true when this bulk stat nodes unauthorized response a status code equal to that given
func (*BulkStatNodesUnauthorized) IsRedirect ¶
func (o *BulkStatNodesUnauthorized) IsRedirect() bool
IsRedirect returns true when this bulk stat nodes unauthorized response has a 3xx status code
func (*BulkStatNodesUnauthorized) IsServerError ¶
func (o *BulkStatNodesUnauthorized) IsServerError() bool
IsServerError returns true when this bulk stat nodes unauthorized response has a 5xx status code
func (*BulkStatNodesUnauthorized) IsSuccess ¶
func (o *BulkStatNodesUnauthorized) IsSuccess() bool
IsSuccess returns true when this bulk stat nodes unauthorized response has a 2xx status code
func (*BulkStatNodesUnauthorized) String ¶
func (o *BulkStatNodesUnauthorized) String() 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) Code ¶
func (o *CreateNodesForbidden) Code() int
Code gets the status code for the create nodes forbidden response
func (*CreateNodesForbidden) Error ¶
func (o *CreateNodesForbidden) Error() string
func (*CreateNodesForbidden) GetPayload ¶
func (o *CreateNodesForbidden) GetPayload() *models.RestError
func (*CreateNodesForbidden) IsClientError ¶
func (o *CreateNodesForbidden) IsClientError() bool
IsClientError returns true when this create nodes forbidden response has a 4xx status code
func (*CreateNodesForbidden) IsCode ¶
func (o *CreateNodesForbidden) IsCode(code int) bool
IsCode returns true when this create nodes forbidden response a status code equal to that given
func (*CreateNodesForbidden) IsRedirect ¶
func (o *CreateNodesForbidden) IsRedirect() bool
IsRedirect returns true when this create nodes forbidden response has a 3xx status code
func (*CreateNodesForbidden) IsServerError ¶
func (o *CreateNodesForbidden) IsServerError() bool
IsServerError returns true when this create nodes forbidden response has a 5xx status code
func (*CreateNodesForbidden) IsSuccess ¶
func (o *CreateNodesForbidden) IsSuccess() bool
IsSuccess returns true when this create nodes forbidden response has a 2xx status code
func (*CreateNodesForbidden) String ¶
func (o *CreateNodesForbidden) String() string
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) Code ¶
func (o *CreateNodesInternalServerError) Code() int
Code gets the status code for the create nodes internal server error response
func (*CreateNodesInternalServerError) Error ¶
func (o *CreateNodesInternalServerError) Error() string
func (*CreateNodesInternalServerError) GetPayload ¶
func (o *CreateNodesInternalServerError) GetPayload() *models.RestError
func (*CreateNodesInternalServerError) IsClientError ¶
func (o *CreateNodesInternalServerError) IsClientError() bool
IsClientError returns true when this create nodes internal server error response has a 4xx status code
func (*CreateNodesInternalServerError) IsCode ¶
func (o *CreateNodesInternalServerError) IsCode(code int) bool
IsCode returns true when this create nodes internal server error response a status code equal to that given
func (*CreateNodesInternalServerError) IsRedirect ¶
func (o *CreateNodesInternalServerError) IsRedirect() bool
IsRedirect returns true when this create nodes internal server error response has a 3xx status code
func (*CreateNodesInternalServerError) IsServerError ¶
func (o *CreateNodesInternalServerError) IsServerError() bool
IsServerError returns true when this create nodes internal server error response has a 5xx status code
func (*CreateNodesInternalServerError) IsSuccess ¶
func (o *CreateNodesInternalServerError) IsSuccess() bool
IsSuccess returns true when this create nodes internal server error response has a 2xx status code
func (*CreateNodesInternalServerError) String ¶
func (o *CreateNodesInternalServerError) String() string
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) Code ¶
func (o *CreateNodesNotFound) Code() int
Code gets the status code for the create nodes not found response
func (*CreateNodesNotFound) Error ¶
func (o *CreateNodesNotFound) Error() string
func (*CreateNodesNotFound) GetPayload ¶
func (o *CreateNodesNotFound) GetPayload() *models.RestError
func (*CreateNodesNotFound) IsClientError ¶
func (o *CreateNodesNotFound) IsClientError() bool
IsClientError returns true when this create nodes not found response has a 4xx status code
func (*CreateNodesNotFound) IsCode ¶
func (o *CreateNodesNotFound) IsCode(code int) bool
IsCode returns true when this create nodes not found response a status code equal to that given
func (*CreateNodesNotFound) IsRedirect ¶
func (o *CreateNodesNotFound) IsRedirect() bool
IsRedirect returns true when this create nodes not found response has a 3xx status code
func (*CreateNodesNotFound) IsServerError ¶
func (o *CreateNodesNotFound) IsServerError() bool
IsServerError returns true when this create nodes not found response has a 5xx status code
func (*CreateNodesNotFound) IsSuccess ¶
func (o *CreateNodesNotFound) IsSuccess() bool
IsSuccess returns true when this create nodes not found response has a 2xx status code
func (*CreateNodesNotFound) String ¶
func (o *CreateNodesNotFound) String() string
type CreateNodesOK ¶
type CreateNodesOK struct {
Payload *models.RestNodesCollection
}
CreateNodesOK describes a response with status code 200, with default header values.
A successful response.
func NewCreateNodesOK ¶
func NewCreateNodesOK() *CreateNodesOK
NewCreateNodesOK creates a CreateNodesOK with default headers values
func (*CreateNodesOK) Code ¶
func (o *CreateNodesOK) Code() int
Code gets the status code for the create nodes o k response
func (*CreateNodesOK) Error ¶
func (o *CreateNodesOK) Error() string
func (*CreateNodesOK) GetPayload ¶
func (o *CreateNodesOK) GetPayload() *models.RestNodesCollection
func (*CreateNodesOK) IsClientError ¶
func (o *CreateNodesOK) IsClientError() bool
IsClientError returns true when this create nodes o k response has a 4xx status code
func (*CreateNodesOK) IsCode ¶
func (o *CreateNodesOK) IsCode(code int) bool
IsCode returns true when this create nodes o k response a status code equal to that given
func (*CreateNodesOK) IsRedirect ¶
func (o *CreateNodesOK) IsRedirect() bool
IsRedirect returns true when this create nodes o k response has a 3xx status code
func (*CreateNodesOK) IsServerError ¶
func (o *CreateNodesOK) IsServerError() bool
IsServerError returns true when this create nodes o k response has a 5xx status code
func (*CreateNodesOK) IsSuccess ¶
func (o *CreateNodesOK) IsSuccess() bool
IsSuccess returns true when this create nodes o k response has a 2xx status code
func (*CreateNodesOK) String ¶
func (o *CreateNodesOK) String() 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 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) Code ¶
func (o *CreateNodesUnauthorized) Code() int
Code gets the status code for the create nodes unauthorized response
func (*CreateNodesUnauthorized) Error ¶
func (o *CreateNodesUnauthorized) Error() string
func (*CreateNodesUnauthorized) IsClientError ¶
func (o *CreateNodesUnauthorized) IsClientError() bool
IsClientError returns true when this create nodes unauthorized response has a 4xx status code
func (*CreateNodesUnauthorized) IsCode ¶
func (o *CreateNodesUnauthorized) IsCode(code int) bool
IsCode returns true when this create nodes unauthorized response a status code equal to that given
func (*CreateNodesUnauthorized) IsRedirect ¶
func (o *CreateNodesUnauthorized) IsRedirect() bool
IsRedirect returns true when this create nodes unauthorized response has a 3xx status code
func (*CreateNodesUnauthorized) IsServerError ¶
func (o *CreateNodesUnauthorized) IsServerError() bool
IsServerError returns true when this create nodes unauthorized response has a 5xx status code
func (*CreateNodesUnauthorized) IsSuccess ¶
func (o *CreateNodesUnauthorized) IsSuccess() bool
IsSuccess returns true when this create nodes unauthorized response has a 2xx status code
func (*CreateNodesUnauthorized) String ¶
func (o *CreateNodesUnauthorized) String() 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) Code ¶
func (o *CreateSelectionForbidden) Code() int
Code gets the status code for the create selection forbidden response
func (*CreateSelectionForbidden) Error ¶
func (o *CreateSelectionForbidden) Error() string
func (*CreateSelectionForbidden) GetPayload ¶
func (o *CreateSelectionForbidden) GetPayload() *models.RestError
func (*CreateSelectionForbidden) IsClientError ¶
func (o *CreateSelectionForbidden) IsClientError() bool
IsClientError returns true when this create selection forbidden response has a 4xx status code
func (*CreateSelectionForbidden) IsCode ¶
func (o *CreateSelectionForbidden) IsCode(code int) bool
IsCode returns true when this create selection forbidden response a status code equal to that given
func (*CreateSelectionForbidden) IsRedirect ¶
func (o *CreateSelectionForbidden) IsRedirect() bool
IsRedirect returns true when this create selection forbidden response has a 3xx status code
func (*CreateSelectionForbidden) IsServerError ¶
func (o *CreateSelectionForbidden) IsServerError() bool
IsServerError returns true when this create selection forbidden response has a 5xx status code
func (*CreateSelectionForbidden) IsSuccess ¶
func (o *CreateSelectionForbidden) IsSuccess() bool
IsSuccess returns true when this create selection forbidden response has a 2xx status code
func (*CreateSelectionForbidden) String ¶
func (o *CreateSelectionForbidden) String() string
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) Code ¶
func (o *CreateSelectionInternalServerError) Code() int
Code gets the status code for the create selection internal server error response
func (*CreateSelectionInternalServerError) Error ¶
func (o *CreateSelectionInternalServerError) Error() string
func (*CreateSelectionInternalServerError) GetPayload ¶
func (o *CreateSelectionInternalServerError) GetPayload() *models.RestError
func (*CreateSelectionInternalServerError) IsClientError ¶
func (o *CreateSelectionInternalServerError) IsClientError() bool
IsClientError returns true when this create selection internal server error response has a 4xx status code
func (*CreateSelectionInternalServerError) IsCode ¶
func (o *CreateSelectionInternalServerError) IsCode(code int) bool
IsCode returns true when this create selection internal server error response a status code equal to that given
func (*CreateSelectionInternalServerError) IsRedirect ¶
func (o *CreateSelectionInternalServerError) IsRedirect() bool
IsRedirect returns true when this create selection internal server error response has a 3xx status code
func (*CreateSelectionInternalServerError) IsServerError ¶
func (o *CreateSelectionInternalServerError) IsServerError() bool
IsServerError returns true when this create selection internal server error response has a 5xx status code
func (*CreateSelectionInternalServerError) IsSuccess ¶
func (o *CreateSelectionInternalServerError) IsSuccess() bool
IsSuccess returns true when this create selection internal server error response has a 2xx status code
func (*CreateSelectionInternalServerError) String ¶
func (o *CreateSelectionInternalServerError) String() string
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) Code ¶
func (o *CreateSelectionNotFound) Code() int
Code gets the status code for the create selection not found response
func (*CreateSelectionNotFound) Error ¶
func (o *CreateSelectionNotFound) Error() string
func (*CreateSelectionNotFound) GetPayload ¶
func (o *CreateSelectionNotFound) GetPayload() *models.RestError
func (*CreateSelectionNotFound) IsClientError ¶
func (o *CreateSelectionNotFound) IsClientError() bool
IsClientError returns true when this create selection not found response has a 4xx status code
func (*CreateSelectionNotFound) IsCode ¶
func (o *CreateSelectionNotFound) IsCode(code int) bool
IsCode returns true when this create selection not found response a status code equal to that given
func (*CreateSelectionNotFound) IsRedirect ¶
func (o *CreateSelectionNotFound) IsRedirect() bool
IsRedirect returns true when this create selection not found response has a 3xx status code
func (*CreateSelectionNotFound) IsServerError ¶
func (o *CreateSelectionNotFound) IsServerError() bool
IsServerError returns true when this create selection not found response has a 5xx status code
func (*CreateSelectionNotFound) IsSuccess ¶
func (o *CreateSelectionNotFound) IsSuccess() bool
IsSuccess returns true when this create selection not found response has a 2xx status code
func (*CreateSelectionNotFound) String ¶
func (o *CreateSelectionNotFound) String() string
type CreateSelectionOK ¶
type CreateSelectionOK struct {
Payload *models.RestCreateSelectionResponse
}
CreateSelectionOK describes a response with status code 200, with default header values.
A successful response.
func NewCreateSelectionOK ¶
func NewCreateSelectionOK() *CreateSelectionOK
NewCreateSelectionOK creates a CreateSelectionOK with default headers values
func (*CreateSelectionOK) Code ¶
func (o *CreateSelectionOK) Code() int
Code gets the status code for the create selection o k response
func (*CreateSelectionOK) Error ¶
func (o *CreateSelectionOK) Error() string
func (*CreateSelectionOK) GetPayload ¶
func (o *CreateSelectionOK) GetPayload() *models.RestCreateSelectionResponse
func (*CreateSelectionOK) IsClientError ¶
func (o *CreateSelectionOK) IsClientError() bool
IsClientError returns true when this create selection o k response has a 4xx status code
func (*CreateSelectionOK) IsCode ¶
func (o *CreateSelectionOK) IsCode(code int) bool
IsCode returns true when this create selection o k response a status code equal to that given
func (*CreateSelectionOK) IsRedirect ¶
func (o *CreateSelectionOK) IsRedirect() bool
IsRedirect returns true when this create selection o k response has a 3xx status code
func (*CreateSelectionOK) IsServerError ¶
func (o *CreateSelectionOK) IsServerError() bool
IsServerError returns true when this create selection o k response has a 5xx status code
func (*CreateSelectionOK) IsSuccess ¶
func (o *CreateSelectionOK) IsSuccess() bool
IsSuccess returns true when this create selection o k response has a 2xx status code
func (*CreateSelectionOK) String ¶
func (o *CreateSelectionOK) String() 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 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) Code ¶
func (o *CreateSelectionUnauthorized) Code() int
Code gets the status code for the create selection unauthorized response
func (*CreateSelectionUnauthorized) Error ¶
func (o *CreateSelectionUnauthorized) Error() string
func (*CreateSelectionUnauthorized) IsClientError ¶
func (o *CreateSelectionUnauthorized) IsClientError() bool
IsClientError returns true when this create selection unauthorized response has a 4xx status code
func (*CreateSelectionUnauthorized) IsCode ¶
func (o *CreateSelectionUnauthorized) IsCode(code int) bool
IsCode returns true when this create selection unauthorized response a status code equal to that given
func (*CreateSelectionUnauthorized) IsRedirect ¶
func (o *CreateSelectionUnauthorized) IsRedirect() bool
IsRedirect returns true when this create selection unauthorized response has a 3xx status code
func (*CreateSelectionUnauthorized) IsServerError ¶
func (o *CreateSelectionUnauthorized) IsServerError() bool
IsServerError returns true when this create selection unauthorized response has a 5xx status code
func (*CreateSelectionUnauthorized) IsSuccess ¶
func (o *CreateSelectionUnauthorized) IsSuccess() bool
IsSuccess returns true when this create selection unauthorized response has a 2xx status code
func (*CreateSelectionUnauthorized) String ¶
func (o *CreateSelectionUnauthorized) String() 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) Code ¶
func (o *DeleteNodesForbidden) Code() int
Code gets the status code for the delete nodes forbidden response
func (*DeleteNodesForbidden) Error ¶
func (o *DeleteNodesForbidden) Error() string
func (*DeleteNodesForbidden) GetPayload ¶
func (o *DeleteNodesForbidden) GetPayload() *models.RestError
func (*DeleteNodesForbidden) IsClientError ¶
func (o *DeleteNodesForbidden) IsClientError() bool
IsClientError returns true when this delete nodes forbidden response has a 4xx status code
func (*DeleteNodesForbidden) IsCode ¶
func (o *DeleteNodesForbidden) IsCode(code int) bool
IsCode returns true when this delete nodes forbidden response a status code equal to that given
func (*DeleteNodesForbidden) IsRedirect ¶
func (o *DeleteNodesForbidden) IsRedirect() bool
IsRedirect returns true when this delete nodes forbidden response has a 3xx status code
func (*DeleteNodesForbidden) IsServerError ¶
func (o *DeleteNodesForbidden) IsServerError() bool
IsServerError returns true when this delete nodes forbidden response has a 5xx status code
func (*DeleteNodesForbidden) IsSuccess ¶
func (o *DeleteNodesForbidden) IsSuccess() bool
IsSuccess returns true when this delete nodes forbidden response has a 2xx status code
func (*DeleteNodesForbidden) String ¶
func (o *DeleteNodesForbidden) String() string
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) Code ¶
func (o *DeleteNodesInternalServerError) Code() int
Code gets the status code for the delete nodes internal server error response
func (*DeleteNodesInternalServerError) Error ¶
func (o *DeleteNodesInternalServerError) Error() string
func (*DeleteNodesInternalServerError) GetPayload ¶
func (o *DeleteNodesInternalServerError) GetPayload() *models.RestError
func (*DeleteNodesInternalServerError) IsClientError ¶
func (o *DeleteNodesInternalServerError) IsClientError() bool
IsClientError returns true when this delete nodes internal server error response has a 4xx status code
func (*DeleteNodesInternalServerError) IsCode ¶
func (o *DeleteNodesInternalServerError) IsCode(code int) bool
IsCode returns true when this delete nodes internal server error response a status code equal to that given
func (*DeleteNodesInternalServerError) IsRedirect ¶
func (o *DeleteNodesInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete nodes internal server error response has a 3xx status code
func (*DeleteNodesInternalServerError) IsServerError ¶
func (o *DeleteNodesInternalServerError) IsServerError() bool
IsServerError returns true when this delete nodes internal server error response has a 5xx status code
func (*DeleteNodesInternalServerError) IsSuccess ¶
func (o *DeleteNodesInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete nodes internal server error response has a 2xx status code
func (*DeleteNodesInternalServerError) String ¶
func (o *DeleteNodesInternalServerError) String() string
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) Code ¶
func (o *DeleteNodesNotFound) Code() int
Code gets the status code for the delete nodes not found response
func (*DeleteNodesNotFound) Error ¶
func (o *DeleteNodesNotFound) Error() string
func (*DeleteNodesNotFound) GetPayload ¶
func (o *DeleteNodesNotFound) GetPayload() *models.RestError
func (*DeleteNodesNotFound) IsClientError ¶
func (o *DeleteNodesNotFound) IsClientError() bool
IsClientError returns true when this delete nodes not found response has a 4xx status code
func (*DeleteNodesNotFound) IsCode ¶
func (o *DeleteNodesNotFound) IsCode(code int) bool
IsCode returns true when this delete nodes not found response a status code equal to that given
func (*DeleteNodesNotFound) IsRedirect ¶
func (o *DeleteNodesNotFound) IsRedirect() bool
IsRedirect returns true when this delete nodes not found response has a 3xx status code
func (*DeleteNodesNotFound) IsServerError ¶
func (o *DeleteNodesNotFound) IsServerError() bool
IsServerError returns true when this delete nodes not found response has a 5xx status code
func (*DeleteNodesNotFound) IsSuccess ¶
func (o *DeleteNodesNotFound) IsSuccess() bool
IsSuccess returns true when this delete nodes not found response has a 2xx status code
func (*DeleteNodesNotFound) String ¶
func (o *DeleteNodesNotFound) String() string
type DeleteNodesOK ¶
type DeleteNodesOK struct {
Payload *models.RestDeleteNodesResponse
}
DeleteNodesOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteNodesOK ¶
func NewDeleteNodesOK() *DeleteNodesOK
NewDeleteNodesOK creates a DeleteNodesOK with default headers values
func (*DeleteNodesOK) Code ¶
func (o *DeleteNodesOK) Code() int
Code gets the status code for the delete nodes o k response
func (*DeleteNodesOK) Error ¶
func (o *DeleteNodesOK) Error() string
func (*DeleteNodesOK) GetPayload ¶
func (o *DeleteNodesOK) GetPayload() *models.RestDeleteNodesResponse
func (*DeleteNodesOK) IsClientError ¶
func (o *DeleteNodesOK) IsClientError() bool
IsClientError returns true when this delete nodes o k response has a 4xx status code
func (*DeleteNodesOK) IsCode ¶
func (o *DeleteNodesOK) IsCode(code int) bool
IsCode returns true when this delete nodes o k response a status code equal to that given
func (*DeleteNodesOK) IsRedirect ¶
func (o *DeleteNodesOK) IsRedirect() bool
IsRedirect returns true when this delete nodes o k response has a 3xx status code
func (*DeleteNodesOK) IsServerError ¶
func (o *DeleteNodesOK) IsServerError() bool
IsServerError returns true when this delete nodes o k response has a 5xx status code
func (*DeleteNodesOK) IsSuccess ¶
func (o *DeleteNodesOK) IsSuccess() bool
IsSuccess returns true when this delete nodes o k response has a 2xx status code
func (*DeleteNodesOK) String ¶
func (o *DeleteNodesOK) String() 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 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) Code ¶
func (o *DeleteNodesUnauthorized) Code() int
Code gets the status code for the delete nodes unauthorized response
func (*DeleteNodesUnauthorized) Error ¶
func (o *DeleteNodesUnauthorized) Error() string
func (*DeleteNodesUnauthorized) IsClientError ¶
func (o *DeleteNodesUnauthorized) IsClientError() bool
IsClientError returns true when this delete nodes unauthorized response has a 4xx status code
func (*DeleteNodesUnauthorized) IsCode ¶
func (o *DeleteNodesUnauthorized) IsCode(code int) bool
IsCode returns true when this delete nodes unauthorized response a status code equal to that given
func (*DeleteNodesUnauthorized) IsRedirect ¶
func (o *DeleteNodesUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete nodes unauthorized response has a 3xx status code
func (*DeleteNodesUnauthorized) IsServerError ¶
func (o *DeleteNodesUnauthorized) IsServerError() bool
IsServerError returns true when this delete nodes unauthorized response has a 5xx status code
func (*DeleteNodesUnauthorized) IsSuccess ¶
func (o *DeleteNodesUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete nodes unauthorized response has a 2xx status code
func (*DeleteNodesUnauthorized) String ¶
func (o *DeleteNodesUnauthorized) String() 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) Code ¶
func (o *HeadNodeForbidden) Code() int
Code gets the status code for the head node forbidden response
func (*HeadNodeForbidden) Error ¶
func (o *HeadNodeForbidden) Error() string
func (*HeadNodeForbidden) GetPayload ¶
func (o *HeadNodeForbidden) GetPayload() *models.RestError
func (*HeadNodeForbidden) IsClientError ¶
func (o *HeadNodeForbidden) IsClientError() bool
IsClientError returns true when this head node forbidden response has a 4xx status code
func (*HeadNodeForbidden) IsCode ¶
func (o *HeadNodeForbidden) IsCode(code int) bool
IsCode returns true when this head node forbidden response a status code equal to that given
func (*HeadNodeForbidden) IsRedirect ¶
func (o *HeadNodeForbidden) IsRedirect() bool
IsRedirect returns true when this head node forbidden response has a 3xx status code
func (*HeadNodeForbidden) IsServerError ¶
func (o *HeadNodeForbidden) IsServerError() bool
IsServerError returns true when this head node forbidden response has a 5xx status code
func (*HeadNodeForbidden) IsSuccess ¶
func (o *HeadNodeForbidden) IsSuccess() bool
IsSuccess returns true when this head node forbidden response has a 2xx status code
func (*HeadNodeForbidden) String ¶
func (o *HeadNodeForbidden) String() string
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) Code ¶
func (o *HeadNodeInternalServerError) Code() int
Code gets the status code for the head node internal server error response
func (*HeadNodeInternalServerError) Error ¶
func (o *HeadNodeInternalServerError) Error() string
func (*HeadNodeInternalServerError) GetPayload ¶
func (o *HeadNodeInternalServerError) GetPayload() *models.RestError
func (*HeadNodeInternalServerError) IsClientError ¶
func (o *HeadNodeInternalServerError) IsClientError() bool
IsClientError returns true when this head node internal server error response has a 4xx status code
func (*HeadNodeInternalServerError) IsCode ¶
func (o *HeadNodeInternalServerError) IsCode(code int) bool
IsCode returns true when this head node internal server error response a status code equal to that given
func (*HeadNodeInternalServerError) IsRedirect ¶
func (o *HeadNodeInternalServerError) IsRedirect() bool
IsRedirect returns true when this head node internal server error response has a 3xx status code
func (*HeadNodeInternalServerError) IsServerError ¶
func (o *HeadNodeInternalServerError) IsServerError() bool
IsServerError returns true when this head node internal server error response has a 5xx status code
func (*HeadNodeInternalServerError) IsSuccess ¶
func (o *HeadNodeInternalServerError) IsSuccess() bool
IsSuccess returns true when this head node internal server error response has a 2xx status code
func (*HeadNodeInternalServerError) String ¶
func (o *HeadNodeInternalServerError) String() string
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) Code ¶
func (o *HeadNodeNotFound) Code() int
Code gets the status code for the head node not found response
func (*HeadNodeNotFound) Error ¶
func (o *HeadNodeNotFound) Error() string
func (*HeadNodeNotFound) GetPayload ¶
func (o *HeadNodeNotFound) GetPayload() *models.RestError
func (*HeadNodeNotFound) IsClientError ¶
func (o *HeadNodeNotFound) IsClientError() bool
IsClientError returns true when this head node not found response has a 4xx status code
func (*HeadNodeNotFound) IsCode ¶
func (o *HeadNodeNotFound) IsCode(code int) bool
IsCode returns true when this head node not found response a status code equal to that given
func (*HeadNodeNotFound) IsRedirect ¶
func (o *HeadNodeNotFound) IsRedirect() bool
IsRedirect returns true when this head node not found response has a 3xx status code
func (*HeadNodeNotFound) IsServerError ¶
func (o *HeadNodeNotFound) IsServerError() bool
IsServerError returns true when this head node not found response has a 5xx status code
func (*HeadNodeNotFound) IsSuccess ¶
func (o *HeadNodeNotFound) IsSuccess() bool
IsSuccess returns true when this head node not found response has a 2xx status code
func (*HeadNodeNotFound) String ¶
func (o *HeadNodeNotFound) String() string
type HeadNodeOK ¶
type HeadNodeOK struct {
Payload *models.RestHeadNodeResponse
}
HeadNodeOK describes a response with status code 200, with default header values.
A successful response.
func NewHeadNodeOK ¶
func NewHeadNodeOK() *HeadNodeOK
NewHeadNodeOK creates a HeadNodeOK with default headers values
func (*HeadNodeOK) Code ¶
func (o *HeadNodeOK) Code() int
Code gets the status code for the head node o k response
func (*HeadNodeOK) Error ¶
func (o *HeadNodeOK) Error() string
func (*HeadNodeOK) GetPayload ¶
func (o *HeadNodeOK) GetPayload() *models.RestHeadNodeResponse
func (*HeadNodeOK) IsClientError ¶
func (o *HeadNodeOK) IsClientError() bool
IsClientError returns true when this head node o k response has a 4xx status code
func (*HeadNodeOK) IsCode ¶
func (o *HeadNodeOK) IsCode(code int) bool
IsCode returns true when this head node o k response a status code equal to that given
func (*HeadNodeOK) IsRedirect ¶
func (o *HeadNodeOK) IsRedirect() bool
IsRedirect returns true when this head node o k response has a 3xx status code
func (*HeadNodeOK) IsServerError ¶
func (o *HeadNodeOK) IsServerError() bool
IsServerError returns true when this head node o k response has a 5xx status code
func (*HeadNodeOK) IsSuccess ¶
func (o *HeadNodeOK) IsSuccess() bool
IsSuccess returns true when this head node o k response has a 2xx status code
func (*HeadNodeOK) String ¶
func (o *HeadNodeOK) String() string
type HeadNodeParams ¶
type HeadNodeParams struct { /* Node. The node to state */ 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) Code ¶
func (o *HeadNodeUnauthorized) Code() int
Code gets the status code for the head node unauthorized response
func (*HeadNodeUnauthorized) Error ¶
func (o *HeadNodeUnauthorized) Error() string
func (*HeadNodeUnauthorized) IsClientError ¶
func (o *HeadNodeUnauthorized) IsClientError() bool
IsClientError returns true when this head node unauthorized response has a 4xx status code
func (*HeadNodeUnauthorized) IsCode ¶
func (o *HeadNodeUnauthorized) IsCode(code int) bool
IsCode returns true when this head node unauthorized response a status code equal to that given
func (*HeadNodeUnauthorized) IsRedirect ¶
func (o *HeadNodeUnauthorized) IsRedirect() bool
IsRedirect returns true when this head node unauthorized response has a 3xx status code
func (*HeadNodeUnauthorized) IsServerError ¶
func (o *HeadNodeUnauthorized) IsServerError() bool
IsServerError returns true when this head node unauthorized response has a 5xx status code
func (*HeadNodeUnauthorized) IsSuccess ¶
func (o *HeadNodeUnauthorized) IsSuccess() bool
IsSuccess returns true when this head node unauthorized response has a 2xx status code
func (*HeadNodeUnauthorized) String ¶
func (o *HeadNodeUnauthorized) String() 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) Code ¶
func (o *RestoreNodesForbidden) Code() int
Code gets the status code for the restore nodes forbidden response
func (*RestoreNodesForbidden) Error ¶
func (o *RestoreNodesForbidden) Error() string
func (*RestoreNodesForbidden) GetPayload ¶
func (o *RestoreNodesForbidden) GetPayload() *models.RestError
func (*RestoreNodesForbidden) IsClientError ¶
func (o *RestoreNodesForbidden) IsClientError() bool
IsClientError returns true when this restore nodes forbidden response has a 4xx status code
func (*RestoreNodesForbidden) IsCode ¶
func (o *RestoreNodesForbidden) IsCode(code int) bool
IsCode returns true when this restore nodes forbidden response a status code equal to that given
func (*RestoreNodesForbidden) IsRedirect ¶
func (o *RestoreNodesForbidden) IsRedirect() bool
IsRedirect returns true when this restore nodes forbidden response has a 3xx status code
func (*RestoreNodesForbidden) IsServerError ¶
func (o *RestoreNodesForbidden) IsServerError() bool
IsServerError returns true when this restore nodes forbidden response has a 5xx status code
func (*RestoreNodesForbidden) IsSuccess ¶
func (o *RestoreNodesForbidden) IsSuccess() bool
IsSuccess returns true when this restore nodes forbidden response has a 2xx status code
func (*RestoreNodesForbidden) String ¶
func (o *RestoreNodesForbidden) String() string
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) Code ¶
func (o *RestoreNodesInternalServerError) Code() int
Code gets the status code for the restore nodes internal server error response
func (*RestoreNodesInternalServerError) Error ¶
func (o *RestoreNodesInternalServerError) Error() string
func (*RestoreNodesInternalServerError) GetPayload ¶
func (o *RestoreNodesInternalServerError) GetPayload() *models.RestError
func (*RestoreNodesInternalServerError) IsClientError ¶
func (o *RestoreNodesInternalServerError) IsClientError() bool
IsClientError returns true when this restore nodes internal server error response has a 4xx status code
func (*RestoreNodesInternalServerError) IsCode ¶
func (o *RestoreNodesInternalServerError) IsCode(code int) bool
IsCode returns true when this restore nodes internal server error response a status code equal to that given
func (*RestoreNodesInternalServerError) IsRedirect ¶
func (o *RestoreNodesInternalServerError) IsRedirect() bool
IsRedirect returns true when this restore nodes internal server error response has a 3xx status code
func (*RestoreNodesInternalServerError) IsServerError ¶
func (o *RestoreNodesInternalServerError) IsServerError() bool
IsServerError returns true when this restore nodes internal server error response has a 5xx status code
func (*RestoreNodesInternalServerError) IsSuccess ¶
func (o *RestoreNodesInternalServerError) IsSuccess() bool
IsSuccess returns true when this restore nodes internal server error response has a 2xx status code
func (*RestoreNodesInternalServerError) String ¶
func (o *RestoreNodesInternalServerError) String() string
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) Code ¶
func (o *RestoreNodesNotFound) Code() int
Code gets the status code for the restore nodes not found response
func (*RestoreNodesNotFound) Error ¶
func (o *RestoreNodesNotFound) Error() string
func (*RestoreNodesNotFound) GetPayload ¶
func (o *RestoreNodesNotFound) GetPayload() *models.RestError
func (*RestoreNodesNotFound) IsClientError ¶
func (o *RestoreNodesNotFound) IsClientError() bool
IsClientError returns true when this restore nodes not found response has a 4xx status code
func (*RestoreNodesNotFound) IsCode ¶
func (o *RestoreNodesNotFound) IsCode(code int) bool
IsCode returns true when this restore nodes not found response a status code equal to that given
func (*RestoreNodesNotFound) IsRedirect ¶
func (o *RestoreNodesNotFound) IsRedirect() bool
IsRedirect returns true when this restore nodes not found response has a 3xx status code
func (*RestoreNodesNotFound) IsServerError ¶
func (o *RestoreNodesNotFound) IsServerError() bool
IsServerError returns true when this restore nodes not found response has a 5xx status code
func (*RestoreNodesNotFound) IsSuccess ¶
func (o *RestoreNodesNotFound) IsSuccess() bool
IsSuccess returns true when this restore nodes not found response has a 2xx status code
func (*RestoreNodesNotFound) String ¶
func (o *RestoreNodesNotFound) String() string
type RestoreNodesOK ¶
type RestoreNodesOK struct {
Payload *models.RestRestoreNodesResponse
}
RestoreNodesOK describes a response with status code 200, with default header values.
A successful response.
func NewRestoreNodesOK ¶
func NewRestoreNodesOK() *RestoreNodesOK
NewRestoreNodesOK creates a RestoreNodesOK with default headers values
func (*RestoreNodesOK) Code ¶
func (o *RestoreNodesOK) Code() int
Code gets the status code for the restore nodes o k response
func (*RestoreNodesOK) Error ¶
func (o *RestoreNodesOK) Error() string
func (*RestoreNodesOK) GetPayload ¶
func (o *RestoreNodesOK) GetPayload() *models.RestRestoreNodesResponse
func (*RestoreNodesOK) IsClientError ¶
func (o *RestoreNodesOK) IsClientError() bool
IsClientError returns true when this restore nodes o k response has a 4xx status code
func (*RestoreNodesOK) IsCode ¶
func (o *RestoreNodesOK) IsCode(code int) bool
IsCode returns true when this restore nodes o k response a status code equal to that given
func (*RestoreNodesOK) IsRedirect ¶
func (o *RestoreNodesOK) IsRedirect() bool
IsRedirect returns true when this restore nodes o k response has a 3xx status code
func (*RestoreNodesOK) IsServerError ¶
func (o *RestoreNodesOK) IsServerError() bool
IsServerError returns true when this restore nodes o k response has a 5xx status code
func (*RestoreNodesOK) IsSuccess ¶
func (o *RestoreNodesOK) IsSuccess() bool
IsSuccess returns true when this restore nodes o k response has a 2xx status code
func (*RestoreNodesOK) String ¶
func (o *RestoreNodesOK) String() 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 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) Code ¶
func (o *RestoreNodesUnauthorized) Code() int
Code gets the status code for the restore nodes unauthorized response
func (*RestoreNodesUnauthorized) Error ¶
func (o *RestoreNodesUnauthorized) Error() string
func (*RestoreNodesUnauthorized) IsClientError ¶
func (o *RestoreNodesUnauthorized) IsClientError() bool
IsClientError returns true when this restore nodes unauthorized response has a 4xx status code
func (*RestoreNodesUnauthorized) IsCode ¶
func (o *RestoreNodesUnauthorized) IsCode(code int) bool
IsCode returns true when this restore nodes unauthorized response a status code equal to that given
func (*RestoreNodesUnauthorized) IsRedirect ¶
func (o *RestoreNodesUnauthorized) IsRedirect() bool
IsRedirect returns true when this restore nodes unauthorized response has a 3xx status code
func (*RestoreNodesUnauthorized) IsServerError ¶
func (o *RestoreNodesUnauthorized) IsServerError() bool
IsServerError returns true when this restore nodes unauthorized response has a 5xx status code
func (*RestoreNodesUnauthorized) IsSuccess ¶
func (o *RestoreNodesUnauthorized) IsSuccess() bool
IsSuccess returns true when this restore nodes unauthorized response has a 2xx status code
func (*RestoreNodesUnauthorized) String ¶
func (o *RestoreNodesUnauthorized) String() 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