Documentation ¶
Index ¶
- Constants
- type GetTimestampCertChain
- type GetTimestampCertChainDefault
- func (o *GetTimestampCertChainDefault) SetPayload(payload *models.Error)
- func (o *GetTimestampCertChainDefault) SetStatusCode(code int)
- func (o *GetTimestampCertChainDefault) WithPayload(payload *models.Error) *GetTimestampCertChainDefault
- func (o *GetTimestampCertChainDefault) WithStatusCode(code int) *GetTimestampCertChainDefault
- func (o *GetTimestampCertChainDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetTimestampCertChainHandler
- type GetTimestampCertChainHandlerFunc
- type GetTimestampCertChainNotFound
- type GetTimestampCertChainOK
- type GetTimestampCertChainParams
- type GetTimestampCertChainURL
- func (o *GetTimestampCertChainURL) Build() (*url.URL, error)
- func (o *GetTimestampCertChainURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetTimestampCertChainURL) Must(u *url.URL, err error) *url.URL
- func (o *GetTimestampCertChainURL) SetBasePath(bp string)
- func (o *GetTimestampCertChainURL) String() string
- func (o *GetTimestampCertChainURL) StringFull(scheme, host string) string
- func (o *GetTimestampCertChainURL) WithBasePath(bp string) *GetTimestampCertChainURL
- type GetTimestampResponse
- type GetTimestampResponseBadRequest
- type GetTimestampResponseDefault
- func (o *GetTimestampResponseDefault) SetPayload(payload *models.Error)
- func (o *GetTimestampResponseDefault) SetStatusCode(code int)
- func (o *GetTimestampResponseDefault) WithPayload(payload *models.Error) *GetTimestampResponseDefault
- func (o *GetTimestampResponseDefault) WithStatusCode(code int) *GetTimestampResponseDefault
- func (o *GetTimestampResponseDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetTimestampResponseHandler
- type GetTimestampResponseHandlerFunc
- type GetTimestampResponseNotImplemented
- type GetTimestampResponseOK
- type GetTimestampResponseParams
- type GetTimestampResponseURL
- func (o *GetTimestampResponseURL) Build() (*url.URL, error)
- func (o *GetTimestampResponseURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetTimestampResponseURL) Must(u *url.URL, err error) *url.URL
- func (o *GetTimestampResponseURL) SetBasePath(bp string)
- func (o *GetTimestampResponseURL) String() string
- func (o *GetTimestampResponseURL) StringFull(scheme, host string) string
- func (o *GetTimestampResponseURL) WithBasePath(bp string) *GetTimestampResponseURL
- type TimestampResponse
- type TimestampResponseBadRequest
- type TimestampResponseDefault
- func (o *TimestampResponseDefault) SetPayload(payload *models.Error)
- func (o *TimestampResponseDefault) SetStatusCode(code int)
- func (o *TimestampResponseDefault) WithPayload(payload *models.Error) *TimestampResponseDefault
- func (o *TimestampResponseDefault) WithStatusCode(code int) *TimestampResponseDefault
- func (o *TimestampResponseDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type TimestampResponseHandler
- type TimestampResponseHandlerFunc
- type TimestampResponseOK
- type TimestampResponseParams
- type TimestampResponseURL
- func (o *TimestampResponseURL) Build() (*url.URL, error)
- func (o *TimestampResponseURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *TimestampResponseURL) Must(u *url.URL, err error) *url.URL
- func (o *TimestampResponseURL) SetBasePath(bp string)
- func (o *TimestampResponseURL) String() string
- func (o *TimestampResponseURL) StringFull(scheme, host string) string
- func (o *TimestampResponseURL) WithBasePath(bp string) *TimestampResponseURL
Constants ¶
const GetTimestampCertChainNotFoundCode int = 404
GetTimestampCertChainNotFoundCode is the HTTP code returned for type GetTimestampCertChainNotFound
const GetTimestampCertChainOKCode int = 200
GetTimestampCertChainOKCode is the HTTP code returned for type GetTimestampCertChainOK
const GetTimestampResponseBadRequestCode int = 400
GetTimestampResponseBadRequestCode is the HTTP code returned for type GetTimestampResponseBadRequest
const GetTimestampResponseNotImplementedCode int = 501
GetTimestampResponseNotImplementedCode is the HTTP code returned for type GetTimestampResponseNotImplemented
const GetTimestampResponseOKCode int = 200
GetTimestampResponseOKCode is the HTTP code returned for type GetTimestampResponseOK
const TimestampResponseBadRequestCode int = 400
TimestampResponseBadRequestCode is the HTTP code returned for type TimestampResponseBadRequest
const TimestampResponseOKCode int = 200
TimestampResponseOKCode is the HTTP code returned for type TimestampResponseOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetTimestampCertChain ¶
type GetTimestampCertChain struct { Context *middleware.Context Handler GetTimestampCertChainHandler }
GetTimestampCertChain swagger:route GET /api/v1/timestamp/certchain timestamp getTimestampCertChain
Retrieve 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 NewGetTimestampCertChain ¶
func NewGetTimestampCertChain(ctx *middleware.Context, handler GetTimestampCertChainHandler) *GetTimestampCertChain
NewGetTimestampCertChain creates a new http.Handler for the get timestamp cert chain operation
func (*GetTimestampCertChain) ServeHTTP ¶
func (o *GetTimestampCertChain) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetTimestampCertChainDefault ¶
type GetTimestampCertChainDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetTimestampCertChainDefault There was an internal error in the server while processing the request
swagger:response getTimestampCertChainDefault
func NewGetTimestampCertChainDefault ¶
func NewGetTimestampCertChainDefault(code int) *GetTimestampCertChainDefault
NewGetTimestampCertChainDefault creates GetTimestampCertChainDefault with default headers values
func (*GetTimestampCertChainDefault) SetPayload ¶
func (o *GetTimestampCertChainDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get timestamp cert chain default response
func (*GetTimestampCertChainDefault) SetStatusCode ¶
func (o *GetTimestampCertChainDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get timestamp cert chain default response
func (*GetTimestampCertChainDefault) WithPayload ¶
func (o *GetTimestampCertChainDefault) WithPayload(payload *models.Error) *GetTimestampCertChainDefault
WithPayload adds the payload to the get timestamp cert chain default response
func (*GetTimestampCertChainDefault) WithStatusCode ¶
func (o *GetTimestampCertChainDefault) WithStatusCode(code int) *GetTimestampCertChainDefault
WithStatusCode adds the status to the get timestamp cert chain default response
func (*GetTimestampCertChainDefault) WriteResponse ¶
func (o *GetTimestampCertChainDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetTimestampCertChainHandler ¶
type GetTimestampCertChainHandler interface {
Handle(GetTimestampCertChainParams) middleware.Responder
}
GetTimestampCertChainHandler interface for that can handle valid get timestamp cert chain params
type GetTimestampCertChainHandlerFunc ¶
type GetTimestampCertChainHandlerFunc func(GetTimestampCertChainParams) middleware.Responder
GetTimestampCertChainHandlerFunc turns a function with the right signature into a get timestamp cert chain handler
func (GetTimestampCertChainHandlerFunc) Handle ¶
func (fn GetTimestampCertChainHandlerFunc) Handle(params GetTimestampCertChainParams) middleware.Responder
Handle executing the request and returning a response
type GetTimestampCertChainNotFound ¶
type GetTimestampCertChainNotFound struct { }
GetTimestampCertChainNotFound The content requested could not be found
swagger:response getTimestampCertChainNotFound
func NewGetTimestampCertChainNotFound ¶
func NewGetTimestampCertChainNotFound() *GetTimestampCertChainNotFound
NewGetTimestampCertChainNotFound creates GetTimestampCertChainNotFound with default headers values
func (*GetTimestampCertChainNotFound) WriteResponse ¶
func (o *GetTimestampCertChainNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetTimestampCertChainOK ¶
type GetTimestampCertChainOK struct { /* In: Body */ Payload string `json:"body,omitempty"` }
GetTimestampCertChainOK The PEM encoded cert chain
swagger:response getTimestampCertChainOK
func NewGetTimestampCertChainOK ¶
func NewGetTimestampCertChainOK() *GetTimestampCertChainOK
NewGetTimestampCertChainOK creates GetTimestampCertChainOK with default headers values
func (*GetTimestampCertChainOK) SetPayload ¶
func (o *GetTimestampCertChainOK) SetPayload(payload string)
SetPayload sets the payload to the get timestamp cert chain o k response
func (*GetTimestampCertChainOK) WithPayload ¶
func (o *GetTimestampCertChainOK) WithPayload(payload string) *GetTimestampCertChainOK
WithPayload adds the payload to the get timestamp cert chain o k response
func (*GetTimestampCertChainOK) WriteResponse ¶
func (o *GetTimestampCertChainOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetTimestampCertChainParams ¶
type GetTimestampCertChainParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
GetTimestampCertChainParams contains all the bound params for the get timestamp cert chain operation typically these are obtained from a http.Request
swagger:parameters getTimestampCertChain
func NewGetTimestampCertChainParams ¶
func NewGetTimestampCertChainParams() GetTimestampCertChainParams
NewGetTimestampCertChainParams creates a new GetTimestampCertChainParams object
There are no default values defined in the spec.
func (*GetTimestampCertChainParams) BindRequest ¶
func (o *GetTimestampCertChainParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetTimestampCertChainParams() beforehand.
type GetTimestampCertChainURL ¶
type GetTimestampCertChainURL struct {
// contains filtered or unexported fields
}
GetTimestampCertChainURL generates an URL for the get timestamp cert chain operation
func (*GetTimestampCertChainURL) Build ¶
func (o *GetTimestampCertChainURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetTimestampCertChainURL) BuildFull ¶
func (o *GetTimestampCertChainURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetTimestampCertChainURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetTimestampCertChainURL) SetBasePath ¶
func (o *GetTimestampCertChainURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetTimestampCertChainURL) String ¶
func (o *GetTimestampCertChainURL) String() string
String returns the string representation of the path with query string
func (*GetTimestampCertChainURL) StringFull ¶
func (o *GetTimestampCertChainURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetTimestampCertChainURL) WithBasePath ¶
func (o *GetTimestampCertChainURL) WithBasePath(bp string) *GetTimestampCertChainURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetTimestampResponse ¶
type GetTimestampResponse struct { Context *middleware.Context Handler GetTimestampResponseHandler }
GetTimestampResponse swagger:route POST /api/v1/timestamp timestamp getTimestampResponse
Returns a timestamp response generated by Rekor
func NewGetTimestampResponse ¶
func NewGetTimestampResponse(ctx *middleware.Context, handler GetTimestampResponseHandler) *GetTimestampResponse
NewGetTimestampResponse creates a new http.Handler for the get timestamp response operation
func (*GetTimestampResponse) ServeHTTP ¶
func (o *GetTimestampResponse) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetTimestampResponseBadRequest ¶
type GetTimestampResponseBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetTimestampResponseBadRequest The content supplied to the server was invalid
swagger:response getTimestampResponseBadRequest
func NewGetTimestampResponseBadRequest ¶
func NewGetTimestampResponseBadRequest() *GetTimestampResponseBadRequest
NewGetTimestampResponseBadRequest creates GetTimestampResponseBadRequest with default headers values
func (*GetTimestampResponseBadRequest) SetPayload ¶
func (o *GetTimestampResponseBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the get timestamp response bad request response
func (*GetTimestampResponseBadRequest) WithPayload ¶
func (o *GetTimestampResponseBadRequest) WithPayload(payload *models.Error) *GetTimestampResponseBadRequest
WithPayload adds the payload to the get timestamp response bad request response
func (*GetTimestampResponseBadRequest) WriteResponse ¶
func (o *GetTimestampResponseBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetTimestampResponseDefault ¶
type GetTimestampResponseDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetTimestampResponseDefault There was an internal error in the server while processing the request
swagger:response getTimestampResponseDefault
func NewGetTimestampResponseDefault ¶
func NewGetTimestampResponseDefault(code int) *GetTimestampResponseDefault
NewGetTimestampResponseDefault creates GetTimestampResponseDefault with default headers values
func (*GetTimestampResponseDefault) SetPayload ¶
func (o *GetTimestampResponseDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get timestamp response default response
func (*GetTimestampResponseDefault) SetStatusCode ¶
func (o *GetTimestampResponseDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get timestamp response default response
func (*GetTimestampResponseDefault) WithPayload ¶
func (o *GetTimestampResponseDefault) WithPayload(payload *models.Error) *GetTimestampResponseDefault
WithPayload adds the payload to the get timestamp response default response
func (*GetTimestampResponseDefault) WithStatusCode ¶
func (o *GetTimestampResponseDefault) WithStatusCode(code int) *GetTimestampResponseDefault
WithStatusCode adds the status to the get timestamp response default response
func (*GetTimestampResponseDefault) WriteResponse ¶
func (o *GetTimestampResponseDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetTimestampResponseHandler ¶
type GetTimestampResponseHandler interface {
Handle(GetTimestampResponseParams) middleware.Responder
}
GetTimestampResponseHandler interface for that can handle valid get timestamp response params
type GetTimestampResponseHandlerFunc ¶
type GetTimestampResponseHandlerFunc func(GetTimestampResponseParams) middleware.Responder
GetTimestampResponseHandlerFunc turns a function with the right signature into a get timestamp response handler
func (GetTimestampResponseHandlerFunc) Handle ¶
func (fn GetTimestampResponseHandlerFunc) Handle(params GetTimestampResponseParams) middleware.Responder
Handle executing the request and returning a response
type GetTimestampResponseNotImplemented ¶
type GetTimestampResponseNotImplemented struct { }
GetTimestampResponseNotImplemented The content requested is not implemented
swagger:response getTimestampResponseNotImplemented
func NewGetTimestampResponseNotImplemented ¶
func NewGetTimestampResponseNotImplemented() *GetTimestampResponseNotImplemented
NewGetTimestampResponseNotImplemented creates GetTimestampResponseNotImplemented with default headers values
func (*GetTimestampResponseNotImplemented) WriteResponse ¶
func (o *GetTimestampResponseNotImplemented) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetTimestampResponseOK ¶
type GetTimestampResponseOK struct { /* In: Body */ Payload io.ReadCloser `json:"body,omitempty"` }
GetTimestampResponseOK Returns a timestamp response
swagger:response getTimestampResponseOK
func NewGetTimestampResponseOK ¶
func NewGetTimestampResponseOK() *GetTimestampResponseOK
NewGetTimestampResponseOK creates GetTimestampResponseOK with default headers values
func (*GetTimestampResponseOK) SetPayload ¶
func (o *GetTimestampResponseOK) SetPayload(payload io.ReadCloser)
SetPayload sets the payload to the get timestamp response o k response
func (*GetTimestampResponseOK) WithPayload ¶
func (o *GetTimestampResponseOK) WithPayload(payload io.ReadCloser) *GetTimestampResponseOK
WithPayload adds the payload to the get timestamp response o k response
func (*GetTimestampResponseOK) WriteResponse ¶
func (o *GetTimestampResponseOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetTimestampResponseParams ¶
type GetTimestampResponseParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Request io.ReadCloser }
GetTimestampResponseParams contains all the bound params for the get timestamp response operation typically these are obtained from a http.Request
swagger:parameters getTimestampResponse
func NewGetTimestampResponseParams ¶
func NewGetTimestampResponseParams() GetTimestampResponseParams
NewGetTimestampResponseParams creates a new GetTimestampResponseParams object
There are no default values defined in the spec.
func (*GetTimestampResponseParams) BindRequest ¶
func (o *GetTimestampResponseParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetTimestampResponseParams() beforehand.
type GetTimestampResponseURL ¶
type GetTimestampResponseURL struct {
// contains filtered or unexported fields
}
GetTimestampResponseURL generates an URL for the get timestamp response operation
func (*GetTimestampResponseURL) Build ¶
func (o *GetTimestampResponseURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetTimestampResponseURL) BuildFull ¶
func (o *GetTimestampResponseURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetTimestampResponseURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetTimestampResponseURL) SetBasePath ¶
func (o *GetTimestampResponseURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetTimestampResponseURL) String ¶
func (o *GetTimestampResponseURL) String() string
String returns the string representation of the path with query string
func (*GetTimestampResponseURL) StringFull ¶
func (o *GetTimestampResponseURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetTimestampResponseURL) WithBasePath ¶
func (o *GetTimestampResponseURL) WithBasePath(bp string) *GetTimestampResponseURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type TimestampResponse ¶
type TimestampResponse struct { Context *middleware.Context Handler TimestampResponseHandler }
TimestampResponse swagger:route POST /api/v1/tsr timestamp timestampResponse
Generates a timestamp response
func NewTimestampResponse ¶
func NewTimestampResponse(ctx *middleware.Context, handler TimestampResponseHandler) *TimestampResponse
NewTimestampResponse creates a new http.Handler for the timestamp response operation
func (*TimestampResponse) ServeHTTP ¶
func (o *TimestampResponse) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type TimestampResponseBadRequest ¶
type TimestampResponseBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
TimestampResponseBadRequest The content supplied to the server was invalid
swagger:response timestampResponseBadRequest
func NewTimestampResponseBadRequest ¶
func NewTimestampResponseBadRequest() *TimestampResponseBadRequest
NewTimestampResponseBadRequest creates TimestampResponseBadRequest with default headers values
func (*TimestampResponseBadRequest) SetPayload ¶
func (o *TimestampResponseBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the timestamp response bad request response
func (*TimestampResponseBadRequest) WithPayload ¶
func (o *TimestampResponseBadRequest) WithPayload(payload *models.Error) *TimestampResponseBadRequest
WithPayload adds the payload to the timestamp response bad request response
func (*TimestampResponseBadRequest) WriteResponse ¶
func (o *TimestampResponseBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TimestampResponseDefault ¶
type TimestampResponseDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
TimestampResponseDefault There was an internal error in the server while processing the request
swagger:response timestampResponseDefault
func NewTimestampResponseDefault ¶
func NewTimestampResponseDefault(code int) *TimestampResponseDefault
NewTimestampResponseDefault creates TimestampResponseDefault with default headers values
func (*TimestampResponseDefault) SetPayload ¶
func (o *TimestampResponseDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the timestamp response default response
func (*TimestampResponseDefault) SetStatusCode ¶
func (o *TimestampResponseDefault) SetStatusCode(code int)
SetStatusCode sets the status to the timestamp response default response
func (*TimestampResponseDefault) WithPayload ¶
func (o *TimestampResponseDefault) WithPayload(payload *models.Error) *TimestampResponseDefault
WithPayload adds the payload to the timestamp response default response
func (*TimestampResponseDefault) WithStatusCode ¶
func (o *TimestampResponseDefault) WithStatusCode(code int) *TimestampResponseDefault
WithStatusCode adds the status to the timestamp response default response
func (*TimestampResponseDefault) WriteResponse ¶
func (o *TimestampResponseDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TimestampResponseHandler ¶
type TimestampResponseHandler interface {
Handle(TimestampResponseParams) middleware.Responder
}
TimestampResponseHandler interface for that can handle valid timestamp response params
type TimestampResponseHandlerFunc ¶
type TimestampResponseHandlerFunc func(TimestampResponseParams) middleware.Responder
TimestampResponseHandlerFunc turns a function with the right signature into a timestamp response handler
func (TimestampResponseHandlerFunc) Handle ¶
func (fn TimestampResponseHandlerFunc) Handle(params TimestampResponseParams) middleware.Responder
Handle executing the request and returning a response
type TimestampResponseOK ¶
type TimestampResponseOK struct { /* In: Body */ Payload *models.TimestampResponse `json:"body,omitempty"` }
TimestampResponseOK Returns a timestamp response
swagger:response timestampResponseOK
func NewTimestampResponseOK ¶
func NewTimestampResponseOK() *TimestampResponseOK
NewTimestampResponseOK creates TimestampResponseOK with default headers values
func (*TimestampResponseOK) SetPayload ¶
func (o *TimestampResponseOK) SetPayload(payload *models.TimestampResponse)
SetPayload sets the payload to the timestamp response o k response
func (*TimestampResponseOK) WithPayload ¶
func (o *TimestampResponseOK) WithPayload(payload *models.TimestampResponse) *TimestampResponseOK
WithPayload adds the payload to the timestamp response o k response
func (*TimestampResponseOK) WriteResponse ¶
func (o *TimestampResponseOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TimestampResponseParams ¶
type TimestampResponseParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Query *models.TimestampRequest }
TimestampResponseParams contains all the bound params for the timestamp response operation typically these are obtained from a http.Request
swagger:parameters timestampResponse
func NewTimestampResponseParams ¶
func NewTimestampResponseParams() TimestampResponseParams
NewTimestampResponseParams creates a new TimestampResponseParams object
There are no default values defined in the spec.
func (*TimestampResponseParams) BindRequest ¶
func (o *TimestampResponseParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewTimestampResponseParams() beforehand.
type TimestampResponseURL ¶
type TimestampResponseURL struct {
// contains filtered or unexported fields
}
TimestampResponseURL generates an URL for the timestamp response operation
func (*TimestampResponseURL) Build ¶
func (o *TimestampResponseURL) Build() (*url.URL, error)
Build a url path and query string
func (*TimestampResponseURL) BuildFull ¶
func (o *TimestampResponseURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*TimestampResponseURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*TimestampResponseURL) SetBasePath ¶
func (o *TimestampResponseURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*TimestampResponseURL) String ¶
func (o *TimestampResponseURL) String() string
String returns the string representation of the path with query string
func (*TimestampResponseURL) StringFull ¶
func (o *TimestampResponseURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*TimestampResponseURL) WithBasePath ¶
func (o *TimestampResponseURL) WithBasePath(bp string) *TimestampResponseURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
Source Files ¶
- get_timestamp_cert_chain.go
- get_timestamp_cert_chain_parameters.go
- get_timestamp_cert_chain_responses.go
- get_timestamp_cert_chain_urlbuilder.go
- get_timestamp_response.go
- get_timestamp_response_parameters.go
- get_timestamp_response_responses.go
- get_timestamp_response_urlbuilder.go
- timestamp_response.go
- timestamp_response_parameters.go
- timestamp_response_responses.go
- timestamp_response_urlbuilder.go