Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateLogEntry(params *CreateLogEntryParams, opts ...ClientOption) (*CreateLogEntryCreated, error)
- func (a *Client) GetLogEntryByIndex(params *GetLogEntryByIndexParams, opts ...ClientOption) (*GetLogEntryByIndexOK, error)
- func (a *Client) GetLogEntryByUUID(params *GetLogEntryByUUIDParams, opts ...ClientOption) (*GetLogEntryByUUIDOK, error)
- func (a *Client) SearchLogQuery(params *SearchLogQueryParams, opts ...ClientOption) (*SearchLogQueryOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateLogEntryBadRequest
- type CreateLogEntryConflict
- type CreateLogEntryCreated
- type CreateLogEntryDefault
- type CreateLogEntryParams
- func NewCreateLogEntryParams() *CreateLogEntryParams
- func NewCreateLogEntryParamsWithContext(ctx context.Context) *CreateLogEntryParams
- func NewCreateLogEntryParamsWithHTTPClient(client *http.Client) *CreateLogEntryParams
- func NewCreateLogEntryParamsWithTimeout(timeout time.Duration) *CreateLogEntryParams
- func (o *CreateLogEntryParams) SetContext(ctx context.Context)
- func (o *CreateLogEntryParams) SetDefaults()
- func (o *CreateLogEntryParams) SetHTTPClient(client *http.Client)
- func (o *CreateLogEntryParams) SetProposedEntry(proposedEntry models.ProposedEntry)
- func (o *CreateLogEntryParams) SetTimeout(timeout time.Duration)
- func (o *CreateLogEntryParams) WithContext(ctx context.Context) *CreateLogEntryParams
- func (o *CreateLogEntryParams) WithDefaults() *CreateLogEntryParams
- func (o *CreateLogEntryParams) WithHTTPClient(client *http.Client) *CreateLogEntryParams
- func (o *CreateLogEntryParams) WithProposedEntry(proposedEntry models.ProposedEntry) *CreateLogEntryParams
- func (o *CreateLogEntryParams) WithTimeout(timeout time.Duration) *CreateLogEntryParams
- func (o *CreateLogEntryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateLogEntryReader
- type GetLogEntryByIndexDefault
- type GetLogEntryByIndexNotFound
- type GetLogEntryByIndexOK
- type GetLogEntryByIndexParams
- func NewGetLogEntryByIndexParams() *GetLogEntryByIndexParams
- func NewGetLogEntryByIndexParamsWithContext(ctx context.Context) *GetLogEntryByIndexParams
- func NewGetLogEntryByIndexParamsWithHTTPClient(client *http.Client) *GetLogEntryByIndexParams
- func NewGetLogEntryByIndexParamsWithTimeout(timeout time.Duration) *GetLogEntryByIndexParams
- func (o *GetLogEntryByIndexParams) SetContext(ctx context.Context)
- func (o *GetLogEntryByIndexParams) SetDefaults()
- func (o *GetLogEntryByIndexParams) SetHTTPClient(client *http.Client)
- func (o *GetLogEntryByIndexParams) SetLogIndex(logIndex int64)
- func (o *GetLogEntryByIndexParams) SetTimeout(timeout time.Duration)
- func (o *GetLogEntryByIndexParams) WithContext(ctx context.Context) *GetLogEntryByIndexParams
- func (o *GetLogEntryByIndexParams) WithDefaults() *GetLogEntryByIndexParams
- func (o *GetLogEntryByIndexParams) WithHTTPClient(client *http.Client) *GetLogEntryByIndexParams
- func (o *GetLogEntryByIndexParams) WithLogIndex(logIndex int64) *GetLogEntryByIndexParams
- func (o *GetLogEntryByIndexParams) WithTimeout(timeout time.Duration) *GetLogEntryByIndexParams
- func (o *GetLogEntryByIndexParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLogEntryByIndexReader
- type GetLogEntryByUUIDDefault
- type GetLogEntryByUUIDNotFound
- type GetLogEntryByUUIDOK
- type GetLogEntryByUUIDParams
- func NewGetLogEntryByUUIDParams() *GetLogEntryByUUIDParams
- func NewGetLogEntryByUUIDParamsWithContext(ctx context.Context) *GetLogEntryByUUIDParams
- func NewGetLogEntryByUUIDParamsWithHTTPClient(client *http.Client) *GetLogEntryByUUIDParams
- func NewGetLogEntryByUUIDParamsWithTimeout(timeout time.Duration) *GetLogEntryByUUIDParams
- func (o *GetLogEntryByUUIDParams) SetContext(ctx context.Context)
- func (o *GetLogEntryByUUIDParams) SetDefaults()
- func (o *GetLogEntryByUUIDParams) SetEntryUUID(entryUUID string)
- func (o *GetLogEntryByUUIDParams) SetHTTPClient(client *http.Client)
- func (o *GetLogEntryByUUIDParams) SetTimeout(timeout time.Duration)
- func (o *GetLogEntryByUUIDParams) WithContext(ctx context.Context) *GetLogEntryByUUIDParams
- func (o *GetLogEntryByUUIDParams) WithDefaults() *GetLogEntryByUUIDParams
- func (o *GetLogEntryByUUIDParams) WithEntryUUID(entryUUID string) *GetLogEntryByUUIDParams
- func (o *GetLogEntryByUUIDParams) WithHTTPClient(client *http.Client) *GetLogEntryByUUIDParams
- func (o *GetLogEntryByUUIDParams) WithTimeout(timeout time.Duration) *GetLogEntryByUUIDParams
- func (o *GetLogEntryByUUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLogEntryByUUIDReader
- type SearchLogQueryBadRequest
- type SearchLogQueryDefault
- type SearchLogQueryOK
- type SearchLogQueryParams
- func NewSearchLogQueryParams() *SearchLogQueryParams
- func NewSearchLogQueryParamsWithContext(ctx context.Context) *SearchLogQueryParams
- func NewSearchLogQueryParamsWithHTTPClient(client *http.Client) *SearchLogQueryParams
- func NewSearchLogQueryParamsWithTimeout(timeout time.Duration) *SearchLogQueryParams
- func (o *SearchLogQueryParams) SetContext(ctx context.Context)
- func (o *SearchLogQueryParams) SetDefaults()
- func (o *SearchLogQueryParams) SetEntry(entry *models.SearchLogQuery)
- func (o *SearchLogQueryParams) SetHTTPClient(client *http.Client)
- func (o *SearchLogQueryParams) SetTimeout(timeout time.Duration)
- func (o *SearchLogQueryParams) WithContext(ctx context.Context) *SearchLogQueryParams
- func (o *SearchLogQueryParams) WithDefaults() *SearchLogQueryParams
- func (o *SearchLogQueryParams) WithEntry(entry *models.SearchLogQuery) *SearchLogQueryParams
- func (o *SearchLogQueryParams) WithHTTPClient(client *http.Client) *SearchLogQueryParams
- func (o *SearchLogQueryParams) WithTimeout(timeout time.Duration) *SearchLogQueryParams
- func (o *SearchLogQueryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchLogQueryReader
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 entries API
func (*Client) CreateLogEntry ¶
func (a *Client) CreateLogEntry(params *CreateLogEntryParams, opts ...ClientOption) (*CreateLogEntryCreated, error)
CreateLogEntry creates an entry in the transparency log
Creates an entry in the transparency log for a detached signature, public key, and content. Items can be included in the request or fetched by the server when URLs are specified.
func (*Client) GetLogEntryByIndex ¶
func (a *Client) GetLogEntryByIndex(params *GetLogEntryByIndexParams, opts ...ClientOption) (*GetLogEntryByIndexOK, error)
GetLogEntryByIndex retrieves an entry and inclusion proof from the transparency log if it exists by index
func (*Client) GetLogEntryByUUID ¶
func (a *Client) GetLogEntryByUUID(params *GetLogEntryByUUIDParams, opts ...ClientOption) (*GetLogEntryByUUIDOK, error)
GetLogEntryByUUID gets log entry and information required to generate an inclusion proof for the entry in the transparency log
Returns the entry, root hash, tree size, and a list of hashes that can be used to calculate proof of an entry being included in the transparency log
func (*Client) SearchLogQuery ¶
func (a *Client) SearchLogQuery(params *SearchLogQueryParams, opts ...ClientOption) (*SearchLogQueryOK, error)
SearchLogQuery searches transparency log for one or more log entries
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v0.2.0
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateLogEntry(params *CreateLogEntryParams, opts ...ClientOption) (*CreateLogEntryCreated, error) GetLogEntryByIndex(params *GetLogEntryByIndexParams, opts ...ClientOption) (*GetLogEntryByIndexOK, error) GetLogEntryByUUID(params *GetLogEntryByUUIDParams, opts ...ClientOption) (*GetLogEntryByUUIDOK, error) SearchLogQuery(params *SearchLogQueryParams, opts ...ClientOption) (*SearchLogQueryOK, 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 entries API client.
type CreateLogEntryBadRequest ¶
CreateLogEntryBadRequest describes a response with status code 400, with default header values.
The content supplied to the server was invalid
func NewCreateLogEntryBadRequest ¶
func NewCreateLogEntryBadRequest() *CreateLogEntryBadRequest
NewCreateLogEntryBadRequest creates a CreateLogEntryBadRequest with default headers values
func (*CreateLogEntryBadRequest) Error ¶
func (o *CreateLogEntryBadRequest) Error() string
func (*CreateLogEntryBadRequest) GetPayload ¶
func (o *CreateLogEntryBadRequest) GetPayload() *models.Error
type CreateLogEntryConflict ¶
CreateLogEntryConflict describes a response with status code 409, with default header values.
The request conflicts with the current state of the transparency log
func NewCreateLogEntryConflict ¶
func NewCreateLogEntryConflict() *CreateLogEntryConflict
NewCreateLogEntryConflict creates a CreateLogEntryConflict with default headers values
func (*CreateLogEntryConflict) Error ¶
func (o *CreateLogEntryConflict) Error() string
func (*CreateLogEntryConflict) GetPayload ¶
func (o *CreateLogEntryConflict) GetPayload() *models.Error
type CreateLogEntryCreated ¶
type CreateLogEntryCreated struct { /* UUID of log entry */ ETag string /* URI location of log entry Format: uri */ Location strfmt.URI Payload models.LogEntry }
CreateLogEntryCreated describes a response with status code 201, with default header values.
Returns the entry created in the transparency log
func NewCreateLogEntryCreated ¶
func NewCreateLogEntryCreated() *CreateLogEntryCreated
NewCreateLogEntryCreated creates a CreateLogEntryCreated with default headers values
func (*CreateLogEntryCreated) Error ¶
func (o *CreateLogEntryCreated) Error() string
func (*CreateLogEntryCreated) GetPayload ¶
func (o *CreateLogEntryCreated) GetPayload() models.LogEntry
type CreateLogEntryDefault ¶
type CreateLogEntryDefault struct { Payload *models.Error // contains filtered or unexported fields }
CreateLogEntryDefault describes a response with status code -1, with default header values.
There was an internal error in the server while processing the request
func NewCreateLogEntryDefault ¶
func NewCreateLogEntryDefault(code int) *CreateLogEntryDefault
NewCreateLogEntryDefault creates a CreateLogEntryDefault with default headers values
func (*CreateLogEntryDefault) Code ¶
func (o *CreateLogEntryDefault) Code() int
Code gets the status code for the create log entry default response
func (*CreateLogEntryDefault) Error ¶
func (o *CreateLogEntryDefault) Error() string
func (*CreateLogEntryDefault) GetPayload ¶
func (o *CreateLogEntryDefault) GetPayload() *models.Error
type CreateLogEntryParams ¶
type CreateLogEntryParams struct { // ProposedEntry. ProposedEntry models.ProposedEntry Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateLogEntryParams contains all the parameters to send to the API endpoint
for the create log entry operation. Typically these are written to a http.Request.
func NewCreateLogEntryParams ¶
func NewCreateLogEntryParams() *CreateLogEntryParams
NewCreateLogEntryParams creates a new CreateLogEntryParams 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 NewCreateLogEntryParamsWithContext ¶
func NewCreateLogEntryParamsWithContext(ctx context.Context) *CreateLogEntryParams
NewCreateLogEntryParamsWithContext creates a new CreateLogEntryParams object with the ability to set a context for a request.
func NewCreateLogEntryParamsWithHTTPClient ¶
func NewCreateLogEntryParamsWithHTTPClient(client *http.Client) *CreateLogEntryParams
NewCreateLogEntryParamsWithHTTPClient creates a new CreateLogEntryParams object with the ability to set a custom HTTPClient for a request.
func NewCreateLogEntryParamsWithTimeout ¶
func NewCreateLogEntryParamsWithTimeout(timeout time.Duration) *CreateLogEntryParams
NewCreateLogEntryParamsWithTimeout creates a new CreateLogEntryParams object with the ability to set a timeout on a request.
func (*CreateLogEntryParams) SetContext ¶
func (o *CreateLogEntryParams) SetContext(ctx context.Context)
SetContext adds the context to the create log entry params
func (*CreateLogEntryParams) SetDefaults ¶ added in v0.2.0
func (o *CreateLogEntryParams) SetDefaults()
SetDefaults hydrates default values in the create log entry params (not the query body).
All values with no default are reset to their zero value.
func (*CreateLogEntryParams) SetHTTPClient ¶
func (o *CreateLogEntryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create log entry params
func (*CreateLogEntryParams) SetProposedEntry ¶
func (o *CreateLogEntryParams) SetProposedEntry(proposedEntry models.ProposedEntry)
SetProposedEntry adds the proposedEntry to the create log entry params
func (*CreateLogEntryParams) SetTimeout ¶
func (o *CreateLogEntryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create log entry params
func (*CreateLogEntryParams) WithContext ¶
func (o *CreateLogEntryParams) WithContext(ctx context.Context) *CreateLogEntryParams
WithContext adds the context to the create log entry params
func (*CreateLogEntryParams) WithDefaults ¶ added in v0.2.0
func (o *CreateLogEntryParams) WithDefaults() *CreateLogEntryParams
WithDefaults hydrates default values in the create log entry params (not the query body).
All values with no default are reset to their zero value.
func (*CreateLogEntryParams) WithHTTPClient ¶
func (o *CreateLogEntryParams) WithHTTPClient(client *http.Client) *CreateLogEntryParams
WithHTTPClient adds the HTTPClient to the create log entry params
func (*CreateLogEntryParams) WithProposedEntry ¶
func (o *CreateLogEntryParams) WithProposedEntry(proposedEntry models.ProposedEntry) *CreateLogEntryParams
WithProposedEntry adds the proposedEntry to the create log entry params
func (*CreateLogEntryParams) WithTimeout ¶
func (o *CreateLogEntryParams) WithTimeout(timeout time.Duration) *CreateLogEntryParams
WithTimeout adds the timeout to the create log entry params
func (*CreateLogEntryParams) WriteToRequest ¶
func (o *CreateLogEntryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateLogEntryReader ¶
type CreateLogEntryReader struct {
// contains filtered or unexported fields
}
CreateLogEntryReader is a Reader for the CreateLogEntry structure.
func (*CreateLogEntryReader) ReadResponse ¶
func (o *CreateLogEntryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetLogEntryByIndexDefault ¶
type GetLogEntryByIndexDefault struct { Payload *models.Error // contains filtered or unexported fields }
GetLogEntryByIndexDefault describes a response with status code -1, with default header values.
There was an internal error in the server while processing the request
func NewGetLogEntryByIndexDefault ¶
func NewGetLogEntryByIndexDefault(code int) *GetLogEntryByIndexDefault
NewGetLogEntryByIndexDefault creates a GetLogEntryByIndexDefault with default headers values
func (*GetLogEntryByIndexDefault) Code ¶
func (o *GetLogEntryByIndexDefault) Code() int
Code gets the status code for the get log entry by index default response
func (*GetLogEntryByIndexDefault) Error ¶
func (o *GetLogEntryByIndexDefault) Error() string
func (*GetLogEntryByIndexDefault) GetPayload ¶
func (o *GetLogEntryByIndexDefault) GetPayload() *models.Error
type GetLogEntryByIndexNotFound ¶
type GetLogEntryByIndexNotFound struct { }
GetLogEntryByIndexNotFound describes a response with status code 404, with default header values.
The content requested could not be found
func NewGetLogEntryByIndexNotFound ¶
func NewGetLogEntryByIndexNotFound() *GetLogEntryByIndexNotFound
NewGetLogEntryByIndexNotFound creates a GetLogEntryByIndexNotFound with default headers values
func (*GetLogEntryByIndexNotFound) Error ¶
func (o *GetLogEntryByIndexNotFound) Error() string
type GetLogEntryByIndexOK ¶
GetLogEntryByIndexOK describes a response with status code 200, with default header values.
the entry in the transparency log requested along with an inclusion proof
func NewGetLogEntryByIndexOK ¶
func NewGetLogEntryByIndexOK() *GetLogEntryByIndexOK
NewGetLogEntryByIndexOK creates a GetLogEntryByIndexOK with default headers values
func (*GetLogEntryByIndexOK) Error ¶
func (o *GetLogEntryByIndexOK) Error() string
func (*GetLogEntryByIndexOK) GetPayload ¶
func (o *GetLogEntryByIndexOK) GetPayload() models.LogEntry
type GetLogEntryByIndexParams ¶
type GetLogEntryByIndexParams struct { /* LogIndex. specifies the index of the entry in the transparency log to be retrieved */ LogIndex int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetLogEntryByIndexParams contains all the parameters to send to the API endpoint
for the get log entry by index operation. Typically these are written to a http.Request.
func NewGetLogEntryByIndexParams ¶
func NewGetLogEntryByIndexParams() *GetLogEntryByIndexParams
NewGetLogEntryByIndexParams creates a new GetLogEntryByIndexParams 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 NewGetLogEntryByIndexParamsWithContext ¶
func NewGetLogEntryByIndexParamsWithContext(ctx context.Context) *GetLogEntryByIndexParams
NewGetLogEntryByIndexParamsWithContext creates a new GetLogEntryByIndexParams object with the ability to set a context for a request.
func NewGetLogEntryByIndexParamsWithHTTPClient ¶
func NewGetLogEntryByIndexParamsWithHTTPClient(client *http.Client) *GetLogEntryByIndexParams
NewGetLogEntryByIndexParamsWithHTTPClient creates a new GetLogEntryByIndexParams object with the ability to set a custom HTTPClient for a request.
func NewGetLogEntryByIndexParamsWithTimeout ¶
func NewGetLogEntryByIndexParamsWithTimeout(timeout time.Duration) *GetLogEntryByIndexParams
NewGetLogEntryByIndexParamsWithTimeout creates a new GetLogEntryByIndexParams object with the ability to set a timeout on a request.
func (*GetLogEntryByIndexParams) SetContext ¶
func (o *GetLogEntryByIndexParams) SetContext(ctx context.Context)
SetContext adds the context to the get log entry by index params
func (*GetLogEntryByIndexParams) SetDefaults ¶ added in v0.2.0
func (o *GetLogEntryByIndexParams) SetDefaults()
SetDefaults hydrates default values in the get log entry by index params (not the query body).
All values with no default are reset to their zero value.
func (*GetLogEntryByIndexParams) SetHTTPClient ¶
func (o *GetLogEntryByIndexParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get log entry by index params
func (*GetLogEntryByIndexParams) SetLogIndex ¶
func (o *GetLogEntryByIndexParams) SetLogIndex(logIndex int64)
SetLogIndex adds the logIndex to the get log entry by index params
func (*GetLogEntryByIndexParams) SetTimeout ¶
func (o *GetLogEntryByIndexParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get log entry by index params
func (*GetLogEntryByIndexParams) WithContext ¶
func (o *GetLogEntryByIndexParams) WithContext(ctx context.Context) *GetLogEntryByIndexParams
WithContext adds the context to the get log entry by index params
func (*GetLogEntryByIndexParams) WithDefaults ¶ added in v0.2.0
func (o *GetLogEntryByIndexParams) WithDefaults() *GetLogEntryByIndexParams
WithDefaults hydrates default values in the get log entry by index params (not the query body).
All values with no default are reset to their zero value.
func (*GetLogEntryByIndexParams) WithHTTPClient ¶
func (o *GetLogEntryByIndexParams) WithHTTPClient(client *http.Client) *GetLogEntryByIndexParams
WithHTTPClient adds the HTTPClient to the get log entry by index params
func (*GetLogEntryByIndexParams) WithLogIndex ¶
func (o *GetLogEntryByIndexParams) WithLogIndex(logIndex int64) *GetLogEntryByIndexParams
WithLogIndex adds the logIndex to the get log entry by index params
func (*GetLogEntryByIndexParams) WithTimeout ¶
func (o *GetLogEntryByIndexParams) WithTimeout(timeout time.Duration) *GetLogEntryByIndexParams
WithTimeout adds the timeout to the get log entry by index params
func (*GetLogEntryByIndexParams) WriteToRequest ¶
func (o *GetLogEntryByIndexParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLogEntryByIndexReader ¶
type GetLogEntryByIndexReader struct {
// contains filtered or unexported fields
}
GetLogEntryByIndexReader is a Reader for the GetLogEntryByIndex structure.
func (*GetLogEntryByIndexReader) ReadResponse ¶
func (o *GetLogEntryByIndexReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetLogEntryByUUIDDefault ¶
type GetLogEntryByUUIDDefault struct { Payload *models.Error // contains filtered or unexported fields }
GetLogEntryByUUIDDefault describes a response with status code -1, with default header values.
There was an internal error in the server while processing the request
func NewGetLogEntryByUUIDDefault ¶
func NewGetLogEntryByUUIDDefault(code int) *GetLogEntryByUUIDDefault
NewGetLogEntryByUUIDDefault creates a GetLogEntryByUUIDDefault with default headers values
func (*GetLogEntryByUUIDDefault) Code ¶
func (o *GetLogEntryByUUIDDefault) Code() int
Code gets the status code for the get log entry by UUID default response
func (*GetLogEntryByUUIDDefault) Error ¶
func (o *GetLogEntryByUUIDDefault) Error() string
func (*GetLogEntryByUUIDDefault) GetPayload ¶
func (o *GetLogEntryByUUIDDefault) GetPayload() *models.Error
type GetLogEntryByUUIDNotFound ¶
type GetLogEntryByUUIDNotFound struct { }
GetLogEntryByUUIDNotFound describes a response with status code 404, with default header values.
The content requested could not be found
func NewGetLogEntryByUUIDNotFound ¶
func NewGetLogEntryByUUIDNotFound() *GetLogEntryByUUIDNotFound
NewGetLogEntryByUUIDNotFound creates a GetLogEntryByUUIDNotFound with default headers values
func (*GetLogEntryByUUIDNotFound) Error ¶
func (o *GetLogEntryByUUIDNotFound) Error() string
type GetLogEntryByUUIDOK ¶
GetLogEntryByUUIDOK describes a response with status code 200, with default header values.
Information needed for a client to compute the inclusion proof
func NewGetLogEntryByUUIDOK ¶
func NewGetLogEntryByUUIDOK() *GetLogEntryByUUIDOK
NewGetLogEntryByUUIDOK creates a GetLogEntryByUUIDOK with default headers values
func (*GetLogEntryByUUIDOK) Error ¶
func (o *GetLogEntryByUUIDOK) Error() string
func (*GetLogEntryByUUIDOK) GetPayload ¶
func (o *GetLogEntryByUUIDOK) GetPayload() models.LogEntry
type GetLogEntryByUUIDParams ¶
type GetLogEntryByUUIDParams struct { /* EntryUUID. the UUID of the entry for which the inclusion proof information should be returned */ EntryUUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetLogEntryByUUIDParams contains all the parameters to send to the API endpoint
for the get log entry by UUID operation. Typically these are written to a http.Request.
func NewGetLogEntryByUUIDParams ¶
func NewGetLogEntryByUUIDParams() *GetLogEntryByUUIDParams
NewGetLogEntryByUUIDParams creates a new GetLogEntryByUUIDParams 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 NewGetLogEntryByUUIDParamsWithContext ¶
func NewGetLogEntryByUUIDParamsWithContext(ctx context.Context) *GetLogEntryByUUIDParams
NewGetLogEntryByUUIDParamsWithContext creates a new GetLogEntryByUUIDParams object with the ability to set a context for a request.
func NewGetLogEntryByUUIDParamsWithHTTPClient ¶
func NewGetLogEntryByUUIDParamsWithHTTPClient(client *http.Client) *GetLogEntryByUUIDParams
NewGetLogEntryByUUIDParamsWithHTTPClient creates a new GetLogEntryByUUIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetLogEntryByUUIDParamsWithTimeout ¶
func NewGetLogEntryByUUIDParamsWithTimeout(timeout time.Duration) *GetLogEntryByUUIDParams
NewGetLogEntryByUUIDParamsWithTimeout creates a new GetLogEntryByUUIDParams object with the ability to set a timeout on a request.
func (*GetLogEntryByUUIDParams) SetContext ¶
func (o *GetLogEntryByUUIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get log entry by UUID params
func (*GetLogEntryByUUIDParams) SetDefaults ¶ added in v0.2.0
func (o *GetLogEntryByUUIDParams) SetDefaults()
SetDefaults hydrates default values in the get log entry by UUID params (not the query body).
All values with no default are reset to their zero value.
func (*GetLogEntryByUUIDParams) SetEntryUUID ¶
func (o *GetLogEntryByUUIDParams) SetEntryUUID(entryUUID string)
SetEntryUUID adds the entryUuid to the get log entry by UUID params
func (*GetLogEntryByUUIDParams) SetHTTPClient ¶
func (o *GetLogEntryByUUIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get log entry by UUID params
func (*GetLogEntryByUUIDParams) SetTimeout ¶
func (o *GetLogEntryByUUIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get log entry by UUID params
func (*GetLogEntryByUUIDParams) WithContext ¶
func (o *GetLogEntryByUUIDParams) WithContext(ctx context.Context) *GetLogEntryByUUIDParams
WithContext adds the context to the get log entry by UUID params
func (*GetLogEntryByUUIDParams) WithDefaults ¶ added in v0.2.0
func (o *GetLogEntryByUUIDParams) WithDefaults() *GetLogEntryByUUIDParams
WithDefaults hydrates default values in the get log entry by UUID params (not the query body).
All values with no default are reset to their zero value.
func (*GetLogEntryByUUIDParams) WithEntryUUID ¶
func (o *GetLogEntryByUUIDParams) WithEntryUUID(entryUUID string) *GetLogEntryByUUIDParams
WithEntryUUID adds the entryUUID to the get log entry by UUID params
func (*GetLogEntryByUUIDParams) WithHTTPClient ¶
func (o *GetLogEntryByUUIDParams) WithHTTPClient(client *http.Client) *GetLogEntryByUUIDParams
WithHTTPClient adds the HTTPClient to the get log entry by UUID params
func (*GetLogEntryByUUIDParams) WithTimeout ¶
func (o *GetLogEntryByUUIDParams) WithTimeout(timeout time.Duration) *GetLogEntryByUUIDParams
WithTimeout adds the timeout to the get log entry by UUID params
func (*GetLogEntryByUUIDParams) WriteToRequest ¶
func (o *GetLogEntryByUUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLogEntryByUUIDReader ¶
type GetLogEntryByUUIDReader struct {
// contains filtered or unexported fields
}
GetLogEntryByUUIDReader is a Reader for the GetLogEntryByUUID structure.
func (*GetLogEntryByUUIDReader) ReadResponse ¶
func (o *GetLogEntryByUUIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SearchLogQueryBadRequest ¶
SearchLogQueryBadRequest describes a response with status code 400, with default header values.
The content supplied to the server was invalid
func NewSearchLogQueryBadRequest ¶
func NewSearchLogQueryBadRequest() *SearchLogQueryBadRequest
NewSearchLogQueryBadRequest creates a SearchLogQueryBadRequest with default headers values
func (*SearchLogQueryBadRequest) Error ¶
func (o *SearchLogQueryBadRequest) Error() string
func (*SearchLogQueryBadRequest) GetPayload ¶
func (o *SearchLogQueryBadRequest) GetPayload() *models.Error
type SearchLogQueryDefault ¶
type SearchLogQueryDefault struct { Payload *models.Error // contains filtered or unexported fields }
SearchLogQueryDefault describes a response with status code -1, with default header values.
There was an internal error in the server while processing the request
func NewSearchLogQueryDefault ¶
func NewSearchLogQueryDefault(code int) *SearchLogQueryDefault
NewSearchLogQueryDefault creates a SearchLogQueryDefault with default headers values
func (*SearchLogQueryDefault) Code ¶
func (o *SearchLogQueryDefault) Code() int
Code gets the status code for the search log query default response
func (*SearchLogQueryDefault) Error ¶
func (o *SearchLogQueryDefault) Error() string
func (*SearchLogQueryDefault) GetPayload ¶
func (o *SearchLogQueryDefault) GetPayload() *models.Error
type SearchLogQueryOK ¶
SearchLogQueryOK describes a response with status code 200, with default header values.
Returns zero or more entries from the transparency log, according to how many were included in request query
func NewSearchLogQueryOK ¶
func NewSearchLogQueryOK() *SearchLogQueryOK
NewSearchLogQueryOK creates a SearchLogQueryOK with default headers values
func (*SearchLogQueryOK) Error ¶
func (o *SearchLogQueryOK) Error() string
func (*SearchLogQueryOK) GetPayload ¶
func (o *SearchLogQueryOK) GetPayload() []models.LogEntry
type SearchLogQueryParams ¶
type SearchLogQueryParams struct { // Entry. Entry *models.SearchLogQuery Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SearchLogQueryParams contains all the parameters to send to the API endpoint
for the search log query operation. Typically these are written to a http.Request.
func NewSearchLogQueryParams ¶
func NewSearchLogQueryParams() *SearchLogQueryParams
NewSearchLogQueryParams creates a new SearchLogQueryParams 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 NewSearchLogQueryParamsWithContext ¶
func NewSearchLogQueryParamsWithContext(ctx context.Context) *SearchLogQueryParams
NewSearchLogQueryParamsWithContext creates a new SearchLogQueryParams object with the ability to set a context for a request.
func NewSearchLogQueryParamsWithHTTPClient ¶
func NewSearchLogQueryParamsWithHTTPClient(client *http.Client) *SearchLogQueryParams
NewSearchLogQueryParamsWithHTTPClient creates a new SearchLogQueryParams object with the ability to set a custom HTTPClient for a request.
func NewSearchLogQueryParamsWithTimeout ¶
func NewSearchLogQueryParamsWithTimeout(timeout time.Duration) *SearchLogQueryParams
NewSearchLogQueryParamsWithTimeout creates a new SearchLogQueryParams object with the ability to set a timeout on a request.
func (*SearchLogQueryParams) SetContext ¶
func (o *SearchLogQueryParams) SetContext(ctx context.Context)
SetContext adds the context to the search log query params
func (*SearchLogQueryParams) SetDefaults ¶ added in v0.2.0
func (o *SearchLogQueryParams) SetDefaults()
SetDefaults hydrates default values in the search log query params (not the query body).
All values with no default are reset to their zero value.
func (*SearchLogQueryParams) SetEntry ¶
func (o *SearchLogQueryParams) SetEntry(entry *models.SearchLogQuery)
SetEntry adds the entry to the search log query params
func (*SearchLogQueryParams) SetHTTPClient ¶
func (o *SearchLogQueryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the search log query params
func (*SearchLogQueryParams) SetTimeout ¶
func (o *SearchLogQueryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the search log query params
func (*SearchLogQueryParams) WithContext ¶
func (o *SearchLogQueryParams) WithContext(ctx context.Context) *SearchLogQueryParams
WithContext adds the context to the search log query params
func (*SearchLogQueryParams) WithDefaults ¶ added in v0.2.0
func (o *SearchLogQueryParams) WithDefaults() *SearchLogQueryParams
WithDefaults hydrates default values in the search log query params (not the query body).
All values with no default are reset to their zero value.
func (*SearchLogQueryParams) WithEntry ¶
func (o *SearchLogQueryParams) WithEntry(entry *models.SearchLogQuery) *SearchLogQueryParams
WithEntry adds the entry to the search log query params
func (*SearchLogQueryParams) WithHTTPClient ¶
func (o *SearchLogQueryParams) WithHTTPClient(client *http.Client) *SearchLogQueryParams
WithHTTPClient adds the HTTPClient to the search log query params
func (*SearchLogQueryParams) WithTimeout ¶
func (o *SearchLogQueryParams) WithTimeout(timeout time.Duration) *SearchLogQueryParams
WithTimeout adds the timeout to the search log query params
func (*SearchLogQueryParams) WriteToRequest ¶
func (o *SearchLogQueryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SearchLogQueryReader ¶
type SearchLogQueryReader struct {
// contains filtered or unexported fields
}
SearchLogQueryReader is a Reader for the SearchLogQuery structure.
func (*SearchLogQueryReader) ReadResponse ¶
func (o *SearchLogQueryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.