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 GetTimestampResponseCreated
- 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 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
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 GetTimestampResponseCreatedCode int = 201
GetTimestampResponseCreatedCode is the HTTP code returned for type GetTimestampResponseCreated
const GetTimestampResponseNotImplementedCode int = 501
GetTimestampResponseNotImplementedCode is the HTTP code returned for type GetTimestampResponseNotImplemented
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 certficate chain for timestamping that can be used to validate trusted timestamps ¶
Returns the certficate 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
Generates a new timestamp response and creates a new log entry for the timestamp in the transparency log
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 GetTimestampResponseCreated ¶
type GetTimestampResponseCreated struct { /* In: Body */ Payload io.ReadCloser `json:"body,omitempty"` }
GetTimestampResponseCreated Returns a timestamp response and the location of the log entry in the transprency log
swagger:response getTimestampResponseCreated
func NewGetTimestampResponseCreated ¶
func NewGetTimestampResponseCreated() *GetTimestampResponseCreated
NewGetTimestampResponseCreated creates GetTimestampResponseCreated with default headers values
func (*GetTimestampResponseCreated) SetPayload ¶
func (o *GetTimestampResponseCreated) SetPayload(payload io.ReadCloser)
SetPayload sets the payload to the get timestamp response created response
func (*GetTimestampResponseCreated) WithPayload ¶
func (o *GetTimestampResponseCreated) WithPayload(payload io.ReadCloser) *GetTimestampResponseCreated
WithPayload adds the payload to the get timestamp response created response
func (*GetTimestampResponseCreated) WriteResponse ¶
func (o *GetTimestampResponseCreated) 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 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