Documentation ¶
Index ¶
- type Client
- type ClientService
- type GetAPIV1AuthokOK
- type GetAPIV1AuthokParams
- func NewGetAPIV1AuthokParams() *GetAPIV1AuthokParams
- func NewGetAPIV1AuthokParamsWithContext(ctx context.Context) *GetAPIV1AuthokParams
- func NewGetAPIV1AuthokParamsWithHTTPClient(client *http.Client) *GetAPIV1AuthokParams
- func NewGetAPIV1AuthokParamsWithTimeout(timeout time.Duration) *GetAPIV1AuthokParams
- func (o *GetAPIV1AuthokParams) SetContext(ctx context.Context)
- func (o *GetAPIV1AuthokParams) SetHTTPClient(client *http.Client)
- func (o *GetAPIV1AuthokParams) SetTimeout(timeout time.Duration)
- func (o *GetAPIV1AuthokParams) WithContext(ctx context.Context) *GetAPIV1AuthokParams
- func (o *GetAPIV1AuthokParams) WithHTTPClient(client *http.Client) *GetAPIV1AuthokParams
- func (o *GetAPIV1AuthokParams) WithTimeout(timeout time.Duration) *GetAPIV1AuthokParams
- func (o *GetAPIV1AuthokParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPIV1AuthokReader
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 api API
func (*Client) GetAPIV1Authok ¶
func (a *Client) GetAPIV1Authok(params *GetAPIV1AuthokParams, authInfo runtime.ClientAuthInfoWriter) (*GetAPIV1AuthokOK, error)
GetAPIV1Authok handles ping event for api routes
auth OK handler handles the ping to api routes which are
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetAPIV1Authok(params *GetAPIV1AuthokParams, authInfo runtime.ClientAuthInfoWriter) (*GetAPIV1AuthokOK, 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 api API client.
type GetAPIV1AuthokOK ¶
type GetAPIV1AuthokOK struct {
Payload *models.ResponseHTTPMessage
}
GetAPIV1AuthokOK handles this case with default header values.
OK
func NewGetAPIV1AuthokOK ¶
func NewGetAPIV1AuthokOK() *GetAPIV1AuthokOK
NewGetAPIV1AuthokOK creates a GetAPIV1AuthokOK with default headers values
func (*GetAPIV1AuthokOK) Error ¶
func (o *GetAPIV1AuthokOK) Error() string
func (*GetAPIV1AuthokOK) GetPayload ¶
func (o *GetAPIV1AuthokOK) GetPayload() *models.ResponseHTTPMessage
type GetAPIV1AuthokParams ¶
type GetAPIV1AuthokParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAPIV1AuthokParams contains all the parameters to send to the API endpoint for the get API v1 authok operation typically these are written to a http.Request
func NewGetAPIV1AuthokParams ¶
func NewGetAPIV1AuthokParams() *GetAPIV1AuthokParams
NewGetAPIV1AuthokParams creates a new GetAPIV1AuthokParams object with the default values initialized.
func NewGetAPIV1AuthokParamsWithContext ¶
func NewGetAPIV1AuthokParamsWithContext(ctx context.Context) *GetAPIV1AuthokParams
NewGetAPIV1AuthokParamsWithContext creates a new GetAPIV1AuthokParams object with the default values initialized, and the ability to set a context for a request
func NewGetAPIV1AuthokParamsWithHTTPClient ¶
func NewGetAPIV1AuthokParamsWithHTTPClient(client *http.Client) *GetAPIV1AuthokParams
NewGetAPIV1AuthokParamsWithHTTPClient creates a new GetAPIV1AuthokParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAPIV1AuthokParamsWithTimeout ¶
func NewGetAPIV1AuthokParamsWithTimeout(timeout time.Duration) *GetAPIV1AuthokParams
NewGetAPIV1AuthokParamsWithTimeout creates a new GetAPIV1AuthokParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAPIV1AuthokParams) SetContext ¶
func (o *GetAPIV1AuthokParams) SetContext(ctx context.Context)
SetContext adds the context to the get API v1 authok params
func (*GetAPIV1AuthokParams) SetHTTPClient ¶
func (o *GetAPIV1AuthokParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API v1 authok params
func (*GetAPIV1AuthokParams) SetTimeout ¶
func (o *GetAPIV1AuthokParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API v1 authok params
func (*GetAPIV1AuthokParams) WithContext ¶
func (o *GetAPIV1AuthokParams) WithContext(ctx context.Context) *GetAPIV1AuthokParams
WithContext adds the context to the get API v1 authok params
func (*GetAPIV1AuthokParams) WithHTTPClient ¶
func (o *GetAPIV1AuthokParams) WithHTTPClient(client *http.Client) *GetAPIV1AuthokParams
WithHTTPClient adds the HTTPClient to the get API v1 authok params
func (*GetAPIV1AuthokParams) WithTimeout ¶
func (o *GetAPIV1AuthokParams) WithTimeout(timeout time.Duration) *GetAPIV1AuthokParams
WithTimeout adds the timeout to the get API v1 authok params
func (*GetAPIV1AuthokParams) WriteToRequest ¶
func (o *GetAPIV1AuthokParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPIV1AuthokReader ¶
type GetAPIV1AuthokReader struct {
// contains filtered or unexported fields
}
GetAPIV1AuthokReader is a Reader for the GetAPIV1Authok structure.
func (*GetAPIV1AuthokReader) ReadResponse ¶
func (o *GetAPIV1AuthokReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.