entries

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2021 License: Apache-2.0 Imports: 11 Imported by: 42

Documentation

Index

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) (*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) (*GetLogEntryByIndexOK, error)

GetLogEntryByIndex retrieves an entry from the transparency log if it exists by index

func (*Client) GetLogEntryByUUID

func (a *Client) GetLogEntryByUUID(params *GetLogEntryByUUIDParams) (*GetLogEntryByUUIDOK, error)

GetLogEntryByUUID retrieves an entry from the transparency log if it exists by UUID

func (*Client) GetLogEntryProof

func (a *Client) GetLogEntryProof(params *GetLogEntryProofParams) (*GetLogEntryProofOK, error)

GetLogEntryProof gets information required to generate an inclusion proof for a specified entry in the transparency log

Returns 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) (*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 ClientService

type ClientService interface {
	CreateLogEntry(params *CreateLogEntryParams) (*CreateLogEntryCreated, error)

	GetLogEntryByIndex(params *GetLogEntryByIndexParams) (*GetLogEntryByIndexOK, error)

	GetLogEntryByUUID(params *GetLogEntryByUUIDParams) (*GetLogEntryByUUIDOK, error)

	GetLogEntryProof(params *GetLogEntryProofParams) (*GetLogEntryProofOK, error)

	SearchLogQuery(params *SearchLogQueryParams) (*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

type CreateLogEntryBadRequest struct {
	Payload *models.Error
}

CreateLogEntryBadRequest handles this case 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

type CreateLogEntryConflict struct {
	Payload *models.Error
}

CreateLogEntryConflict handles this case 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
	 */
	Location strfmt.URI

	Payload models.LogEntry
}

CreateLogEntryCreated handles this case 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 handles this case 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 values initialized.

func NewCreateLogEntryParamsWithContext

func NewCreateLogEntryParamsWithContext(ctx context.Context) *CreateLogEntryParams

NewCreateLogEntryParamsWithContext creates a new CreateLogEntryParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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

WithContext adds the context to the create log entry params

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 handles this case 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 handles this case 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

type GetLogEntryByIndexOK

type GetLogEntryByIndexOK struct {
	Payload models.LogEntry
}

GetLogEntryByIndexOK handles this case with default header values.

the entry in the transparency log requested

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 values initialized.

func NewGetLogEntryByIndexParamsWithContext

func NewGetLogEntryByIndexParamsWithContext(ctx context.Context) *GetLogEntryByIndexParams

NewGetLogEntryByIndexParamsWithContext creates a new GetLogEntryByIndexParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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

WithContext adds the context to the get log entry by index params

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

WithTimeout adds the timeout to the get log entry by index params

func (*GetLogEntryByIndexParams) WriteToRequest

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 handles this case 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 handles this case 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

type GetLogEntryByUUIDOK struct {
	Payload models.LogEntry
}

GetLogEntryByUUIDOK handles this case with default header values.

the entry in the transparency log requested

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 to be retrieved from the log. The UUID is also the merkle tree hash of the entry.

	*/
	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 values initialized.

func NewGetLogEntryByUUIDParamsWithContext

func NewGetLogEntryByUUIDParamsWithContext(ctx context.Context) *GetLogEntryByUUIDParams

NewGetLogEntryByUUIDParamsWithContext creates a new GetLogEntryByUUIDParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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

WithContext adds the context to the get log entry by UUID params

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

WithTimeout adds the timeout to the get log entry by UUID params

func (*GetLogEntryByUUIDParams) WriteToRequest

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 GetLogEntryProofDefault

type GetLogEntryProofDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetLogEntryProofDefault handles this case with default header values.

There was an internal error in the server while processing the request

func NewGetLogEntryProofDefault

func NewGetLogEntryProofDefault(code int) *GetLogEntryProofDefault

NewGetLogEntryProofDefault creates a GetLogEntryProofDefault with default headers values

func (*GetLogEntryProofDefault) Code

func (o *GetLogEntryProofDefault) Code() int

Code gets the status code for the get log entry proof default response

func (*GetLogEntryProofDefault) Error

func (o *GetLogEntryProofDefault) Error() string

func (*GetLogEntryProofDefault) GetPayload

func (o *GetLogEntryProofDefault) GetPayload() *models.Error

type GetLogEntryProofNotFound

type GetLogEntryProofNotFound struct {
}

GetLogEntryProofNotFound handles this case with default header values.

The content requested could not be found

func NewGetLogEntryProofNotFound

func NewGetLogEntryProofNotFound() *GetLogEntryProofNotFound

NewGetLogEntryProofNotFound creates a GetLogEntryProofNotFound with default headers values

func (*GetLogEntryProofNotFound) Error

func (o *GetLogEntryProofNotFound) Error() string

type GetLogEntryProofOK

type GetLogEntryProofOK struct {
	Payload *models.InclusionProof
}

GetLogEntryProofOK handles this case with default header values.

Information needed for a client to compute the inclusion proof

func NewGetLogEntryProofOK

func NewGetLogEntryProofOK() *GetLogEntryProofOK

NewGetLogEntryProofOK creates a GetLogEntryProofOK with default headers values

func (*GetLogEntryProofOK) Error

func (o *GetLogEntryProofOK) Error() string

func (*GetLogEntryProofOK) GetPayload

func (o *GetLogEntryProofOK) GetPayload() *models.InclusionProof

type GetLogEntryProofParams

type GetLogEntryProofParams 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
}

GetLogEntryProofParams contains all the parameters to send to the API endpoint for the get log entry proof operation typically these are written to a http.Request

func NewGetLogEntryProofParams

func NewGetLogEntryProofParams() *GetLogEntryProofParams

NewGetLogEntryProofParams creates a new GetLogEntryProofParams object with the default values initialized.

func NewGetLogEntryProofParamsWithContext

func NewGetLogEntryProofParamsWithContext(ctx context.Context) *GetLogEntryProofParams

NewGetLogEntryProofParamsWithContext creates a new GetLogEntryProofParams object with the default values initialized, and the ability to set a context for a request

func NewGetLogEntryProofParamsWithHTTPClient

func NewGetLogEntryProofParamsWithHTTPClient(client *http.Client) *GetLogEntryProofParams

NewGetLogEntryProofParamsWithHTTPClient creates a new GetLogEntryProofParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetLogEntryProofParamsWithTimeout

func NewGetLogEntryProofParamsWithTimeout(timeout time.Duration) *GetLogEntryProofParams

NewGetLogEntryProofParamsWithTimeout creates a new GetLogEntryProofParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetLogEntryProofParams) SetContext

func (o *GetLogEntryProofParams) SetContext(ctx context.Context)

SetContext adds the context to the get log entry proof params

func (*GetLogEntryProofParams) SetEntryUUID

func (o *GetLogEntryProofParams) SetEntryUUID(entryUUID string)

SetEntryUUID adds the entryUuid to the get log entry proof params

func (*GetLogEntryProofParams) SetHTTPClient

func (o *GetLogEntryProofParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get log entry proof params

func (*GetLogEntryProofParams) SetTimeout

func (o *GetLogEntryProofParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get log entry proof params

func (*GetLogEntryProofParams) WithContext

WithContext adds the context to the get log entry proof params

func (*GetLogEntryProofParams) WithEntryUUID

func (o *GetLogEntryProofParams) WithEntryUUID(entryUUID string) *GetLogEntryProofParams

WithEntryUUID adds the entryUUID to the get log entry proof params

func (*GetLogEntryProofParams) WithHTTPClient

func (o *GetLogEntryProofParams) WithHTTPClient(client *http.Client) *GetLogEntryProofParams

WithHTTPClient adds the HTTPClient to the get log entry proof params

func (*GetLogEntryProofParams) WithTimeout

WithTimeout adds the timeout to the get log entry proof params

func (*GetLogEntryProofParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetLogEntryProofReader

type GetLogEntryProofReader struct {
	// contains filtered or unexported fields
}

GetLogEntryProofReader is a Reader for the GetLogEntryProof structure.

func (*GetLogEntryProofReader) ReadResponse

func (o *GetLogEntryProofReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SearchLogQueryBadRequest

type SearchLogQueryBadRequest struct {
	Payload *models.Error
}

SearchLogQueryBadRequest handles this case 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 handles this case 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

type SearchLogQueryOK struct {
	Payload []models.LogEntry
}

SearchLogQueryOK handles this case 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 values initialized.

func NewSearchLogQueryParamsWithContext

func NewSearchLogQueryParamsWithContext(ctx context.Context) *SearchLogQueryParams

NewSearchLogQueryParamsWithContext creates a new SearchLogQueryParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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

WithContext adds the context to the search log query params

func (*SearchLogQueryParams) WithEntry

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL