Documentation
¶
Index ¶
- type Client
- func (a *Client) GetTimestampCertChain(params *GetTimestampCertChainParams, opts ...ClientOption) (*GetTimestampCertChainOK, error)
- func (a *Client) GetTimestampResponse(params *GetTimestampResponseParams, writer io.Writer, opts ...ClientOption) (*GetTimestampResponseOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetTimestampCertChainDefault
- type GetTimestampCertChainNotFound
- type GetTimestampCertChainOK
- type GetTimestampCertChainParams
- func NewGetTimestampCertChainParams() *GetTimestampCertChainParams
- func NewGetTimestampCertChainParamsWithContext(ctx context.Context) *GetTimestampCertChainParams
- func NewGetTimestampCertChainParamsWithHTTPClient(client *http.Client) *GetTimestampCertChainParams
- func NewGetTimestampCertChainParamsWithTimeout(timeout time.Duration) *GetTimestampCertChainParams
- func (o *GetTimestampCertChainParams) SetContext(ctx context.Context)
- func (o *GetTimestampCertChainParams) SetDefaults()
- func (o *GetTimestampCertChainParams) SetHTTPClient(client *http.Client)
- func (o *GetTimestampCertChainParams) SetTimeout(timeout time.Duration)
- func (o *GetTimestampCertChainParams) WithContext(ctx context.Context) *GetTimestampCertChainParams
- func (o *GetTimestampCertChainParams) WithDefaults() *GetTimestampCertChainParams
- func (o *GetTimestampCertChainParams) WithHTTPClient(client *http.Client) *GetTimestampCertChainParams
- func (o *GetTimestampCertChainParams) WithTimeout(timeout time.Duration) *GetTimestampCertChainParams
- func (o *GetTimestampCertChainParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTimestampCertChainReader
- type GetTimestampResponseBadRequest
- type GetTimestampResponseDefault
- type GetTimestampResponseNotImplemented
- type GetTimestampResponseOK
- type GetTimestampResponseParams
- func NewGetTimestampResponseParams() *GetTimestampResponseParams
- func NewGetTimestampResponseParamsWithContext(ctx context.Context) *GetTimestampResponseParams
- func NewGetTimestampResponseParamsWithHTTPClient(client *http.Client) *GetTimestampResponseParams
- func NewGetTimestampResponseParamsWithTimeout(timeout time.Duration) *GetTimestampResponseParams
- func (o *GetTimestampResponseParams) SetContext(ctx context.Context)
- func (o *GetTimestampResponseParams) SetDefaults()
- func (o *GetTimestampResponseParams) SetHTTPClient(client *http.Client)
- func (o *GetTimestampResponseParams) SetRequest(request io.ReadCloser)
- func (o *GetTimestampResponseParams) SetTimeout(timeout time.Duration)
- func (o *GetTimestampResponseParams) WithContext(ctx context.Context) *GetTimestampResponseParams
- func (o *GetTimestampResponseParams) WithDefaults() *GetTimestampResponseParams
- func (o *GetTimestampResponseParams) WithHTTPClient(client *http.Client) *GetTimestampResponseParams
- func (o *GetTimestampResponseParams) WithRequest(request io.ReadCloser) *GetTimestampResponseParams
- func (o *GetTimestampResponseParams) WithTimeout(timeout time.Duration) *GetTimestampResponseParams
- func (o *GetTimestampResponseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTimestampResponseReader
- type TimestampResponseBadRequest
- type TimestampResponseDefault
- type TimestampResponseOK
- type TimestampResponseParams
- func NewTimestampResponseParams() *TimestampResponseParams
- func NewTimestampResponseParamsWithContext(ctx context.Context) *TimestampResponseParams
- func NewTimestampResponseParamsWithHTTPClient(client *http.Client) *TimestampResponseParams
- func NewTimestampResponseParamsWithTimeout(timeout time.Duration) *TimestampResponseParams
- func (o *TimestampResponseParams) SetContext(ctx context.Context)
- func (o *TimestampResponseParams) SetDefaults()
- func (o *TimestampResponseParams) SetHTTPClient(client *http.Client)
- func (o *TimestampResponseParams) SetQuery(query *models.TimestampRequest)
- func (o *TimestampResponseParams) SetTimeout(timeout time.Duration)
- func (o *TimestampResponseParams) WithContext(ctx context.Context) *TimestampResponseParams
- func (o *TimestampResponseParams) WithDefaults() *TimestampResponseParams
- func (o *TimestampResponseParams) WithHTTPClient(client *http.Client) *TimestampResponseParams
- func (o *TimestampResponseParams) WithQuery(query *models.TimestampRequest) *TimestampResponseParams
- func (o *TimestampResponseParams) WithTimeout(timeout time.Duration) *TimestampResponseParams
- func (o *TimestampResponseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TimestampResponseReader
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 timestamp API
func (*Client) GetTimestampCertChain ¶
func (a *Client) GetTimestampCertChain(params *GetTimestampCertChainParams, opts ...ClientOption) (*GetTimestampCertChainOK, error)
GetTimestampCertChain retrieves the certfiicate chain for timestamping that can be used to validate trusted timestamps
Returns the certfiicate chain for timestamping that can be used to validate trusted timestamps
func (*Client) GetTimestampResponse ¶
func (a *Client) GetTimestampResponse(params *GetTimestampResponseParams, writer io.Writer, opts ...ClientOption) (*GetTimestampResponseOK, error)
GetTimestampResponse returns a timestamp response generated by rekor
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 {
GetTimestampCertChain(params *GetTimestampCertChainParams, opts ...ClientOption) (*GetTimestampCertChainOK, error)
GetTimestampResponse(params *GetTimestampResponseParams, writer io.Writer, opts ...ClientOption) (*GetTimestampResponseOK, 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 timestamp API client.
type GetTimestampCertChainDefault ¶
type GetTimestampCertChainDefault struct {
Payload *models.Error
// contains filtered or unexported fields
}
GetTimestampCertChainDefault describes a response with status code -1, with default header values.
There was an internal error in the server while processing the request
func NewGetTimestampCertChainDefault ¶
func NewGetTimestampCertChainDefault(code int) *GetTimestampCertChainDefault
NewGetTimestampCertChainDefault creates a GetTimestampCertChainDefault with default headers values
func (*GetTimestampCertChainDefault) Code ¶
func (o *GetTimestampCertChainDefault) Code() int
Code gets the status code for the get timestamp cert chain default response
func (*GetTimestampCertChainDefault) Error ¶
func (o *GetTimestampCertChainDefault) Error() string
func (*GetTimestampCertChainDefault) GetPayload ¶
func (o *GetTimestampCertChainDefault) GetPayload() *models.Error
type GetTimestampCertChainNotFound ¶
type GetTimestampCertChainNotFound struct {
}
GetTimestampCertChainNotFound describes a response with status code 404, with default header values.
The content requested could not be found
func NewGetTimestampCertChainNotFound ¶
func NewGetTimestampCertChainNotFound() *GetTimestampCertChainNotFound
NewGetTimestampCertChainNotFound creates a GetTimestampCertChainNotFound with default headers values
func (*GetTimestampCertChainNotFound) Error ¶
func (o *GetTimestampCertChainNotFound) Error() string
type GetTimestampCertChainOK ¶
type GetTimestampCertChainOK struct {
Payload string
}
GetTimestampCertChainOK describes a response with status code 200, with default header values.
The PEM encoded cert chain
func NewGetTimestampCertChainOK ¶
func NewGetTimestampCertChainOK() *GetTimestampCertChainOK
NewGetTimestampCertChainOK creates a GetTimestampCertChainOK with default headers values
func (*GetTimestampCertChainOK) Error ¶
func (o *GetTimestampCertChainOK) Error() string
func (*GetTimestampCertChainOK) GetPayload ¶
func (o *GetTimestampCertChainOK) GetPayload() string
type GetTimestampCertChainParams ¶
type GetTimestampCertChainParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetTimestampCertChainParams contains all the parameters to send to the API endpoint
for the get timestamp cert chain operation. Typically these are written to a http.Request.
func NewGetTimestampCertChainParams ¶
func NewGetTimestampCertChainParams() *GetTimestampCertChainParams
NewGetTimestampCertChainParams creates a new GetTimestampCertChainParams 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 NewGetTimestampCertChainParamsWithContext ¶
func NewGetTimestampCertChainParamsWithContext(ctx context.Context) *GetTimestampCertChainParams
NewGetTimestampCertChainParamsWithContext creates a new GetTimestampCertChainParams object with the ability to set a context for a request.
func NewGetTimestampCertChainParamsWithHTTPClient ¶
func NewGetTimestampCertChainParamsWithHTTPClient(client *http.Client) *GetTimestampCertChainParams
NewGetTimestampCertChainParamsWithHTTPClient creates a new GetTimestampCertChainParams object with the ability to set a custom HTTPClient for a request.
func NewGetTimestampCertChainParamsWithTimeout ¶
func NewGetTimestampCertChainParamsWithTimeout(timeout time.Duration) *GetTimestampCertChainParams
NewGetTimestampCertChainParamsWithTimeout creates a new GetTimestampCertChainParams object with the ability to set a timeout on a request.
func (*GetTimestampCertChainParams) SetContext ¶
func (o *GetTimestampCertChainParams) SetContext(ctx context.Context)
SetContext adds the context to the get timestamp cert chain params
func (*GetTimestampCertChainParams) SetDefaults ¶
func (o *GetTimestampCertChainParams) SetDefaults()
SetDefaults hydrates default values in the get timestamp cert chain params (not the query body).
All values with no default are reset to their zero value.
func (*GetTimestampCertChainParams) SetHTTPClient ¶
func (o *GetTimestampCertChainParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get timestamp cert chain params
func (*GetTimestampCertChainParams) SetTimeout ¶
func (o *GetTimestampCertChainParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get timestamp cert chain params
func (*GetTimestampCertChainParams) WithContext ¶
func (o *GetTimestampCertChainParams) WithContext(ctx context.Context) *GetTimestampCertChainParams
WithContext adds the context to the get timestamp cert chain params
func (*GetTimestampCertChainParams) WithDefaults ¶
func (o *GetTimestampCertChainParams) WithDefaults() *GetTimestampCertChainParams
WithDefaults hydrates default values in the get timestamp cert chain params (not the query body).
All values with no default are reset to their zero value.
func (*GetTimestampCertChainParams) WithHTTPClient ¶
func (o *GetTimestampCertChainParams) WithHTTPClient(client *http.Client) *GetTimestampCertChainParams
WithHTTPClient adds the HTTPClient to the get timestamp cert chain params
func (*GetTimestampCertChainParams) WithTimeout ¶
func (o *GetTimestampCertChainParams) WithTimeout(timeout time.Duration) *GetTimestampCertChainParams
WithTimeout adds the timeout to the get timestamp cert chain params
func (*GetTimestampCertChainParams) WriteToRequest ¶
func (o *GetTimestampCertChainParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTimestampCertChainReader ¶
type GetTimestampCertChainReader struct {
// contains filtered or unexported fields
}
GetTimestampCertChainReader is a Reader for the GetTimestampCertChain structure.
func (*GetTimestampCertChainReader) ReadResponse ¶
func (o *GetTimestampCertChainReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTimestampResponseBadRequest ¶
GetTimestampResponseBadRequest describes a response with status code 400, with default header values.
The content supplied to the server was invalid
func NewGetTimestampResponseBadRequest ¶
func NewGetTimestampResponseBadRequest() *GetTimestampResponseBadRequest
NewGetTimestampResponseBadRequest creates a GetTimestampResponseBadRequest with default headers values
func (*GetTimestampResponseBadRequest) Error ¶
func (o *GetTimestampResponseBadRequest) Error() string
func (*GetTimestampResponseBadRequest) GetPayload ¶
func (o *GetTimestampResponseBadRequest) GetPayload() *models.Error
type GetTimestampResponseDefault ¶
type GetTimestampResponseDefault struct {
Payload *models.Error
// contains filtered or unexported fields
}
GetTimestampResponseDefault describes a response with status code -1, with default header values.
There was an internal error in the server while processing the request
func NewGetTimestampResponseDefault ¶
func NewGetTimestampResponseDefault(code int) *GetTimestampResponseDefault
NewGetTimestampResponseDefault creates a GetTimestampResponseDefault with default headers values
func (*GetTimestampResponseDefault) Code ¶
func (o *GetTimestampResponseDefault) Code() int
Code gets the status code for the get timestamp response default response
func (*GetTimestampResponseDefault) Error ¶
func (o *GetTimestampResponseDefault) Error() string
func (*GetTimestampResponseDefault) GetPayload ¶
func (o *GetTimestampResponseDefault) GetPayload() *models.Error
type GetTimestampResponseNotImplemented ¶
type GetTimestampResponseNotImplemented struct {
}
GetTimestampResponseNotImplemented describes a response with status code 501, with default header values.
The content requested is not implemented
func NewGetTimestampResponseNotImplemented ¶
func NewGetTimestampResponseNotImplemented() *GetTimestampResponseNotImplemented
NewGetTimestampResponseNotImplemented creates a GetTimestampResponseNotImplemented with default headers values
func (*GetTimestampResponseNotImplemented) Error ¶
func (o *GetTimestampResponseNotImplemented) Error() string
type GetTimestampResponseOK ¶
GetTimestampResponseOK describes a response with status code 200, with default header values.
Returns a timestamp response
func NewGetTimestampResponseOK ¶
func NewGetTimestampResponseOK(writer io.Writer) *GetTimestampResponseOK
NewGetTimestampResponseOK creates a GetTimestampResponseOK with default headers values
func (*GetTimestampResponseOK) Error ¶
func (o *GetTimestampResponseOK) Error() string
func (*GetTimestampResponseOK) GetPayload ¶
func (o *GetTimestampResponseOK) GetPayload() io.Writer
type GetTimestampResponseParams ¶
type GetTimestampResponseParams struct {
// Request.
//
// Format: binary
Request io.ReadCloser
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetTimestampResponseParams contains all the parameters to send to the API endpoint
for the get timestamp response operation. Typically these are written to a http.Request.
func NewGetTimestampResponseParams ¶
func NewGetTimestampResponseParams() *GetTimestampResponseParams
NewGetTimestampResponseParams creates a new GetTimestampResponseParams 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 NewGetTimestampResponseParamsWithContext ¶
func NewGetTimestampResponseParamsWithContext(ctx context.Context) *GetTimestampResponseParams
NewGetTimestampResponseParamsWithContext creates a new GetTimestampResponseParams object with the ability to set a context for a request.
func NewGetTimestampResponseParamsWithHTTPClient ¶
func NewGetTimestampResponseParamsWithHTTPClient(client *http.Client) *GetTimestampResponseParams
NewGetTimestampResponseParamsWithHTTPClient creates a new GetTimestampResponseParams object with the ability to set a custom HTTPClient for a request.
func NewGetTimestampResponseParamsWithTimeout ¶
func NewGetTimestampResponseParamsWithTimeout(timeout time.Duration) *GetTimestampResponseParams
NewGetTimestampResponseParamsWithTimeout creates a new GetTimestampResponseParams object with the ability to set a timeout on a request.
func (*GetTimestampResponseParams) SetContext ¶
func (o *GetTimestampResponseParams) SetContext(ctx context.Context)
SetContext adds the context to the get timestamp response params
func (*GetTimestampResponseParams) SetDefaults ¶
func (o *GetTimestampResponseParams) SetDefaults()
SetDefaults hydrates default values in the get timestamp response params (not the query body).
All values with no default are reset to their zero value.
func (*GetTimestampResponseParams) SetHTTPClient ¶
func (o *GetTimestampResponseParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get timestamp response params
func (*GetTimestampResponseParams) SetRequest ¶
func (o *GetTimestampResponseParams) SetRequest(request io.ReadCloser)
SetRequest adds the request to the get timestamp response params
func (*GetTimestampResponseParams) SetTimeout ¶
func (o *GetTimestampResponseParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get timestamp response params
func (*GetTimestampResponseParams) WithContext ¶
func (o *GetTimestampResponseParams) WithContext(ctx context.Context) *GetTimestampResponseParams
WithContext adds the context to the get timestamp response params
func (*GetTimestampResponseParams) WithDefaults ¶
func (o *GetTimestampResponseParams) WithDefaults() *GetTimestampResponseParams
WithDefaults hydrates default values in the get timestamp response params (not the query body).
All values with no default are reset to their zero value.
func (*GetTimestampResponseParams) WithHTTPClient ¶
func (o *GetTimestampResponseParams) WithHTTPClient(client *http.Client) *GetTimestampResponseParams
WithHTTPClient adds the HTTPClient to the get timestamp response params
func (*GetTimestampResponseParams) WithRequest ¶
func (o *GetTimestampResponseParams) WithRequest(request io.ReadCloser) *GetTimestampResponseParams
WithRequest adds the request to the get timestamp response params
func (*GetTimestampResponseParams) WithTimeout ¶
func (o *GetTimestampResponseParams) WithTimeout(timeout time.Duration) *GetTimestampResponseParams
WithTimeout adds the timeout to the get timestamp response params
func (*GetTimestampResponseParams) WriteToRequest ¶
func (o *GetTimestampResponseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTimestampResponseReader ¶
type GetTimestampResponseReader struct {
// contains filtered or unexported fields
}
GetTimestampResponseReader is a Reader for the GetTimestampResponse structure.
func (*GetTimestampResponseReader) ReadResponse ¶
func (o *GetTimestampResponseReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TimestampResponseBadRequest ¶
TimestampResponseBadRequest describes a response with status code 400, with default header values.
The content supplied to the server was invalid
func NewTimestampResponseBadRequest ¶
func NewTimestampResponseBadRequest() *TimestampResponseBadRequest
NewTimestampResponseBadRequest creates a TimestampResponseBadRequest with default headers values
func (*TimestampResponseBadRequest) Error ¶
func (o *TimestampResponseBadRequest) Error() string
func (*TimestampResponseBadRequest) GetPayload ¶
func (o *TimestampResponseBadRequest) GetPayload() *models.Error
type TimestampResponseDefault ¶
type TimestampResponseDefault struct {
Payload *models.Error
// contains filtered or unexported fields
}
TimestampResponseDefault describes a response with status code -1, with default header values.
There was an internal error in the server while processing the request
func NewTimestampResponseDefault ¶
func NewTimestampResponseDefault(code int) *TimestampResponseDefault
NewTimestampResponseDefault creates a TimestampResponseDefault with default headers values
func (*TimestampResponseDefault) Code ¶
func (o *TimestampResponseDefault) Code() int
Code gets the status code for the timestamp response default response
func (*TimestampResponseDefault) Error ¶
func (o *TimestampResponseDefault) Error() string
func (*TimestampResponseDefault) GetPayload ¶
func (o *TimestampResponseDefault) GetPayload() *models.Error
type TimestampResponseOK ¶
type TimestampResponseOK struct {
Payload *models.TimestampResponse
}
TimestampResponseOK describes a response with status code 200, with default header values.
Returns a timestamp response
func NewTimestampResponseOK ¶
func NewTimestampResponseOK() *TimestampResponseOK
NewTimestampResponseOK creates a TimestampResponseOK with default headers values
func (*TimestampResponseOK) Error ¶
func (o *TimestampResponseOK) Error() string
func (*TimestampResponseOK) GetPayload ¶
func (o *TimestampResponseOK) GetPayload() *models.TimestampResponse
type TimestampResponseParams ¶
type TimestampResponseParams struct {
// Query.
Query *models.TimestampRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
TimestampResponseParams contains all the parameters to send to the API endpoint
for the timestamp response operation. Typically these are written to a http.Request.
func NewTimestampResponseParams ¶
func NewTimestampResponseParams() *TimestampResponseParams
NewTimestampResponseParams creates a new TimestampResponseParams 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 NewTimestampResponseParamsWithContext ¶
func NewTimestampResponseParamsWithContext(ctx context.Context) *TimestampResponseParams
NewTimestampResponseParamsWithContext creates a new TimestampResponseParams object with the ability to set a context for a request.
func NewTimestampResponseParamsWithHTTPClient ¶
func NewTimestampResponseParamsWithHTTPClient(client *http.Client) *TimestampResponseParams
NewTimestampResponseParamsWithHTTPClient creates a new TimestampResponseParams object with the ability to set a custom HTTPClient for a request.
func NewTimestampResponseParamsWithTimeout ¶
func NewTimestampResponseParamsWithTimeout(timeout time.Duration) *TimestampResponseParams
NewTimestampResponseParamsWithTimeout creates a new TimestampResponseParams object with the ability to set a timeout on a request.
func (*TimestampResponseParams) SetContext ¶
func (o *TimestampResponseParams) SetContext(ctx context.Context)
SetContext adds the context to the timestamp response params
func (*TimestampResponseParams) SetDefaults ¶
func (o *TimestampResponseParams) SetDefaults()
SetDefaults hydrates default values in the timestamp response params (not the query body).
All values with no default are reset to their zero value.
func (*TimestampResponseParams) SetHTTPClient ¶
func (o *TimestampResponseParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the timestamp response params
func (*TimestampResponseParams) SetQuery ¶
func (o *TimestampResponseParams) SetQuery(query *models.TimestampRequest)
SetQuery adds the query to the timestamp response params
func (*TimestampResponseParams) SetTimeout ¶
func (o *TimestampResponseParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the timestamp response params
func (*TimestampResponseParams) WithContext ¶
func (o *TimestampResponseParams) WithContext(ctx context.Context) *TimestampResponseParams
WithContext adds the context to the timestamp response params
func (*TimestampResponseParams) WithDefaults ¶
func (o *TimestampResponseParams) WithDefaults() *TimestampResponseParams
WithDefaults hydrates default values in the timestamp response params (not the query body).
All values with no default are reset to their zero value.
func (*TimestampResponseParams) WithHTTPClient ¶
func (o *TimestampResponseParams) WithHTTPClient(client *http.Client) *TimestampResponseParams
WithHTTPClient adds the HTTPClient to the timestamp response params
func (*TimestampResponseParams) WithQuery ¶
func (o *TimestampResponseParams) WithQuery(query *models.TimestampRequest) *TimestampResponseParams
WithQuery adds the query to the timestamp response params
func (*TimestampResponseParams) WithTimeout ¶
func (o *TimestampResponseParams) WithTimeout(timeout time.Duration) *TimestampResponseParams
WithTimeout adds the timeout to the timestamp response params
func (*TimestampResponseParams) WriteToRequest ¶
func (o *TimestampResponseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TimestampResponseReader ¶
type TimestampResponseReader struct {
// contains filtered or unexported fields
}
TimestampResponseReader is a Reader for the TimestampResponse structure.
func (*TimestampResponseReader) ReadResponse ¶
func (o *TimestampResponseReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.