Documentation ¶
Index ¶
- type Client
- type NodesOK
- type NodesParams
- func (o *NodesParams) SetBody(body *models.TreeSearchRequest)
- func (o *NodesParams) SetContext(ctx context.Context)
- func (o *NodesParams) SetHTTPClient(client *http.Client)
- func (o *NodesParams) SetTimeout(timeout time.Duration)
- func (o *NodesParams) WithBody(body *models.TreeSearchRequest) *NodesParams
- func (o *NodesParams) WithContext(ctx context.Context) *NodesParams
- func (o *NodesParams) WithHTTPClient(client *http.Client) *NodesParams
- func (o *NodesParams) WithTimeout(timeout time.Duration) *NodesParams
- func (o *NodesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type NodesReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for search service API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new search service API client.
func (*Client) Nodes ¶
func (a *Client) Nodes(params *NodesParams) (*NodesOK, error)
Nodes searches indexed nodes files folders on various aspects
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type NodesOK ¶
type NodesOK struct {
Payload *models.RestSearchResults
}
NodesOK handles this case with default header values.
NodesOK nodes o k
func NewNodesOK ¶
func NewNodesOK() *NodesOK
NewNodesOK creates a NodesOK with default headers values
type NodesParams ¶
type NodesParams struct { /*Body*/ Body *models.TreeSearchRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
NodesParams contains all the parameters to send to the API endpoint for the nodes operation typically these are written to a http.Request
func NewNodesParams ¶
func NewNodesParams() *NodesParams
NewNodesParams creates a new NodesParams object with the default values initialized.
func NewNodesParamsWithContext ¶
func NewNodesParamsWithContext(ctx context.Context) *NodesParams
NewNodesParamsWithContext creates a new NodesParams object with the default values initialized, and the ability to set a context for a request
func NewNodesParamsWithHTTPClient ¶
func NewNodesParamsWithHTTPClient(client *http.Client) *NodesParams
NewNodesParamsWithHTTPClient creates a new NodesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewNodesParamsWithTimeout ¶
func NewNodesParamsWithTimeout(timeout time.Duration) *NodesParams
NewNodesParamsWithTimeout creates a new NodesParams object with the default values initialized, and the ability to set a timeout on a request
func (*NodesParams) SetBody ¶
func (o *NodesParams) SetBody(body *models.TreeSearchRequest)
SetBody adds the body to the nodes params
func (*NodesParams) SetContext ¶
func (o *NodesParams) SetContext(ctx context.Context)
SetContext adds the context to the nodes params
func (*NodesParams) SetHTTPClient ¶
func (o *NodesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the nodes params
func (*NodesParams) SetTimeout ¶
func (o *NodesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the nodes params
func (*NodesParams) WithBody ¶
func (o *NodesParams) WithBody(body *models.TreeSearchRequest) *NodesParams
WithBody adds the body to the nodes params
func (*NodesParams) WithContext ¶
func (o *NodesParams) WithContext(ctx context.Context) *NodesParams
WithContext adds the context to the nodes params
func (*NodesParams) WithHTTPClient ¶
func (o *NodesParams) WithHTTPClient(client *http.Client) *NodesParams
WithHTTPClient adds the HTTPClient to the nodes params
func (*NodesParams) WithTimeout ¶
func (o *NodesParams) WithTimeout(timeout time.Duration) *NodesParams
WithTimeout adds the timeout to the nodes params
func (*NodesParams) WriteToRequest ¶
func (o *NodesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type NodesReader ¶
type NodesReader struct {
// contains filtered or unexported fields
}
NodesReader is a Reader for the Nodes structure.
func (*NodesReader) ReadResponse ¶
func (o *NodesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.