entries

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 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, 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

type CreateLogEntryBadRequest struct {
	Payload *models.Error
}

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) Code added in v1.1.0

func (o *CreateLogEntryBadRequest) Code() int

Code gets the status code for the create log entry bad request response

func (*CreateLogEntryBadRequest) Error

func (o *CreateLogEntryBadRequest) Error() string

func (*CreateLogEntryBadRequest) GetPayload

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

func (*CreateLogEntryBadRequest) IsClientError added in v0.12.1

func (o *CreateLogEntryBadRequest) IsClientError() bool

IsClientError returns true when this create log entry bad request response has a 4xx status code

func (*CreateLogEntryBadRequest) IsCode added in v0.12.1

func (o *CreateLogEntryBadRequest) IsCode(code int) bool

IsCode returns true when this create log entry bad request response a status code equal to that given

func (*CreateLogEntryBadRequest) IsRedirect added in v0.12.1

func (o *CreateLogEntryBadRequest) IsRedirect() bool

IsRedirect returns true when this create log entry bad request response has a 3xx status code

func (*CreateLogEntryBadRequest) IsServerError added in v0.12.1

func (o *CreateLogEntryBadRequest) IsServerError() bool

IsServerError returns true when this create log entry bad request response has a 5xx status code

func (*CreateLogEntryBadRequest) IsSuccess added in v0.12.1

func (o *CreateLogEntryBadRequest) IsSuccess() bool

IsSuccess returns true when this create log entry bad request response has a 2xx status code

func (*CreateLogEntryBadRequest) String added in v0.12.1

func (o *CreateLogEntryBadRequest) String() string

type CreateLogEntryConflict

type CreateLogEntryConflict struct {
	Location strfmt.URI

	Payload *models.Error
}

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) Code added in v1.1.0

func (o *CreateLogEntryConflict) Code() int

Code gets the status code for the create log entry conflict response

func (*CreateLogEntryConflict) Error

func (o *CreateLogEntryConflict) Error() string

func (*CreateLogEntryConflict) GetPayload

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

func (*CreateLogEntryConflict) IsClientError added in v0.12.1

func (o *CreateLogEntryConflict) IsClientError() bool

IsClientError returns true when this create log entry conflict response has a 4xx status code

func (*CreateLogEntryConflict) IsCode added in v0.12.1

func (o *CreateLogEntryConflict) IsCode(code int) bool

IsCode returns true when this create log entry conflict response a status code equal to that given

func (*CreateLogEntryConflict) IsRedirect added in v0.12.1

func (o *CreateLogEntryConflict) IsRedirect() bool

IsRedirect returns true when this create log entry conflict response has a 3xx status code

func (*CreateLogEntryConflict) IsServerError added in v0.12.1

func (o *CreateLogEntryConflict) IsServerError() bool

IsServerError returns true when this create log entry conflict response has a 5xx status code

func (*CreateLogEntryConflict) IsSuccess added in v0.12.1

func (o *CreateLogEntryConflict) IsSuccess() bool

IsSuccess returns true when this create log entry conflict response has a 2xx status code

func (*CreateLogEntryConflict) String added in v0.12.1

func (o *CreateLogEntryConflict) String() string

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) Code added in v1.1.0

func (o *CreateLogEntryCreated) Code() int

Code gets the status code for the create log entry created response

func (*CreateLogEntryCreated) Error

func (o *CreateLogEntryCreated) Error() string

func (*CreateLogEntryCreated) GetPayload

func (o *CreateLogEntryCreated) GetPayload() models.LogEntry

func (*CreateLogEntryCreated) IsClientError added in v0.12.1

func (o *CreateLogEntryCreated) IsClientError() bool

IsClientError returns true when this create log entry created response has a 4xx status code

func (*CreateLogEntryCreated) IsCode added in v0.12.1

func (o *CreateLogEntryCreated) IsCode(code int) bool

IsCode returns true when this create log entry created response a status code equal to that given

func (*CreateLogEntryCreated) IsRedirect added in v0.12.1

func (o *CreateLogEntryCreated) IsRedirect() bool

IsRedirect returns true when this create log entry created response has a 3xx status code

func (*CreateLogEntryCreated) IsServerError added in v0.12.1

func (o *CreateLogEntryCreated) IsServerError() bool

IsServerError returns true when this create log entry created response has a 5xx status code

func (*CreateLogEntryCreated) IsSuccess added in v0.12.1

func (o *CreateLogEntryCreated) IsSuccess() bool

IsSuccess returns true when this create log entry created response has a 2xx status code

func (*CreateLogEntryCreated) String added in v0.12.1

func (o *CreateLogEntryCreated) String() string

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

func (*CreateLogEntryDefault) IsClientError added in v0.12.1

func (o *CreateLogEntryDefault) IsClientError() bool

IsClientError returns true when this create log entry default response has a 4xx status code

func (*CreateLogEntryDefault) IsCode added in v0.12.1

func (o *CreateLogEntryDefault) IsCode(code int) bool

IsCode returns true when this create log entry default response a status code equal to that given

func (*CreateLogEntryDefault) IsRedirect added in v0.12.1

func (o *CreateLogEntryDefault) IsRedirect() bool

IsRedirect returns true when this create log entry default response has a 3xx status code

func (*CreateLogEntryDefault) IsServerError added in v0.12.1

func (o *CreateLogEntryDefault) IsServerError() bool

IsServerError returns true when this create log entry default response has a 5xx status code

func (*CreateLogEntryDefault) IsSuccess added in v0.12.1

func (o *CreateLogEntryDefault) IsSuccess() bool

IsSuccess returns true when this create log entry default response has a 2xx status code

func (*CreateLogEntryDefault) String added in v0.12.1

func (o *CreateLogEntryDefault) String() string

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

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

func (*GetLogEntryByIndexDefault) IsClientError added in v0.12.1

func (o *GetLogEntryByIndexDefault) IsClientError() bool

IsClientError returns true when this get log entry by index default response has a 4xx status code

func (*GetLogEntryByIndexDefault) IsCode added in v0.12.1

func (o *GetLogEntryByIndexDefault) IsCode(code int) bool

IsCode returns true when this get log entry by index default response a status code equal to that given

func (*GetLogEntryByIndexDefault) IsRedirect added in v0.12.1

func (o *GetLogEntryByIndexDefault) IsRedirect() bool

IsRedirect returns true when this get log entry by index default response has a 3xx status code

func (*GetLogEntryByIndexDefault) IsServerError added in v0.12.1

func (o *GetLogEntryByIndexDefault) IsServerError() bool

IsServerError returns true when this get log entry by index default response has a 5xx status code

func (*GetLogEntryByIndexDefault) IsSuccess added in v0.12.1

func (o *GetLogEntryByIndexDefault) IsSuccess() bool

IsSuccess returns true when this get log entry by index default response has a 2xx status code

func (*GetLogEntryByIndexDefault) String added in v0.12.1

func (o *GetLogEntryByIndexDefault) String() string

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) Code added in v1.1.0

func (o *GetLogEntryByIndexNotFound) Code() int

Code gets the status code for the get log entry by index not found response

func (*GetLogEntryByIndexNotFound) Error

func (*GetLogEntryByIndexNotFound) IsClientError added in v0.12.1

func (o *GetLogEntryByIndexNotFound) IsClientError() bool

IsClientError returns true when this get log entry by index not found response has a 4xx status code

func (*GetLogEntryByIndexNotFound) IsCode added in v0.12.1

func (o *GetLogEntryByIndexNotFound) IsCode(code int) bool

IsCode returns true when this get log entry by index not found response a status code equal to that given

func (*GetLogEntryByIndexNotFound) IsRedirect added in v0.12.1

func (o *GetLogEntryByIndexNotFound) IsRedirect() bool

IsRedirect returns true when this get log entry by index not found response has a 3xx status code

func (*GetLogEntryByIndexNotFound) IsServerError added in v0.12.1

func (o *GetLogEntryByIndexNotFound) IsServerError() bool

IsServerError returns true when this get log entry by index not found response has a 5xx status code

func (*GetLogEntryByIndexNotFound) IsSuccess added in v0.12.1

func (o *GetLogEntryByIndexNotFound) IsSuccess() bool

IsSuccess returns true when this get log entry by index not found response has a 2xx status code

func (*GetLogEntryByIndexNotFound) String added in v0.12.1

func (o *GetLogEntryByIndexNotFound) String() string

type GetLogEntryByIndexOK

type GetLogEntryByIndexOK struct {
	Payload models.LogEntry
}

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) Code added in v1.1.0

func (o *GetLogEntryByIndexOK) Code() int

Code gets the status code for the get log entry by index o k response

func (*GetLogEntryByIndexOK) Error

func (o *GetLogEntryByIndexOK) Error() string

func (*GetLogEntryByIndexOK) GetPayload

func (o *GetLogEntryByIndexOK) GetPayload() models.LogEntry

func (*GetLogEntryByIndexOK) IsClientError added in v0.12.1

func (o *GetLogEntryByIndexOK) IsClientError() bool

IsClientError returns true when this get log entry by index o k response has a 4xx status code

func (*GetLogEntryByIndexOK) IsCode added in v0.12.1

func (o *GetLogEntryByIndexOK) IsCode(code int) bool

IsCode returns true when this get log entry by index o k response a status code equal to that given

func (*GetLogEntryByIndexOK) IsRedirect added in v0.12.1

func (o *GetLogEntryByIndexOK) IsRedirect() bool

IsRedirect returns true when this get log entry by index o k response has a 3xx status code

func (*GetLogEntryByIndexOK) IsServerError added in v0.12.1

func (o *GetLogEntryByIndexOK) IsServerError() bool

IsServerError returns true when this get log entry by index o k response has a 5xx status code

func (*GetLogEntryByIndexOK) IsSuccess added in v0.12.1

func (o *GetLogEntryByIndexOK) IsSuccess() bool

IsSuccess returns true when this get log entry by index o k response has a 2xx status code

func (*GetLogEntryByIndexOK) String added in v0.12.1

func (o *GetLogEntryByIndexOK) String() string

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

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

func (*GetLogEntryByIndexParams) WithDefaults added in v0.2.0

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

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 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

func (*GetLogEntryByUUIDDefault) IsClientError added in v0.12.1

func (o *GetLogEntryByUUIDDefault) IsClientError() bool

IsClientError returns true when this get log entry by UUID default response has a 4xx status code

func (*GetLogEntryByUUIDDefault) IsCode added in v0.12.1

func (o *GetLogEntryByUUIDDefault) IsCode(code int) bool

IsCode returns true when this get log entry by UUID default response a status code equal to that given

func (*GetLogEntryByUUIDDefault) IsRedirect added in v0.12.1

func (o *GetLogEntryByUUIDDefault) IsRedirect() bool

IsRedirect returns true when this get log entry by UUID default response has a 3xx status code

func (*GetLogEntryByUUIDDefault) IsServerError added in v0.12.1

func (o *GetLogEntryByUUIDDefault) IsServerError() bool

IsServerError returns true when this get log entry by UUID default response has a 5xx status code

func (*GetLogEntryByUUIDDefault) IsSuccess added in v0.12.1

func (o *GetLogEntryByUUIDDefault) IsSuccess() bool

IsSuccess returns true when this get log entry by UUID default response has a 2xx status code

func (*GetLogEntryByUUIDDefault) String added in v0.12.1

func (o *GetLogEntryByUUIDDefault) String() string

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) Code added in v1.1.0

func (o *GetLogEntryByUUIDNotFound) Code() int

Code gets the status code for the get log entry by Uuid not found response

func (*GetLogEntryByUUIDNotFound) Error

func (o *GetLogEntryByUUIDNotFound) Error() string

func (*GetLogEntryByUUIDNotFound) IsClientError added in v0.12.1

func (o *GetLogEntryByUUIDNotFound) IsClientError() bool

IsClientError returns true when this get log entry by Uuid not found response has a 4xx status code

func (*GetLogEntryByUUIDNotFound) IsCode added in v0.12.1

func (o *GetLogEntryByUUIDNotFound) IsCode(code int) bool

IsCode returns true when this get log entry by Uuid not found response a status code equal to that given

func (*GetLogEntryByUUIDNotFound) IsRedirect added in v0.12.1

func (o *GetLogEntryByUUIDNotFound) IsRedirect() bool

IsRedirect returns true when this get log entry by Uuid not found response has a 3xx status code

func (*GetLogEntryByUUIDNotFound) IsServerError added in v0.12.1

func (o *GetLogEntryByUUIDNotFound) IsServerError() bool

IsServerError returns true when this get log entry by Uuid not found response has a 5xx status code

func (*GetLogEntryByUUIDNotFound) IsSuccess added in v0.12.1

func (o *GetLogEntryByUUIDNotFound) IsSuccess() bool

IsSuccess returns true when this get log entry by Uuid not found response has a 2xx status code

func (*GetLogEntryByUUIDNotFound) String added in v0.12.1

func (o *GetLogEntryByUUIDNotFound) String() string

type GetLogEntryByUUIDOK

type GetLogEntryByUUIDOK struct {
	Payload models.LogEntry
}

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) Code added in v1.1.0

func (o *GetLogEntryByUUIDOK) Code() int

Code gets the status code for the get log entry by Uuid o k response

func (*GetLogEntryByUUIDOK) Error

func (o *GetLogEntryByUUIDOK) Error() string

func (*GetLogEntryByUUIDOK) GetPayload

func (o *GetLogEntryByUUIDOK) GetPayload() models.LogEntry

func (*GetLogEntryByUUIDOK) IsClientError added in v0.12.1

func (o *GetLogEntryByUUIDOK) IsClientError() bool

IsClientError returns true when this get log entry by Uuid o k response has a 4xx status code

func (*GetLogEntryByUUIDOK) IsCode added in v0.12.1

func (o *GetLogEntryByUUIDOK) IsCode(code int) bool

IsCode returns true when this get log entry by Uuid o k response a status code equal to that given

func (*GetLogEntryByUUIDOK) IsRedirect added in v0.12.1

func (o *GetLogEntryByUUIDOK) IsRedirect() bool

IsRedirect returns true when this get log entry by Uuid o k response has a 3xx status code

func (*GetLogEntryByUUIDOK) IsServerError added in v0.12.1

func (o *GetLogEntryByUUIDOK) IsServerError() bool

IsServerError returns true when this get log entry by Uuid o k response has a 5xx status code

func (*GetLogEntryByUUIDOK) IsSuccess added in v0.12.1

func (o *GetLogEntryByUUIDOK) IsSuccess() bool

IsSuccess returns true when this get log entry by Uuid o k response has a 2xx status code

func (*GetLogEntryByUUIDOK) String added in v0.12.1

func (o *GetLogEntryByUUIDOK) String() string

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

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

func (*GetLogEntryByUUIDParams) WithDefaults added in v0.2.0

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

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 SearchLogQueryBadRequest

type SearchLogQueryBadRequest struct {
	Payload *models.Error
}

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) Code added in v1.1.0

func (o *SearchLogQueryBadRequest) Code() int

Code gets the status code for the search log query bad request response

func (*SearchLogQueryBadRequest) Error

func (o *SearchLogQueryBadRequest) Error() string

func (*SearchLogQueryBadRequest) GetPayload

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

func (*SearchLogQueryBadRequest) IsClientError added in v0.12.1

func (o *SearchLogQueryBadRequest) IsClientError() bool

IsClientError returns true when this search log query bad request response has a 4xx status code

func (*SearchLogQueryBadRequest) IsCode added in v0.12.1

func (o *SearchLogQueryBadRequest) IsCode(code int) bool

IsCode returns true when this search log query bad request response a status code equal to that given

func (*SearchLogQueryBadRequest) IsRedirect added in v0.12.1

func (o *SearchLogQueryBadRequest) IsRedirect() bool

IsRedirect returns true when this search log query bad request response has a 3xx status code

func (*SearchLogQueryBadRequest) IsServerError added in v0.12.1

func (o *SearchLogQueryBadRequest) IsServerError() bool

IsServerError returns true when this search log query bad request response has a 5xx status code

func (*SearchLogQueryBadRequest) IsSuccess added in v0.12.1

func (o *SearchLogQueryBadRequest) IsSuccess() bool

IsSuccess returns true when this search log query bad request response has a 2xx status code

func (*SearchLogQueryBadRequest) String added in v0.12.1

func (o *SearchLogQueryBadRequest) String() string

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

func (*SearchLogQueryDefault) IsClientError added in v0.12.1

func (o *SearchLogQueryDefault) IsClientError() bool

IsClientError returns true when this search log query default response has a 4xx status code

func (*SearchLogQueryDefault) IsCode added in v0.12.1

func (o *SearchLogQueryDefault) IsCode(code int) bool

IsCode returns true when this search log query default response a status code equal to that given

func (*SearchLogQueryDefault) IsRedirect added in v0.12.1

func (o *SearchLogQueryDefault) IsRedirect() bool

IsRedirect returns true when this search log query default response has a 3xx status code

func (*SearchLogQueryDefault) IsServerError added in v0.12.1

func (o *SearchLogQueryDefault) IsServerError() bool

IsServerError returns true when this search log query default response has a 5xx status code

func (*SearchLogQueryDefault) IsSuccess added in v0.12.1

func (o *SearchLogQueryDefault) IsSuccess() bool

IsSuccess returns true when this search log query default response has a 2xx status code

func (*SearchLogQueryDefault) String added in v0.12.1

func (o *SearchLogQueryDefault) String() string

type SearchLogQueryOK

type SearchLogQueryOK struct {
	Payload []models.LogEntry
}

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) Code added in v1.1.0

func (o *SearchLogQueryOK) Code() int

Code gets the status code for the search log query o k response

func (*SearchLogQueryOK) Error

func (o *SearchLogQueryOK) Error() string

func (*SearchLogQueryOK) GetPayload

func (o *SearchLogQueryOK) GetPayload() []models.LogEntry

func (*SearchLogQueryOK) IsClientError added in v0.12.1

func (o *SearchLogQueryOK) IsClientError() bool

IsClientError returns true when this search log query o k response has a 4xx status code

func (*SearchLogQueryOK) IsCode added in v0.12.1

func (o *SearchLogQueryOK) IsCode(code int) bool

IsCode returns true when this search log query o k response a status code equal to that given

func (*SearchLogQueryOK) IsRedirect added in v0.12.1

func (o *SearchLogQueryOK) IsRedirect() bool

IsRedirect returns true when this search log query o k response has a 3xx status code

func (*SearchLogQueryOK) IsServerError added in v0.12.1

func (o *SearchLogQueryOK) IsServerError() bool

IsServerError returns true when this search log query o k response has a 5xx status code

func (*SearchLogQueryOK) IsSuccess added in v0.12.1

func (o *SearchLogQueryOK) IsSuccess() bool

IsSuccess returns true when this search log query o k response has a 2xx status code

func (*SearchLogQueryOK) String added in v0.12.1

func (o *SearchLogQueryOK) String() string

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

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

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.

type SearchLogQueryUnprocessableEntity added in v1.0.1

type SearchLogQueryUnprocessableEntity struct {
	Payload *models.Error
}

SearchLogQueryUnprocessableEntity describes a response with status code 422, with default header values.

The server understood the request but is unable to process the contained instructions

func NewSearchLogQueryUnprocessableEntity added in v1.0.1

func NewSearchLogQueryUnprocessableEntity() *SearchLogQueryUnprocessableEntity

NewSearchLogQueryUnprocessableEntity creates a SearchLogQueryUnprocessableEntity with default headers values

func (*SearchLogQueryUnprocessableEntity) Code added in v1.1.0

Code gets the status code for the search log query unprocessable entity response

func (*SearchLogQueryUnprocessableEntity) Error added in v1.0.1

func (*SearchLogQueryUnprocessableEntity) GetPayload added in v1.0.1

func (*SearchLogQueryUnprocessableEntity) IsClientError added in v1.0.1

func (o *SearchLogQueryUnprocessableEntity) IsClientError() bool

IsClientError returns true when this search log query unprocessable entity response has a 4xx status code

func (*SearchLogQueryUnprocessableEntity) IsCode added in v1.0.1

func (o *SearchLogQueryUnprocessableEntity) IsCode(code int) bool

IsCode returns true when this search log query unprocessable entity response a status code equal to that given

func (*SearchLogQueryUnprocessableEntity) IsRedirect added in v1.0.1

func (o *SearchLogQueryUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this search log query unprocessable entity response has a 3xx status code

func (*SearchLogQueryUnprocessableEntity) IsServerError added in v1.0.1

func (o *SearchLogQueryUnprocessableEntity) IsServerError() bool

IsServerError returns true when this search log query unprocessable entity response has a 5xx status code

func (*SearchLogQueryUnprocessableEntity) IsSuccess added in v1.0.1

func (o *SearchLogQueryUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this search log query unprocessable entity response has a 2xx status code

func (*SearchLogQueryUnprocessableEntity) String added in v1.0.1

Jump to

Keyboard shortcuts

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