Documentation
¶
Index ¶
- type Client
- type ClientService
- type GetTestsOK
- type GetTestsParams
- func (o *GetTestsParams) SetContext(ctx context.Context)
- func (o *GetTestsParams) SetFields(fields *string)
- func (o *GetTestsParams) SetHTTPClient(client *http.Client)
- func (o *GetTestsParams) SetLocator(locator *string)
- func (o *GetTestsParams) SetTimeout(timeout time.Duration)
- func (o *GetTestsParams) WithContext(ctx context.Context) *GetTestsParams
- func (o *GetTestsParams) WithFields(fields *string) *GetTestsParams
- func (o *GetTestsParams) WithHTTPClient(client *http.Client) *GetTestsParams
- func (o *GetTestsParams) WithLocator(locator *string) *GetTestsParams
- func (o *GetTestsParams) WithTimeout(timeout time.Duration) *GetTestsParams
- func (o *GetTestsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTestsReader
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 test API
func (*Client) GetTests ¶
func (a *Client) GetTests(params *GetTestsParams, authInfo runtime.ClientAuthInfoWriter) (*GetTestsOK, error)
GetTests get tests API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetTests(params *GetTestsParams, authInfo runtime.ClientAuthInfoWriter) (*GetTestsOK, 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 test API client.
type GetTestsOK ¶
GetTestsOK handles this case with default header values.
successful operation
func NewGetTestsOK ¶
func NewGetTestsOK() *GetTestsOK
NewGetTestsOK creates a GetTestsOK with default headers values
func (*GetTestsOK) Error ¶
func (o *GetTestsOK) Error() string
func (*GetTestsOK) GetPayload ¶
func (o *GetTestsOK) GetPayload() *models.Tests
type GetTestsParams ¶
type GetTestsParams struct { /*Fields*/ Fields *string /*Locator*/ Locator *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTestsParams contains all the parameters to send to the API endpoint for the get tests operation typically these are written to a http.Request
func NewGetTestsParams ¶
func NewGetTestsParams() *GetTestsParams
NewGetTestsParams creates a new GetTestsParams object with the default values initialized.
func NewGetTestsParamsWithContext ¶
func NewGetTestsParamsWithContext(ctx context.Context) *GetTestsParams
NewGetTestsParamsWithContext creates a new GetTestsParams object with the default values initialized, and the ability to set a context for a request
func NewGetTestsParamsWithHTTPClient ¶
func NewGetTestsParamsWithHTTPClient(client *http.Client) *GetTestsParams
NewGetTestsParamsWithHTTPClient creates a new GetTestsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetTestsParamsWithTimeout ¶
func NewGetTestsParamsWithTimeout(timeout time.Duration) *GetTestsParams
NewGetTestsParamsWithTimeout creates a new GetTestsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetTestsParams) SetContext ¶
func (o *GetTestsParams) SetContext(ctx context.Context)
SetContext adds the context to the get tests params
func (*GetTestsParams) SetFields ¶
func (o *GetTestsParams) SetFields(fields *string)
SetFields adds the fields to the get tests params
func (*GetTestsParams) SetHTTPClient ¶
func (o *GetTestsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get tests params
func (*GetTestsParams) SetLocator ¶
func (o *GetTestsParams) SetLocator(locator *string)
SetLocator adds the locator to the get tests params
func (*GetTestsParams) SetTimeout ¶
func (o *GetTestsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get tests params
func (*GetTestsParams) WithContext ¶
func (o *GetTestsParams) WithContext(ctx context.Context) *GetTestsParams
WithContext adds the context to the get tests params
func (*GetTestsParams) WithFields ¶
func (o *GetTestsParams) WithFields(fields *string) *GetTestsParams
WithFields adds the fields to the get tests params
func (*GetTestsParams) WithHTTPClient ¶
func (o *GetTestsParams) WithHTTPClient(client *http.Client) *GetTestsParams
WithHTTPClient adds the HTTPClient to the get tests params
func (*GetTestsParams) WithLocator ¶
func (o *GetTestsParams) WithLocator(locator *string) *GetTestsParams
WithLocator adds the locator to the get tests params
func (*GetTestsParams) WithTimeout ¶
func (o *GetTestsParams) WithTimeout(timeout time.Duration) *GetTestsParams
WithTimeout adds the timeout to the get tests params
func (*GetTestsParams) WriteToRequest ¶
func (o *GetTestsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTestsReader ¶
type GetTestsReader struct {
// contains filtered or unexported fields
}
GetTestsReader is a Reader for the GetTests structure.
func (*GetTestsReader) ReadResponse ¶
func (o *GetTestsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.