Documentation
¶
Index ¶
- func WithAcceptApplicationJSON(r *runtime.ClientOperation)
- func WithAcceptTextCsv(r *runtime.ClientOperation)
- type AuthLogsCSVInternalServerError
- func (o *AuthLogsCSVInternalServerError) Code() int
- func (o *AuthLogsCSVInternalServerError) Error() string
- func (o *AuthLogsCSVInternalServerError) IsClientError() bool
- func (o *AuthLogsCSVInternalServerError) IsCode(code int) bool
- func (o *AuthLogsCSVInternalServerError) IsRedirect() bool
- func (o *AuthLogsCSVInternalServerError) IsServerError() bool
- func (o *AuthLogsCSVInternalServerError) IsSuccess() bool
- func (o *AuthLogsCSVInternalServerError) String() string
- type AuthLogsCSVOK
- func (o *AuthLogsCSVOK) Code() int
- func (o *AuthLogsCSVOK) Error() string
- func (o *AuthLogsCSVOK) IsClientError() bool
- func (o *AuthLogsCSVOK) IsCode(code int) bool
- func (o *AuthLogsCSVOK) IsRedirect() bool
- func (o *AuthLogsCSVOK) IsServerError() bool
- func (o *AuthLogsCSVOK) IsSuccess() bool
- func (o *AuthLogsCSVOK) String() string
- type AuthLogsCSVParams
- func (o *AuthLogsCSVParams) SetAfter(after *int64)
- func (o *AuthLogsCSVParams) SetBefore(before *int64)
- func (o *AuthLogsCSVParams) SetContext(ctx context.Context)
- func (o *AuthLogsCSVParams) SetDefaults()
- func (o *AuthLogsCSVParams) SetHTTPClient(client *http.Client)
- func (o *AuthLogsCSVParams) SetKeyword(keyword *string)
- func (o *AuthLogsCSVParams) SetLimit(limit *int64)
- func (o *AuthLogsCSVParams) SetSortBy(sortBy *string)
- func (o *AuthLogsCSVParams) SetSortDesc(sortDesc *bool)
- func (o *AuthLogsCSVParams) SetTimeout(timeout time.Duration)
- func (o *AuthLogsCSVParams) WithAfter(after *int64) *AuthLogsCSVParams
- func (o *AuthLogsCSVParams) WithBefore(before *int64) *AuthLogsCSVParams
- func (o *AuthLogsCSVParams) WithContext(ctx context.Context) *AuthLogsCSVParams
- func (o *AuthLogsCSVParams) WithDefaults() *AuthLogsCSVParams
- func (o *AuthLogsCSVParams) WithHTTPClient(client *http.Client) *AuthLogsCSVParams
- func (o *AuthLogsCSVParams) WithKeyword(keyword *string) *AuthLogsCSVParams
- func (o *AuthLogsCSVParams) WithLimit(limit *int64) *AuthLogsCSVParams
- func (o *AuthLogsCSVParams) WithSortBy(sortBy *string) *AuthLogsCSVParams
- func (o *AuthLogsCSVParams) WithSortDesc(sortDesc *bool) *AuthLogsCSVParams
- func (o *AuthLogsCSVParams) WithTimeout(timeout time.Duration) *AuthLogsCSVParams
- func (o *AuthLogsCSVParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AuthLogsCSVReader
- type AuthLogsListInternalServerError
- func (o *AuthLogsListInternalServerError) Code() int
- func (o *AuthLogsListInternalServerError) Error() string
- func (o *AuthLogsListInternalServerError) IsClientError() bool
- func (o *AuthLogsListInternalServerError) IsCode(code int) bool
- func (o *AuthLogsListInternalServerError) IsRedirect() bool
- func (o *AuthLogsListInternalServerError) IsServerError() bool
- func (o *AuthLogsListInternalServerError) IsSuccess() bool
- func (o *AuthLogsListInternalServerError) String() string
- type AuthLogsListOK
- func (o *AuthLogsListOK) Code() int
- func (o *AuthLogsListOK) Error() string
- func (o *AuthLogsListOK) GetPayload() []*models.PortainereeAuthActivityLog
- func (o *AuthLogsListOK) IsClientError() bool
- func (o *AuthLogsListOK) IsCode(code int) bool
- func (o *AuthLogsListOK) IsRedirect() bool
- func (o *AuthLogsListOK) IsServerError() bool
- func (o *AuthLogsListOK) IsSuccess() bool
- func (o *AuthLogsListOK) String() string
- type AuthLogsListParams
- func (o *AuthLogsListParams) SetAfter(after *int64)
- func (o *AuthLogsListParams) SetBefore(before *int64)
- func (o *AuthLogsListParams) SetContext(ctx context.Context)
- func (o *AuthLogsListParams) SetDefaults()
- func (o *AuthLogsListParams) SetHTTPClient(client *http.Client)
- func (o *AuthLogsListParams) SetKeyword(keyword *string)
- func (o *AuthLogsListParams) SetLimit(limit *int64)
- func (o *AuthLogsListParams) SetOffset(offset *int64)
- func (o *AuthLogsListParams) SetSortBy(sortBy *string)
- func (o *AuthLogsListParams) SetSortDesc(sortDesc *bool)
- func (o *AuthLogsListParams) SetTimeout(timeout time.Duration)
- func (o *AuthLogsListParams) WithAfter(after *int64) *AuthLogsListParams
- func (o *AuthLogsListParams) WithBefore(before *int64) *AuthLogsListParams
- func (o *AuthLogsListParams) WithContext(ctx context.Context) *AuthLogsListParams
- func (o *AuthLogsListParams) WithDefaults() *AuthLogsListParams
- func (o *AuthLogsListParams) WithHTTPClient(client *http.Client) *AuthLogsListParams
- func (o *AuthLogsListParams) WithKeyword(keyword *string) *AuthLogsListParams
- func (o *AuthLogsListParams) WithLimit(limit *int64) *AuthLogsListParams
- func (o *AuthLogsListParams) WithOffset(offset *int64) *AuthLogsListParams
- func (o *AuthLogsListParams) WithSortBy(sortBy *string) *AuthLogsListParams
- func (o *AuthLogsListParams) WithSortDesc(sortDesc *bool) *AuthLogsListParams
- func (o *AuthLogsListParams) WithTimeout(timeout time.Duration) *AuthLogsListParams
- func (o *AuthLogsListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AuthLogsListReader
- type Client
- func (a *Client) AuthLogsCSV(params *AuthLogsCSVParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AuthLogsCSVOK, error)
- func (a *Client) AuthLogsList(params *AuthLogsListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AuthLogsListOK, error)
- func (a *Client) LogsCSV(params *LogsCSVParams, authInfo runtime.ClientAuthInfoWriter, ...) (*LogsCSVOK, error)
- func (a *Client) LogsList(params *LogsListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*LogsListOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type LogsCSVInternalServerError
- func (o *LogsCSVInternalServerError) Code() int
- func (o *LogsCSVInternalServerError) Error() string
- func (o *LogsCSVInternalServerError) IsClientError() bool
- func (o *LogsCSVInternalServerError) IsCode(code int) bool
- func (o *LogsCSVInternalServerError) IsRedirect() bool
- func (o *LogsCSVInternalServerError) IsServerError() bool
- func (o *LogsCSVInternalServerError) IsSuccess() bool
- func (o *LogsCSVInternalServerError) String() string
- type LogsCSVOK
- func (o *LogsCSVOK) Code() int
- func (o *LogsCSVOK) Error() string
- func (o *LogsCSVOK) IsClientError() bool
- func (o *LogsCSVOK) IsCode(code int) bool
- func (o *LogsCSVOK) IsRedirect() bool
- func (o *LogsCSVOK) IsServerError() bool
- func (o *LogsCSVOK) IsSuccess() bool
- func (o *LogsCSVOK) String() string
- type LogsCSVParams
- func (o *LogsCSVParams) SetAfter(after *int64)
- func (o *LogsCSVParams) SetBefore(before *int64)
- func (o *LogsCSVParams) SetContext(ctx context.Context)
- func (o *LogsCSVParams) SetDefaults()
- func (o *LogsCSVParams) SetHTTPClient(client *http.Client)
- func (o *LogsCSVParams) SetKeyword(keyword *string)
- func (o *LogsCSVParams) SetLimit(limit *int64)
- func (o *LogsCSVParams) SetSortBy(sortBy *string)
- func (o *LogsCSVParams) SetSortDesc(sortDesc *bool)
- func (o *LogsCSVParams) SetTimeout(timeout time.Duration)
- func (o *LogsCSVParams) WithAfter(after *int64) *LogsCSVParams
- func (o *LogsCSVParams) WithBefore(before *int64) *LogsCSVParams
- func (o *LogsCSVParams) WithContext(ctx context.Context) *LogsCSVParams
- func (o *LogsCSVParams) WithDefaults() *LogsCSVParams
- func (o *LogsCSVParams) WithHTTPClient(client *http.Client) *LogsCSVParams
- func (o *LogsCSVParams) WithKeyword(keyword *string) *LogsCSVParams
- func (o *LogsCSVParams) WithLimit(limit *int64) *LogsCSVParams
- func (o *LogsCSVParams) WithSortBy(sortBy *string) *LogsCSVParams
- func (o *LogsCSVParams) WithSortDesc(sortDesc *bool) *LogsCSVParams
- func (o *LogsCSVParams) WithTimeout(timeout time.Duration) *LogsCSVParams
- func (o *LogsCSVParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LogsCSVReader
- type LogsListInternalServerError
- func (o *LogsListInternalServerError) Code() int
- func (o *LogsListInternalServerError) Error() string
- func (o *LogsListInternalServerError) IsClientError() bool
- func (o *LogsListInternalServerError) IsCode(code int) bool
- func (o *LogsListInternalServerError) IsRedirect() bool
- func (o *LogsListInternalServerError) IsServerError() bool
- func (o *LogsListInternalServerError) IsSuccess() bool
- func (o *LogsListInternalServerError) String() string
- type LogsListOK
- func (o *LogsListOK) Code() int
- func (o *LogsListOK) Error() string
- func (o *LogsListOK) GetPayload() *models.UseractivityLogsListResponse
- func (o *LogsListOK) IsClientError() bool
- func (o *LogsListOK) IsCode(code int) bool
- func (o *LogsListOK) IsRedirect() bool
- func (o *LogsListOK) IsServerError() bool
- func (o *LogsListOK) IsSuccess() bool
- func (o *LogsListOK) String() string
- type LogsListParams
- func (o *LogsListParams) SetAfter(after *int64)
- func (o *LogsListParams) SetBefore(before *int64)
- func (o *LogsListParams) SetContext(ctx context.Context)
- func (o *LogsListParams) SetDefaults()
- func (o *LogsListParams) SetHTTPClient(client *http.Client)
- func (o *LogsListParams) SetKeyword(keyword *string)
- func (o *LogsListParams) SetLimit(limit *int64)
- func (o *LogsListParams) SetOffset(offset *int64)
- func (o *LogsListParams) SetSortBy(sortBy *string)
- func (o *LogsListParams) SetSortDesc(sortDesc *bool)
- func (o *LogsListParams) SetTimeout(timeout time.Duration)
- func (o *LogsListParams) WithAfter(after *int64) *LogsListParams
- func (o *LogsListParams) WithBefore(before *int64) *LogsListParams
- func (o *LogsListParams) WithContext(ctx context.Context) *LogsListParams
- func (o *LogsListParams) WithDefaults() *LogsListParams
- func (o *LogsListParams) WithHTTPClient(client *http.Client) *LogsListParams
- func (o *LogsListParams) WithKeyword(keyword *string) *LogsListParams
- func (o *LogsListParams) WithLimit(limit *int64) *LogsListParams
- func (o *LogsListParams) WithOffset(offset *int64) *LogsListParams
- func (o *LogsListParams) WithSortBy(sortBy *string) *LogsListParams
- func (o *LogsListParams) WithSortDesc(sortDesc *bool) *LogsListParams
- func (o *LogsListParams) WithTimeout(timeout time.Duration) *LogsListParams
- func (o *LogsListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LogsListReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithAcceptApplicationJSON ¶
func WithAcceptApplicationJSON(r *runtime.ClientOperation)
WithAcceptApplicationJSON sets the Accept header to "application/json".
func WithAcceptTextCsv ¶
func WithAcceptTextCsv(r *runtime.ClientOperation)
WithAcceptTextCsv sets the Accept header to "text/csv".
Types ¶
type AuthLogsCSVInternalServerError ¶
type AuthLogsCSVInternalServerError struct {
}
AuthLogsCSVInternalServerError describes a response with status code 500, with default header values.
Server error
func NewAuthLogsCSVInternalServerError ¶
func NewAuthLogsCSVInternalServerError() *AuthLogsCSVInternalServerError
NewAuthLogsCSVInternalServerError creates a AuthLogsCSVInternalServerError with default headers values
func (*AuthLogsCSVInternalServerError) Code ¶
func (o *AuthLogsCSVInternalServerError) Code() int
Code gets the status code for the auth logs c s v internal server error response
func (*AuthLogsCSVInternalServerError) Error ¶
func (o *AuthLogsCSVInternalServerError) Error() string
func (*AuthLogsCSVInternalServerError) IsClientError ¶
func (o *AuthLogsCSVInternalServerError) IsClientError() bool
IsClientError returns true when this auth logs c s v internal server error response has a 4xx status code
func (*AuthLogsCSVInternalServerError) IsCode ¶
func (o *AuthLogsCSVInternalServerError) IsCode(code int) bool
IsCode returns true when this auth logs c s v internal server error response a status code equal to that given
func (*AuthLogsCSVInternalServerError) IsRedirect ¶
func (o *AuthLogsCSVInternalServerError) IsRedirect() bool
IsRedirect returns true when this auth logs c s v internal server error response has a 3xx status code
func (*AuthLogsCSVInternalServerError) IsServerError ¶
func (o *AuthLogsCSVInternalServerError) IsServerError() bool
IsServerError returns true when this auth logs c s v internal server error response has a 5xx status code
func (*AuthLogsCSVInternalServerError) IsSuccess ¶
func (o *AuthLogsCSVInternalServerError) IsSuccess() bool
IsSuccess returns true when this auth logs c s v internal server error response has a 2xx status code
func (*AuthLogsCSVInternalServerError) String ¶
func (o *AuthLogsCSVInternalServerError) String() string
type AuthLogsCSVOK ¶
type AuthLogsCSVOK struct {
}
AuthLogsCSVOK describes a response with status code 200, with default header values.
Success
func NewAuthLogsCSVOK ¶
func NewAuthLogsCSVOK() *AuthLogsCSVOK
NewAuthLogsCSVOK creates a AuthLogsCSVOK with default headers values
func (*AuthLogsCSVOK) Code ¶
func (o *AuthLogsCSVOK) Code() int
Code gets the status code for the auth logs c s v o k response
func (*AuthLogsCSVOK) Error ¶
func (o *AuthLogsCSVOK) Error() string
func (*AuthLogsCSVOK) IsClientError ¶
func (o *AuthLogsCSVOK) IsClientError() bool
IsClientError returns true when this auth logs c s v o k response has a 4xx status code
func (*AuthLogsCSVOK) IsCode ¶
func (o *AuthLogsCSVOK) IsCode(code int) bool
IsCode returns true when this auth logs c s v o k response a status code equal to that given
func (*AuthLogsCSVOK) IsRedirect ¶
func (o *AuthLogsCSVOK) IsRedirect() bool
IsRedirect returns true when this auth logs c s v o k response has a 3xx status code
func (*AuthLogsCSVOK) IsServerError ¶
func (o *AuthLogsCSVOK) IsServerError() bool
IsServerError returns true when this auth logs c s v o k response has a 5xx status code
func (*AuthLogsCSVOK) IsSuccess ¶
func (o *AuthLogsCSVOK) IsSuccess() bool
IsSuccess returns true when this auth logs c s v o k response has a 2xx status code
func (*AuthLogsCSVOK) String ¶
func (o *AuthLogsCSVOK) String() string
type AuthLogsCSVParams ¶
type AuthLogsCSVParams struct {
/* After.
Results after timestamp (unix)
*/
After *int64
/* Before.
Results before timestamp (unix)
*/
Before *int64
/* Keyword.
Query logs by this keyword
*/
Keyword *string
/* Limit.
Limit results
*/
Limit *int64
/* SortBy.
Sort by this column
*/
SortBy *string
/* SortDesc.
Sort order, if true will return results by descending order
*/
SortDesc *bool
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
AuthLogsCSVParams contains all the parameters to send to the API endpoint
for the auth logs c s v operation. Typically these are written to a http.Request.
func NewAuthLogsCSVParams ¶
func NewAuthLogsCSVParams() *AuthLogsCSVParams
NewAuthLogsCSVParams creates a new AuthLogsCSVParams 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 NewAuthLogsCSVParamsWithContext ¶
func NewAuthLogsCSVParamsWithContext(ctx context.Context) *AuthLogsCSVParams
NewAuthLogsCSVParamsWithContext creates a new AuthLogsCSVParams object with the ability to set a context for a request.
func NewAuthLogsCSVParamsWithHTTPClient ¶
func NewAuthLogsCSVParamsWithHTTPClient(client *http.Client) *AuthLogsCSVParams
NewAuthLogsCSVParamsWithHTTPClient creates a new AuthLogsCSVParams object with the ability to set a custom HTTPClient for a request.
func NewAuthLogsCSVParamsWithTimeout ¶
func NewAuthLogsCSVParamsWithTimeout(timeout time.Duration) *AuthLogsCSVParams
NewAuthLogsCSVParamsWithTimeout creates a new AuthLogsCSVParams object with the ability to set a timeout on a request.
func (*AuthLogsCSVParams) SetAfter ¶
func (o *AuthLogsCSVParams) SetAfter(after *int64)
SetAfter adds the after to the auth logs c s v params
func (*AuthLogsCSVParams) SetBefore ¶
func (o *AuthLogsCSVParams) SetBefore(before *int64)
SetBefore adds the before to the auth logs c s v params
func (*AuthLogsCSVParams) SetContext ¶
func (o *AuthLogsCSVParams) SetContext(ctx context.Context)
SetContext adds the context to the auth logs c s v params
func (*AuthLogsCSVParams) SetDefaults ¶
func (o *AuthLogsCSVParams) SetDefaults()
SetDefaults hydrates default values in the auth logs c s v params (not the query body).
All values with no default are reset to their zero value.
func (*AuthLogsCSVParams) SetHTTPClient ¶
func (o *AuthLogsCSVParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the auth logs c s v params
func (*AuthLogsCSVParams) SetKeyword ¶
func (o *AuthLogsCSVParams) SetKeyword(keyword *string)
SetKeyword adds the keyword to the auth logs c s v params
func (*AuthLogsCSVParams) SetLimit ¶
func (o *AuthLogsCSVParams) SetLimit(limit *int64)
SetLimit adds the limit to the auth logs c s v params
func (*AuthLogsCSVParams) SetSortBy ¶
func (o *AuthLogsCSVParams) SetSortBy(sortBy *string)
SetSortBy adds the sortBy to the auth logs c s v params
func (*AuthLogsCSVParams) SetSortDesc ¶
func (o *AuthLogsCSVParams) SetSortDesc(sortDesc *bool)
SetSortDesc adds the sortDesc to the auth logs c s v params
func (*AuthLogsCSVParams) SetTimeout ¶
func (o *AuthLogsCSVParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the auth logs c s v params
func (*AuthLogsCSVParams) WithAfter ¶
func (o *AuthLogsCSVParams) WithAfter(after *int64) *AuthLogsCSVParams
WithAfter adds the after to the auth logs c s v params
func (*AuthLogsCSVParams) WithBefore ¶
func (o *AuthLogsCSVParams) WithBefore(before *int64) *AuthLogsCSVParams
WithBefore adds the before to the auth logs c s v params
func (*AuthLogsCSVParams) WithContext ¶
func (o *AuthLogsCSVParams) WithContext(ctx context.Context) *AuthLogsCSVParams
WithContext adds the context to the auth logs c s v params
func (*AuthLogsCSVParams) WithDefaults ¶
func (o *AuthLogsCSVParams) WithDefaults() *AuthLogsCSVParams
WithDefaults hydrates default values in the auth logs c s v params (not the query body).
All values with no default are reset to their zero value.
func (*AuthLogsCSVParams) WithHTTPClient ¶
func (o *AuthLogsCSVParams) WithHTTPClient(client *http.Client) *AuthLogsCSVParams
WithHTTPClient adds the HTTPClient to the auth logs c s v params
func (*AuthLogsCSVParams) WithKeyword ¶
func (o *AuthLogsCSVParams) WithKeyword(keyword *string) *AuthLogsCSVParams
WithKeyword adds the keyword to the auth logs c s v params
func (*AuthLogsCSVParams) WithLimit ¶
func (o *AuthLogsCSVParams) WithLimit(limit *int64) *AuthLogsCSVParams
WithLimit adds the limit to the auth logs c s v params
func (*AuthLogsCSVParams) WithSortBy ¶
func (o *AuthLogsCSVParams) WithSortBy(sortBy *string) *AuthLogsCSVParams
WithSortBy adds the sortBy to the auth logs c s v params
func (*AuthLogsCSVParams) WithSortDesc ¶
func (o *AuthLogsCSVParams) WithSortDesc(sortDesc *bool) *AuthLogsCSVParams
WithSortDesc adds the sortDesc to the auth logs c s v params
func (*AuthLogsCSVParams) WithTimeout ¶
func (o *AuthLogsCSVParams) WithTimeout(timeout time.Duration) *AuthLogsCSVParams
WithTimeout adds the timeout to the auth logs c s v params
func (*AuthLogsCSVParams) WriteToRequest ¶
func (o *AuthLogsCSVParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AuthLogsCSVReader ¶
type AuthLogsCSVReader struct {
// contains filtered or unexported fields
}
AuthLogsCSVReader is a Reader for the AuthLogsCSV structure.
func (*AuthLogsCSVReader) ReadResponse ¶
func (o *AuthLogsCSVReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AuthLogsListInternalServerError ¶
type AuthLogsListInternalServerError struct {
}
AuthLogsListInternalServerError describes a response with status code 500, with default header values.
Server error
func NewAuthLogsListInternalServerError ¶
func NewAuthLogsListInternalServerError() *AuthLogsListInternalServerError
NewAuthLogsListInternalServerError creates a AuthLogsListInternalServerError with default headers values
func (*AuthLogsListInternalServerError) Code ¶
func (o *AuthLogsListInternalServerError) Code() int
Code gets the status code for the auth logs list internal server error response
func (*AuthLogsListInternalServerError) Error ¶
func (o *AuthLogsListInternalServerError) Error() string
func (*AuthLogsListInternalServerError) IsClientError ¶
func (o *AuthLogsListInternalServerError) IsClientError() bool
IsClientError returns true when this auth logs list internal server error response has a 4xx status code
func (*AuthLogsListInternalServerError) IsCode ¶
func (o *AuthLogsListInternalServerError) IsCode(code int) bool
IsCode returns true when this auth logs list internal server error response a status code equal to that given
func (*AuthLogsListInternalServerError) IsRedirect ¶
func (o *AuthLogsListInternalServerError) IsRedirect() bool
IsRedirect returns true when this auth logs list internal server error response has a 3xx status code
func (*AuthLogsListInternalServerError) IsServerError ¶
func (o *AuthLogsListInternalServerError) IsServerError() bool
IsServerError returns true when this auth logs list internal server error response has a 5xx status code
func (*AuthLogsListInternalServerError) IsSuccess ¶
func (o *AuthLogsListInternalServerError) IsSuccess() bool
IsSuccess returns true when this auth logs list internal server error response has a 2xx status code
func (*AuthLogsListInternalServerError) String ¶
func (o *AuthLogsListInternalServerError) String() string
type AuthLogsListOK ¶
type AuthLogsListOK struct {
Payload []*models.PortainereeAuthActivityLog
}
AuthLogsListOK describes a response with status code 200, with default header values.
Success
func NewAuthLogsListOK ¶
func NewAuthLogsListOK() *AuthLogsListOK
NewAuthLogsListOK creates a AuthLogsListOK with default headers values
func (*AuthLogsListOK) Code ¶
func (o *AuthLogsListOK) Code() int
Code gets the status code for the auth logs list o k response
func (*AuthLogsListOK) Error ¶
func (o *AuthLogsListOK) Error() string
func (*AuthLogsListOK) GetPayload ¶
func (o *AuthLogsListOK) GetPayload() []*models.PortainereeAuthActivityLog
func (*AuthLogsListOK) IsClientError ¶
func (o *AuthLogsListOK) IsClientError() bool
IsClientError returns true when this auth logs list o k response has a 4xx status code
func (*AuthLogsListOK) IsCode ¶
func (o *AuthLogsListOK) IsCode(code int) bool
IsCode returns true when this auth logs list o k response a status code equal to that given
func (*AuthLogsListOK) IsRedirect ¶
func (o *AuthLogsListOK) IsRedirect() bool
IsRedirect returns true when this auth logs list o k response has a 3xx status code
func (*AuthLogsListOK) IsServerError ¶
func (o *AuthLogsListOK) IsServerError() bool
IsServerError returns true when this auth logs list o k response has a 5xx status code
func (*AuthLogsListOK) IsSuccess ¶
func (o *AuthLogsListOK) IsSuccess() bool
IsSuccess returns true when this auth logs list o k response has a 2xx status code
func (*AuthLogsListOK) String ¶
func (o *AuthLogsListOK) String() string
type AuthLogsListParams ¶
type AuthLogsListParams struct {
/* After.
Results after timestamp (unix)
*/
After *int64
/* Before.
Results before timestamp (unix)
*/
Before *int64
/* Keyword.
Query logs by this keyword
*/
Keyword *string
/* Limit.
Limit results
*/
Limit *int64
/* Offset.
Pagination offset
*/
Offset *int64
/* SortBy.
Sort by this column
*/
SortBy *string
/* SortDesc.
Sort order, if true will return results by descending order
*/
SortDesc *bool
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
AuthLogsListParams contains all the parameters to send to the API endpoint
for the auth logs list operation. Typically these are written to a http.Request.
func NewAuthLogsListParams ¶
func NewAuthLogsListParams() *AuthLogsListParams
NewAuthLogsListParams creates a new AuthLogsListParams 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 NewAuthLogsListParamsWithContext ¶
func NewAuthLogsListParamsWithContext(ctx context.Context) *AuthLogsListParams
NewAuthLogsListParamsWithContext creates a new AuthLogsListParams object with the ability to set a context for a request.
func NewAuthLogsListParamsWithHTTPClient ¶
func NewAuthLogsListParamsWithHTTPClient(client *http.Client) *AuthLogsListParams
NewAuthLogsListParamsWithHTTPClient creates a new AuthLogsListParams object with the ability to set a custom HTTPClient for a request.
func NewAuthLogsListParamsWithTimeout ¶
func NewAuthLogsListParamsWithTimeout(timeout time.Duration) *AuthLogsListParams
NewAuthLogsListParamsWithTimeout creates a new AuthLogsListParams object with the ability to set a timeout on a request.
func (*AuthLogsListParams) SetAfter ¶
func (o *AuthLogsListParams) SetAfter(after *int64)
SetAfter adds the after to the auth logs list params
func (*AuthLogsListParams) SetBefore ¶
func (o *AuthLogsListParams) SetBefore(before *int64)
SetBefore adds the before to the auth logs list params
func (*AuthLogsListParams) SetContext ¶
func (o *AuthLogsListParams) SetContext(ctx context.Context)
SetContext adds the context to the auth logs list params
func (*AuthLogsListParams) SetDefaults ¶
func (o *AuthLogsListParams) SetDefaults()
SetDefaults hydrates default values in the auth logs list params (not the query body).
All values with no default are reset to their zero value.
func (*AuthLogsListParams) SetHTTPClient ¶
func (o *AuthLogsListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the auth logs list params
func (*AuthLogsListParams) SetKeyword ¶
func (o *AuthLogsListParams) SetKeyword(keyword *string)
SetKeyword adds the keyword to the auth logs list params
func (*AuthLogsListParams) SetLimit ¶
func (o *AuthLogsListParams) SetLimit(limit *int64)
SetLimit adds the limit to the auth logs list params
func (*AuthLogsListParams) SetOffset ¶
func (o *AuthLogsListParams) SetOffset(offset *int64)
SetOffset adds the offset to the auth logs list params
func (*AuthLogsListParams) SetSortBy ¶
func (o *AuthLogsListParams) SetSortBy(sortBy *string)
SetSortBy adds the sortBy to the auth logs list params
func (*AuthLogsListParams) SetSortDesc ¶
func (o *AuthLogsListParams) SetSortDesc(sortDesc *bool)
SetSortDesc adds the sortDesc to the auth logs list params
func (*AuthLogsListParams) SetTimeout ¶
func (o *AuthLogsListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the auth logs list params
func (*AuthLogsListParams) WithAfter ¶
func (o *AuthLogsListParams) WithAfter(after *int64) *AuthLogsListParams
WithAfter adds the after to the auth logs list params
func (*AuthLogsListParams) WithBefore ¶
func (o *AuthLogsListParams) WithBefore(before *int64) *AuthLogsListParams
WithBefore adds the before to the auth logs list params
func (*AuthLogsListParams) WithContext ¶
func (o *AuthLogsListParams) WithContext(ctx context.Context) *AuthLogsListParams
WithContext adds the context to the auth logs list params
func (*AuthLogsListParams) WithDefaults ¶
func (o *AuthLogsListParams) WithDefaults() *AuthLogsListParams
WithDefaults hydrates default values in the auth logs list params (not the query body).
All values with no default are reset to their zero value.
func (*AuthLogsListParams) WithHTTPClient ¶
func (o *AuthLogsListParams) WithHTTPClient(client *http.Client) *AuthLogsListParams
WithHTTPClient adds the HTTPClient to the auth logs list params
func (*AuthLogsListParams) WithKeyword ¶
func (o *AuthLogsListParams) WithKeyword(keyword *string) *AuthLogsListParams
WithKeyword adds the keyword to the auth logs list params
func (*AuthLogsListParams) WithLimit ¶
func (o *AuthLogsListParams) WithLimit(limit *int64) *AuthLogsListParams
WithLimit adds the limit to the auth logs list params
func (*AuthLogsListParams) WithOffset ¶
func (o *AuthLogsListParams) WithOffset(offset *int64) *AuthLogsListParams
WithOffset adds the offset to the auth logs list params
func (*AuthLogsListParams) WithSortBy ¶
func (o *AuthLogsListParams) WithSortBy(sortBy *string) *AuthLogsListParams
WithSortBy adds the sortBy to the auth logs list params
func (*AuthLogsListParams) WithSortDesc ¶
func (o *AuthLogsListParams) WithSortDesc(sortDesc *bool) *AuthLogsListParams
WithSortDesc adds the sortDesc to the auth logs list params
func (*AuthLogsListParams) WithTimeout ¶
func (o *AuthLogsListParams) WithTimeout(timeout time.Duration) *AuthLogsListParams
WithTimeout adds the timeout to the auth logs list params
func (*AuthLogsListParams) WriteToRequest ¶
func (o *AuthLogsListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AuthLogsListReader ¶
type AuthLogsListReader struct {
// contains filtered or unexported fields
}
AuthLogsListReader is a Reader for the AuthLogsList structure.
func (*AuthLogsListReader) ReadResponse ¶
func (o *AuthLogsListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for useractivity API
func (*Client) AuthLogsCSV ¶
func (a *Client) AuthLogsCSV(params *AuthLogsCSVParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuthLogsCSVOK, error)
AuthLogsCSV downloads auth logs as c s v Download auth logs as CSV by provided query
**Access policy**: admin
func (*Client) AuthLogsList ¶
func (a *Client) AuthLogsList(params *AuthLogsListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuthLogsListOK, error)
AuthLogsList lists auth activity logs List logs by provided query
**Access policy**: admin
func (*Client) LogsCSV ¶
func (a *Client) LogsCSV(params *LogsCSVParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LogsCSVOK, error)
LogsCSV downloads user activity logs as c s v Download user activity logs as CSV by provided query
**Access policy**: admin
func (*Client) LogsList ¶
func (a *Client) LogsList(params *LogsListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LogsListOK, error)
LogsList lists user activity logs List logs by provided query
**Access policy**: admin
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
func WithAccept ¶
func WithAccept(mime string) ClientOption
WithAccept allows the client to force the Accept header to negotiate a specific Producer from the server.
You may use this option to set arbitrary extensions to your MIME media type.
type ClientService ¶
type ClientService interface {
AuthLogsCSV(params *AuthLogsCSVParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuthLogsCSVOK, error)
AuthLogsList(params *AuthLogsListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuthLogsListOK, error)
LogsCSV(params *LogsCSVParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LogsCSVOK, error)
LogsList(params *LogsListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LogsListOK, 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 useractivity API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new useractivity API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new useractivity API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type LogsCSVInternalServerError ¶
type LogsCSVInternalServerError struct {
}
LogsCSVInternalServerError describes a response with status code 500, with default header values.
Server error
func NewLogsCSVInternalServerError ¶
func NewLogsCSVInternalServerError() *LogsCSVInternalServerError
NewLogsCSVInternalServerError creates a LogsCSVInternalServerError with default headers values
func (*LogsCSVInternalServerError) Code ¶
func (o *LogsCSVInternalServerError) Code() int
Code gets the status code for the logs c s v internal server error response
func (*LogsCSVInternalServerError) Error ¶
func (o *LogsCSVInternalServerError) Error() string
func (*LogsCSVInternalServerError) IsClientError ¶
func (o *LogsCSVInternalServerError) IsClientError() bool
IsClientError returns true when this logs c s v internal server error response has a 4xx status code
func (*LogsCSVInternalServerError) IsCode ¶
func (o *LogsCSVInternalServerError) IsCode(code int) bool
IsCode returns true when this logs c s v internal server error response a status code equal to that given
func (*LogsCSVInternalServerError) IsRedirect ¶
func (o *LogsCSVInternalServerError) IsRedirect() bool
IsRedirect returns true when this logs c s v internal server error response has a 3xx status code
func (*LogsCSVInternalServerError) IsServerError ¶
func (o *LogsCSVInternalServerError) IsServerError() bool
IsServerError returns true when this logs c s v internal server error response has a 5xx status code
func (*LogsCSVInternalServerError) IsSuccess ¶
func (o *LogsCSVInternalServerError) IsSuccess() bool
IsSuccess returns true when this logs c s v internal server error response has a 2xx status code
func (*LogsCSVInternalServerError) String ¶
func (o *LogsCSVInternalServerError) String() string
type LogsCSVOK ¶
type LogsCSVOK struct {
}
LogsCSVOK describes a response with status code 200, with default header values.
Success
func NewLogsCSVOK ¶
func NewLogsCSVOK() *LogsCSVOK
NewLogsCSVOK creates a LogsCSVOK with default headers values
func (*LogsCSVOK) IsClientError ¶
IsClientError returns true when this logs c s v o k response has a 4xx status code
func (*LogsCSVOK) IsCode ¶
IsCode returns true when this logs c s v o k response a status code equal to that given
func (*LogsCSVOK) IsRedirect ¶
IsRedirect returns true when this logs c s v o k response has a 3xx status code
func (*LogsCSVOK) IsServerError ¶
IsServerError returns true when this logs c s v o k response has a 5xx status code
type LogsCSVParams ¶
type LogsCSVParams struct {
/* After.
Results after timestamp (unix)
*/
After *int64
/* Before.
Results before timestamp (unix)
*/
Before *int64
/* Keyword.
Query logs by this keyword
*/
Keyword *string
/* Limit.
Limit results
*/
Limit *int64
/* SortBy.
Sort by this column
*/
SortBy *string
/* SortDesc.
Sort order, if true will return results by descending order
*/
SortDesc *bool
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
LogsCSVParams contains all the parameters to send to the API endpoint
for the logs c s v operation. Typically these are written to a http.Request.
func NewLogsCSVParams ¶
func NewLogsCSVParams() *LogsCSVParams
NewLogsCSVParams creates a new LogsCSVParams 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 NewLogsCSVParamsWithContext ¶
func NewLogsCSVParamsWithContext(ctx context.Context) *LogsCSVParams
NewLogsCSVParamsWithContext creates a new LogsCSVParams object with the ability to set a context for a request.
func NewLogsCSVParamsWithHTTPClient ¶
func NewLogsCSVParamsWithHTTPClient(client *http.Client) *LogsCSVParams
NewLogsCSVParamsWithHTTPClient creates a new LogsCSVParams object with the ability to set a custom HTTPClient for a request.
func NewLogsCSVParamsWithTimeout ¶
func NewLogsCSVParamsWithTimeout(timeout time.Duration) *LogsCSVParams
NewLogsCSVParamsWithTimeout creates a new LogsCSVParams object with the ability to set a timeout on a request.
func (*LogsCSVParams) SetAfter ¶
func (o *LogsCSVParams) SetAfter(after *int64)
SetAfter adds the after to the logs c s v params
func (*LogsCSVParams) SetBefore ¶
func (o *LogsCSVParams) SetBefore(before *int64)
SetBefore adds the before to the logs c s v params
func (*LogsCSVParams) SetContext ¶
func (o *LogsCSVParams) SetContext(ctx context.Context)
SetContext adds the context to the logs c s v params
func (*LogsCSVParams) SetDefaults ¶
func (o *LogsCSVParams) SetDefaults()
SetDefaults hydrates default values in the logs c s v params (not the query body).
All values with no default are reset to their zero value.
func (*LogsCSVParams) SetHTTPClient ¶
func (o *LogsCSVParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the logs c s v params
func (*LogsCSVParams) SetKeyword ¶
func (o *LogsCSVParams) SetKeyword(keyword *string)
SetKeyword adds the keyword to the logs c s v params
func (*LogsCSVParams) SetLimit ¶
func (o *LogsCSVParams) SetLimit(limit *int64)
SetLimit adds the limit to the logs c s v params
func (*LogsCSVParams) SetSortBy ¶
func (o *LogsCSVParams) SetSortBy(sortBy *string)
SetSortBy adds the sortBy to the logs c s v params
func (*LogsCSVParams) SetSortDesc ¶
func (o *LogsCSVParams) SetSortDesc(sortDesc *bool)
SetSortDesc adds the sortDesc to the logs c s v params
func (*LogsCSVParams) SetTimeout ¶
func (o *LogsCSVParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the logs c s v params
func (*LogsCSVParams) WithAfter ¶
func (o *LogsCSVParams) WithAfter(after *int64) *LogsCSVParams
WithAfter adds the after to the logs c s v params
func (*LogsCSVParams) WithBefore ¶
func (o *LogsCSVParams) WithBefore(before *int64) *LogsCSVParams
WithBefore adds the before to the logs c s v params
func (*LogsCSVParams) WithContext ¶
func (o *LogsCSVParams) WithContext(ctx context.Context) *LogsCSVParams
WithContext adds the context to the logs c s v params
func (*LogsCSVParams) WithDefaults ¶
func (o *LogsCSVParams) WithDefaults() *LogsCSVParams
WithDefaults hydrates default values in the logs c s v params (not the query body).
All values with no default are reset to their zero value.
func (*LogsCSVParams) WithHTTPClient ¶
func (o *LogsCSVParams) WithHTTPClient(client *http.Client) *LogsCSVParams
WithHTTPClient adds the HTTPClient to the logs c s v params
func (*LogsCSVParams) WithKeyword ¶
func (o *LogsCSVParams) WithKeyword(keyword *string) *LogsCSVParams
WithKeyword adds the keyword to the logs c s v params
func (*LogsCSVParams) WithLimit ¶
func (o *LogsCSVParams) WithLimit(limit *int64) *LogsCSVParams
WithLimit adds the limit to the logs c s v params
func (*LogsCSVParams) WithSortBy ¶
func (o *LogsCSVParams) WithSortBy(sortBy *string) *LogsCSVParams
WithSortBy adds the sortBy to the logs c s v params
func (*LogsCSVParams) WithSortDesc ¶
func (o *LogsCSVParams) WithSortDesc(sortDesc *bool) *LogsCSVParams
WithSortDesc adds the sortDesc to the logs c s v params
func (*LogsCSVParams) WithTimeout ¶
func (o *LogsCSVParams) WithTimeout(timeout time.Duration) *LogsCSVParams
WithTimeout adds the timeout to the logs c s v params
func (*LogsCSVParams) WriteToRequest ¶
func (o *LogsCSVParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LogsCSVReader ¶
type LogsCSVReader struct {
// contains filtered or unexported fields
}
LogsCSVReader is a Reader for the LogsCSV structure.
func (*LogsCSVReader) ReadResponse ¶
func (o *LogsCSVReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LogsListInternalServerError ¶
type LogsListInternalServerError struct {
}
LogsListInternalServerError describes a response with status code 500, with default header values.
Server error
func NewLogsListInternalServerError ¶
func NewLogsListInternalServerError() *LogsListInternalServerError
NewLogsListInternalServerError creates a LogsListInternalServerError with default headers values
func (*LogsListInternalServerError) Code ¶
func (o *LogsListInternalServerError) Code() int
Code gets the status code for the logs list internal server error response
func (*LogsListInternalServerError) Error ¶
func (o *LogsListInternalServerError) Error() string
func (*LogsListInternalServerError) IsClientError ¶
func (o *LogsListInternalServerError) IsClientError() bool
IsClientError returns true when this logs list internal server error response has a 4xx status code
func (*LogsListInternalServerError) IsCode ¶
func (o *LogsListInternalServerError) IsCode(code int) bool
IsCode returns true when this logs list internal server error response a status code equal to that given
func (*LogsListInternalServerError) IsRedirect ¶
func (o *LogsListInternalServerError) IsRedirect() bool
IsRedirect returns true when this logs list internal server error response has a 3xx status code
func (*LogsListInternalServerError) IsServerError ¶
func (o *LogsListInternalServerError) IsServerError() bool
IsServerError returns true when this logs list internal server error response has a 5xx status code
func (*LogsListInternalServerError) IsSuccess ¶
func (o *LogsListInternalServerError) IsSuccess() bool
IsSuccess returns true when this logs list internal server error response has a 2xx status code
func (*LogsListInternalServerError) String ¶
func (o *LogsListInternalServerError) String() string
type LogsListOK ¶
type LogsListOK struct {
Payload *models.UseractivityLogsListResponse
}
LogsListOK describes a response with status code 200, with default header values.
Success
func NewLogsListOK ¶
func NewLogsListOK() *LogsListOK
NewLogsListOK creates a LogsListOK with default headers values
func (*LogsListOK) Code ¶
func (o *LogsListOK) Code() int
Code gets the status code for the logs list o k response
func (*LogsListOK) Error ¶
func (o *LogsListOK) Error() string
func (*LogsListOK) GetPayload ¶
func (o *LogsListOK) GetPayload() *models.UseractivityLogsListResponse
func (*LogsListOK) IsClientError ¶
func (o *LogsListOK) IsClientError() bool
IsClientError returns true when this logs list o k response has a 4xx status code
func (*LogsListOK) IsCode ¶
func (o *LogsListOK) IsCode(code int) bool
IsCode returns true when this logs list o k response a status code equal to that given
func (*LogsListOK) IsRedirect ¶
func (o *LogsListOK) IsRedirect() bool
IsRedirect returns true when this logs list o k response has a 3xx status code
func (*LogsListOK) IsServerError ¶
func (o *LogsListOK) IsServerError() bool
IsServerError returns true when this logs list o k response has a 5xx status code
func (*LogsListOK) IsSuccess ¶
func (o *LogsListOK) IsSuccess() bool
IsSuccess returns true when this logs list o k response has a 2xx status code
func (*LogsListOK) String ¶
func (o *LogsListOK) String() string
type LogsListParams ¶
type LogsListParams struct {
/* After.
Results after timestamp (unix)
*/
After *int64
/* Before.
Results before timestamp (unix)
*/
Before *int64
/* Keyword.
Query logs by this keyword
*/
Keyword *string
/* Limit.
Limit results
*/
Limit *int64
/* Offset.
Pagination offset
*/
Offset *int64
/* SortBy.
Sort by this column
*/
SortBy *string
/* SortDesc.
Sort order, if true will return results by descending order
*/
SortDesc *bool
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
LogsListParams contains all the parameters to send to the API endpoint
for the logs list operation. Typically these are written to a http.Request.
func NewLogsListParams ¶
func NewLogsListParams() *LogsListParams
NewLogsListParams creates a new LogsListParams 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 NewLogsListParamsWithContext ¶
func NewLogsListParamsWithContext(ctx context.Context) *LogsListParams
NewLogsListParamsWithContext creates a new LogsListParams object with the ability to set a context for a request.
func NewLogsListParamsWithHTTPClient ¶
func NewLogsListParamsWithHTTPClient(client *http.Client) *LogsListParams
NewLogsListParamsWithHTTPClient creates a new LogsListParams object with the ability to set a custom HTTPClient for a request.
func NewLogsListParamsWithTimeout ¶
func NewLogsListParamsWithTimeout(timeout time.Duration) *LogsListParams
NewLogsListParamsWithTimeout creates a new LogsListParams object with the ability to set a timeout on a request.
func (*LogsListParams) SetAfter ¶
func (o *LogsListParams) SetAfter(after *int64)
SetAfter adds the after to the logs list params
func (*LogsListParams) SetBefore ¶
func (o *LogsListParams) SetBefore(before *int64)
SetBefore adds the before to the logs list params
func (*LogsListParams) SetContext ¶
func (o *LogsListParams) SetContext(ctx context.Context)
SetContext adds the context to the logs list params
func (*LogsListParams) SetDefaults ¶
func (o *LogsListParams) SetDefaults()
SetDefaults hydrates default values in the logs list params (not the query body).
All values with no default are reset to their zero value.
func (*LogsListParams) SetHTTPClient ¶
func (o *LogsListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the logs list params
func (*LogsListParams) SetKeyword ¶
func (o *LogsListParams) SetKeyword(keyword *string)
SetKeyword adds the keyword to the logs list params
func (*LogsListParams) SetLimit ¶
func (o *LogsListParams) SetLimit(limit *int64)
SetLimit adds the limit to the logs list params
func (*LogsListParams) SetOffset ¶
func (o *LogsListParams) SetOffset(offset *int64)
SetOffset adds the offset to the logs list params
func (*LogsListParams) SetSortBy ¶
func (o *LogsListParams) SetSortBy(sortBy *string)
SetSortBy adds the sortBy to the logs list params
func (*LogsListParams) SetSortDesc ¶
func (o *LogsListParams) SetSortDesc(sortDesc *bool)
SetSortDesc adds the sortDesc to the logs list params
func (*LogsListParams) SetTimeout ¶
func (o *LogsListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the logs list params
func (*LogsListParams) WithAfter ¶
func (o *LogsListParams) WithAfter(after *int64) *LogsListParams
WithAfter adds the after to the logs list params
func (*LogsListParams) WithBefore ¶
func (o *LogsListParams) WithBefore(before *int64) *LogsListParams
WithBefore adds the before to the logs list params
func (*LogsListParams) WithContext ¶
func (o *LogsListParams) WithContext(ctx context.Context) *LogsListParams
WithContext adds the context to the logs list params
func (*LogsListParams) WithDefaults ¶
func (o *LogsListParams) WithDefaults() *LogsListParams
WithDefaults hydrates default values in the logs list params (not the query body).
All values with no default are reset to their zero value.
func (*LogsListParams) WithHTTPClient ¶
func (o *LogsListParams) WithHTTPClient(client *http.Client) *LogsListParams
WithHTTPClient adds the HTTPClient to the logs list params
func (*LogsListParams) WithKeyword ¶
func (o *LogsListParams) WithKeyword(keyword *string) *LogsListParams
WithKeyword adds the keyword to the logs list params
func (*LogsListParams) WithLimit ¶
func (o *LogsListParams) WithLimit(limit *int64) *LogsListParams
WithLimit adds the limit to the logs list params
func (*LogsListParams) WithOffset ¶
func (o *LogsListParams) WithOffset(offset *int64) *LogsListParams
WithOffset adds the offset to the logs list params
func (*LogsListParams) WithSortBy ¶
func (o *LogsListParams) WithSortBy(sortBy *string) *LogsListParams
WithSortBy adds the sortBy to the logs list params
func (*LogsListParams) WithSortDesc ¶
func (o *LogsListParams) WithSortDesc(sortDesc *bool) *LogsListParams
WithSortDesc adds the sortDesc to the logs list params
func (*LogsListParams) WithTimeout ¶
func (o *LogsListParams) WithTimeout(timeout time.Duration) *LogsListParams
WithTimeout adds the timeout to the logs list params
func (*LogsListParams) WriteToRequest ¶
func (o *LogsListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LogsListReader ¶
type LogsListReader struct {
// contains filtered or unexported fields
}
LogsListReader is a Reader for the LogsList structure.
func (*LogsListReader) ReadResponse ¶
func (o *LogsListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.