Documentation ¶
Index ¶
- type AppVersionOK
- type AppVersionParams
- func (o *AppVersionParams) SetContext(ctx context.Context)
- func (o *AppVersionParams) SetDefaults()
- func (o *AppVersionParams) SetHTTPClient(client *http.Client)
- func (o *AppVersionParams) SetTimeout(timeout time.Duration)
- func (o *AppVersionParams) WithContext(ctx context.Context) *AppVersionParams
- func (o *AppVersionParams) WithDefaults() *AppVersionParams
- func (o *AppVersionParams) WithHTTPClient(client *http.Client) *AppVersionParams
- func (o *AppVersionParams) WithTimeout(timeout time.Duration) *AppVersionParams
- func (o *AppVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AppVersionReader
- type Client
- func (a *Client) AppVersion(params *AppVersionParams, opts ...ClientOption) (*AppVersionOK, error)
- func (a *Client) CustomerCount(params *CustomerCountParams, opts ...ClientOption) (*CustomerCountOK, error)
- func (a *Client) GetFilteredLogs(params *GetFilteredLogsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetFilteredLogsOK, error)
- func (a *Client) GetLogs(params *GetLogsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetLogsOK, error)
- func (a *Client) GetSessionInfo(params *GetSessionInfoParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetSessionInfoOK, error)
- func (a *Client) RegisterCustomer(params *RegisterCustomerParams, opts ...ClientOption) (*RegisterCustomerOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CustomerCountOK
- type CustomerCountParams
- func (o *CustomerCountParams) SetContext(ctx context.Context)
- func (o *CustomerCountParams) SetDefaults()
- func (o *CustomerCountParams) SetHTTPClient(client *http.Client)
- func (o *CustomerCountParams) SetTimeout(timeout time.Duration)
- func (o *CustomerCountParams) WithContext(ctx context.Context) *CustomerCountParams
- func (o *CustomerCountParams) WithDefaults() *CustomerCountParams
- func (o *CustomerCountParams) WithHTTPClient(client *http.Client) *CustomerCountParams
- func (o *CustomerCountParams) WithTimeout(timeout time.Duration) *CustomerCountParams
- func (o *CustomerCountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CustomerCountReader
- type GetFilteredLogsOK
- type GetFilteredLogsParams
- func NewGetFilteredLogsParams() *GetFilteredLogsParams
- func NewGetFilteredLogsParamsWithContext(ctx context.Context) *GetFilteredLogsParams
- func NewGetFilteredLogsParamsWithHTTPClient(client *http.Client) *GetFilteredLogsParams
- func NewGetFilteredLogsParamsWithTimeout(timeout time.Duration) *GetFilteredLogsParams
- func (o *GetFilteredLogsParams) SetContext(ctx context.Context)
- func (o *GetFilteredLogsParams) SetDefaults()
- func (o *GetFilteredLogsParams) SetHTTPClient(client *http.Client)
- func (o *GetFilteredLogsParams) SetMaxLines(maxLines *int32)
- func (o *GetFilteredLogsParams) SetQueryRegex(queryRegex *string)
- func (o *GetFilteredLogsParams) SetTimeout(timeout time.Duration)
- func (o *GetFilteredLogsParams) SetUniverseName(universeName *string)
- func (o *GetFilteredLogsParams) WithContext(ctx context.Context) *GetFilteredLogsParams
- func (o *GetFilteredLogsParams) WithDefaults() *GetFilteredLogsParams
- func (o *GetFilteredLogsParams) WithHTTPClient(client *http.Client) *GetFilteredLogsParams
- func (o *GetFilteredLogsParams) WithMaxLines(maxLines *int32) *GetFilteredLogsParams
- func (o *GetFilteredLogsParams) WithQueryRegex(queryRegex *string) *GetFilteredLogsParams
- func (o *GetFilteredLogsParams) WithTimeout(timeout time.Duration) *GetFilteredLogsParams
- func (o *GetFilteredLogsParams) WithUniverseName(universeName *string) *GetFilteredLogsParams
- func (o *GetFilteredLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFilteredLogsReader
- type GetLogsOK
- type GetLogsParams
- func (o *GetLogsParams) SetContext(ctx context.Context)
- func (o *GetLogsParams) SetDefaults()
- func (o *GetLogsParams) SetHTTPClient(client *http.Client)
- func (o *GetLogsParams) SetMaxLines(maxLines int32)
- func (o *GetLogsParams) SetTimeout(timeout time.Duration)
- func (o *GetLogsParams) WithContext(ctx context.Context) *GetLogsParams
- func (o *GetLogsParams) WithDefaults() *GetLogsParams
- func (o *GetLogsParams) WithHTTPClient(client *http.Client) *GetLogsParams
- func (o *GetLogsParams) WithMaxLines(maxLines int32) *GetLogsParams
- func (o *GetLogsParams) WithTimeout(timeout time.Duration) *GetLogsParams
- func (o *GetLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLogsReader
- type GetSessionInfoOK
- type GetSessionInfoParams
- func NewGetSessionInfoParams() *GetSessionInfoParams
- func NewGetSessionInfoParamsWithContext(ctx context.Context) *GetSessionInfoParams
- func NewGetSessionInfoParamsWithHTTPClient(client *http.Client) *GetSessionInfoParams
- func NewGetSessionInfoParamsWithTimeout(timeout time.Duration) *GetSessionInfoParams
- func (o *GetSessionInfoParams) SetContext(ctx context.Context)
- func (o *GetSessionInfoParams) SetDefaults()
- func (o *GetSessionInfoParams) SetHTTPClient(client *http.Client)
- func (o *GetSessionInfoParams) SetTimeout(timeout time.Duration)
- func (o *GetSessionInfoParams) WithContext(ctx context.Context) *GetSessionInfoParams
- func (o *GetSessionInfoParams) WithDefaults() *GetSessionInfoParams
- func (o *GetSessionInfoParams) WithHTTPClient(client *http.Client) *GetSessionInfoParams
- func (o *GetSessionInfoParams) WithTimeout(timeout time.Duration) *GetSessionInfoParams
- func (o *GetSessionInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSessionInfoReader
- type RegisterCustomerOK
- type RegisterCustomerParams
- func NewRegisterCustomerParams() *RegisterCustomerParams
- func NewRegisterCustomerParamsWithContext(ctx context.Context) *RegisterCustomerParams
- func NewRegisterCustomerParamsWithHTTPClient(client *http.Client) *RegisterCustomerParams
- func NewRegisterCustomerParamsWithTimeout(timeout time.Duration) *RegisterCustomerParams
- func (o *RegisterCustomerParams) SetContext(ctx context.Context)
- func (o *RegisterCustomerParams) SetCustomerRegisterFormData(customerRegisterFormData *models.CustomerRegisterFormData)
- func (o *RegisterCustomerParams) SetDefaults()
- func (o *RegisterCustomerParams) SetGenerateAPIToken(generateAPIToken *bool)
- func (o *RegisterCustomerParams) SetHTTPClient(client *http.Client)
- func (o *RegisterCustomerParams) SetTimeout(timeout time.Duration)
- func (o *RegisterCustomerParams) WithContext(ctx context.Context) *RegisterCustomerParams
- func (o *RegisterCustomerParams) WithCustomerRegisterFormData(customerRegisterFormData *models.CustomerRegisterFormData) *RegisterCustomerParams
- func (o *RegisterCustomerParams) WithDefaults() *RegisterCustomerParams
- func (o *RegisterCustomerParams) WithGenerateAPIToken(generateAPIToken *bool) *RegisterCustomerParams
- func (o *RegisterCustomerParams) WithHTTPClient(client *http.Client) *RegisterCustomerParams
- func (o *RegisterCustomerParams) WithTimeout(timeout time.Duration) *RegisterCustomerParams
- func (o *RegisterCustomerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RegisterCustomerReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppVersionOK ¶
AppVersionOK describes a response with status code 200, with default header values.
successful operation
func NewAppVersionOK ¶
func NewAppVersionOK() *AppVersionOK
NewAppVersionOK creates a AppVersionOK with default headers values
func (*AppVersionOK) Error ¶
func (o *AppVersionOK) Error() string
func (*AppVersionOK) GetPayload ¶
func (o *AppVersionOK) GetPayload() map[string]string
type AppVersionParams ¶
type AppVersionParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AppVersionParams contains all the parameters to send to the API endpoint
for the app version operation. Typically these are written to a http.Request.
func NewAppVersionParams ¶
func NewAppVersionParams() *AppVersionParams
NewAppVersionParams creates a new AppVersionParams 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 NewAppVersionParamsWithContext ¶
func NewAppVersionParamsWithContext(ctx context.Context) *AppVersionParams
NewAppVersionParamsWithContext creates a new AppVersionParams object with the ability to set a context for a request.
func NewAppVersionParamsWithHTTPClient ¶
func NewAppVersionParamsWithHTTPClient(client *http.Client) *AppVersionParams
NewAppVersionParamsWithHTTPClient creates a new AppVersionParams object with the ability to set a custom HTTPClient for a request.
func NewAppVersionParamsWithTimeout ¶
func NewAppVersionParamsWithTimeout(timeout time.Duration) *AppVersionParams
NewAppVersionParamsWithTimeout creates a new AppVersionParams object with the ability to set a timeout on a request.
func (*AppVersionParams) SetContext ¶
func (o *AppVersionParams) SetContext(ctx context.Context)
SetContext adds the context to the app version params
func (*AppVersionParams) SetDefaults ¶
func (o *AppVersionParams) SetDefaults()
SetDefaults hydrates default values in the app version params (not the query body).
All values with no default are reset to their zero value.
func (*AppVersionParams) SetHTTPClient ¶
func (o *AppVersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the app version params
func (*AppVersionParams) SetTimeout ¶
func (o *AppVersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the app version params
func (*AppVersionParams) WithContext ¶
func (o *AppVersionParams) WithContext(ctx context.Context) *AppVersionParams
WithContext adds the context to the app version params
func (*AppVersionParams) WithDefaults ¶
func (o *AppVersionParams) WithDefaults() *AppVersionParams
WithDefaults hydrates default values in the app version params (not the query body).
All values with no default are reset to their zero value.
func (*AppVersionParams) WithHTTPClient ¶
func (o *AppVersionParams) WithHTTPClient(client *http.Client) *AppVersionParams
WithHTTPClient adds the HTTPClient to the app version params
func (*AppVersionParams) WithTimeout ¶
func (o *AppVersionParams) WithTimeout(timeout time.Duration) *AppVersionParams
WithTimeout adds the timeout to the app version params
func (*AppVersionParams) WriteToRequest ¶
func (o *AppVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AppVersionReader ¶
type AppVersionReader struct {
// contains filtered or unexported fields
}
AppVersionReader is a Reader for the AppVersion structure.
func (*AppVersionReader) ReadResponse ¶
func (o *AppVersionReader) 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 session management API
func (*Client) AppVersion ¶
func (a *Client) AppVersion(params *AppVersionParams, opts ...ClientOption) (*AppVersionOK, error)
AppVersion apps version
func (*Client) CustomerCount ¶
func (a *Client) CustomerCount(params *CustomerCountParams, opts ...ClientOption) (*CustomerCountOK, error)
CustomerCount customers count
func (*Client) GetFilteredLogs ¶
func (a *Client) GetFilteredLogs(params *GetFilteredLogsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetFilteredLogsOK, error)
GetFilteredLogs gets filtered logs
PLAT-3091: Adds security key (missing in upstream swagger.json)
func (*Client) GetLogs ¶
func (a *Client) GetLogs(params *GetLogsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLogsOK, error)
GetLogs gets logs
PLAT-3091: Adds security key (missing in upstream swagger.json)
func (*Client) GetSessionInfo ¶
func (a *Client) GetSessionInfo(params *GetSessionInfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSessionInfoOK, error)
GetSessionInfo gets current user customer uuid auth api token
func (*Client) RegisterCustomer ¶
func (a *Client) RegisterCustomer(params *RegisterCustomerParams, opts ...ClientOption) (*RegisterCustomerOK, error)
RegisterCustomer registers a customer
Creates new customer and user
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 is the option for Client methods
type ClientService ¶
type ClientService interface { AppVersion(params *AppVersionParams, opts ...ClientOption) (*AppVersionOK, error) CustomerCount(params *CustomerCountParams, opts ...ClientOption) (*CustomerCountOK, error) GetFilteredLogs(params *GetFilteredLogsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetFilteredLogsOK, error) GetLogs(params *GetLogsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLogsOK, error) GetSessionInfo(params *GetSessionInfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSessionInfoOK, error) RegisterCustomer(params *RegisterCustomerParams, opts ...ClientOption) (*RegisterCustomerOK, 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 session management API client.
type CustomerCountOK ¶
type CustomerCountOK struct {
Payload *models.CustomerCountResp
}
CustomerCountOK describes a response with status code 200, with default header values.
successful operation
func NewCustomerCountOK ¶
func NewCustomerCountOK() *CustomerCountOK
NewCustomerCountOK creates a CustomerCountOK with default headers values
func (*CustomerCountOK) Error ¶
func (o *CustomerCountOK) Error() string
func (*CustomerCountOK) GetPayload ¶
func (o *CustomerCountOK) GetPayload() *models.CustomerCountResp
type CustomerCountParams ¶
type CustomerCountParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CustomerCountParams contains all the parameters to send to the API endpoint
for the customer count operation. Typically these are written to a http.Request.
func NewCustomerCountParams ¶
func NewCustomerCountParams() *CustomerCountParams
NewCustomerCountParams creates a new CustomerCountParams 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 NewCustomerCountParamsWithContext ¶
func NewCustomerCountParamsWithContext(ctx context.Context) *CustomerCountParams
NewCustomerCountParamsWithContext creates a new CustomerCountParams object with the ability to set a context for a request.
func NewCustomerCountParamsWithHTTPClient ¶
func NewCustomerCountParamsWithHTTPClient(client *http.Client) *CustomerCountParams
NewCustomerCountParamsWithHTTPClient creates a new CustomerCountParams object with the ability to set a custom HTTPClient for a request.
func NewCustomerCountParamsWithTimeout ¶
func NewCustomerCountParamsWithTimeout(timeout time.Duration) *CustomerCountParams
NewCustomerCountParamsWithTimeout creates a new CustomerCountParams object with the ability to set a timeout on a request.
func (*CustomerCountParams) SetContext ¶
func (o *CustomerCountParams) SetContext(ctx context.Context)
SetContext adds the context to the customer count params
func (*CustomerCountParams) SetDefaults ¶
func (o *CustomerCountParams) SetDefaults()
SetDefaults hydrates default values in the customer count params (not the query body).
All values with no default are reset to their zero value.
func (*CustomerCountParams) SetHTTPClient ¶
func (o *CustomerCountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the customer count params
func (*CustomerCountParams) SetTimeout ¶
func (o *CustomerCountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the customer count params
func (*CustomerCountParams) WithContext ¶
func (o *CustomerCountParams) WithContext(ctx context.Context) *CustomerCountParams
WithContext adds the context to the customer count params
func (*CustomerCountParams) WithDefaults ¶
func (o *CustomerCountParams) WithDefaults() *CustomerCountParams
WithDefaults hydrates default values in the customer count params (not the query body).
All values with no default are reset to their zero value.
func (*CustomerCountParams) WithHTTPClient ¶
func (o *CustomerCountParams) WithHTTPClient(client *http.Client) *CustomerCountParams
WithHTTPClient adds the HTTPClient to the customer count params
func (*CustomerCountParams) WithTimeout ¶
func (o *CustomerCountParams) WithTimeout(timeout time.Duration) *CustomerCountParams
WithTimeout adds the timeout to the customer count params
func (*CustomerCountParams) WriteToRequest ¶
func (o *CustomerCountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CustomerCountReader ¶
type CustomerCountReader struct {
// contains filtered or unexported fields
}
CustomerCountReader is a Reader for the CustomerCount structure.
func (*CustomerCountReader) ReadResponse ¶
func (o *CustomerCountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetFilteredLogsOK ¶
GetFilteredLogsOK describes a response with status code 200, with default header values.
successful operation. Changes from upstream: the return value for this field changed in 855eeb0b6b. This change was reverted to the v2.8.1 version of this call, and thus this API call is not compatible with v2.11.0+
func NewGetFilteredLogsOK ¶
func NewGetFilteredLogsOK() *GetFilteredLogsOK
NewGetFilteredLogsOK creates a GetFilteredLogsOK with default headers values
func (*GetFilteredLogsOK) Error ¶
func (o *GetFilteredLogsOK) Error() string
func (*GetFilteredLogsOK) GetPayload ¶
func (o *GetFilteredLogsOK) GetPayload() *models.LogData
type GetFilteredLogsParams ¶
type GetFilteredLogsParams struct { // MaxLines. // // Format: int32 // Default: 10000 MaxLines *int32 // QueryRegex. // // Default: "null" QueryRegex *string // UniverseName. // // Default: "null" UniverseName *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetFilteredLogsParams contains all the parameters to send to the API endpoint
for the get filtered logs operation. Typically these are written to a http.Request.
func NewGetFilteredLogsParams ¶
func NewGetFilteredLogsParams() *GetFilteredLogsParams
NewGetFilteredLogsParams creates a new GetFilteredLogsParams 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 NewGetFilteredLogsParamsWithContext ¶
func NewGetFilteredLogsParamsWithContext(ctx context.Context) *GetFilteredLogsParams
NewGetFilteredLogsParamsWithContext creates a new GetFilteredLogsParams object with the ability to set a context for a request.
func NewGetFilteredLogsParamsWithHTTPClient ¶
func NewGetFilteredLogsParamsWithHTTPClient(client *http.Client) *GetFilteredLogsParams
NewGetFilteredLogsParamsWithHTTPClient creates a new GetFilteredLogsParams object with the ability to set a custom HTTPClient for a request.
func NewGetFilteredLogsParamsWithTimeout ¶
func NewGetFilteredLogsParamsWithTimeout(timeout time.Duration) *GetFilteredLogsParams
NewGetFilteredLogsParamsWithTimeout creates a new GetFilteredLogsParams object with the ability to set a timeout on a request.
func (*GetFilteredLogsParams) SetContext ¶
func (o *GetFilteredLogsParams) SetContext(ctx context.Context)
SetContext adds the context to the get filtered logs params
func (*GetFilteredLogsParams) SetDefaults ¶
func (o *GetFilteredLogsParams) SetDefaults()
SetDefaults hydrates default values in the get filtered logs params (not the query body).
All values with no default are reset to their zero value.
func (*GetFilteredLogsParams) SetHTTPClient ¶
func (o *GetFilteredLogsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get filtered logs params
func (*GetFilteredLogsParams) SetMaxLines ¶
func (o *GetFilteredLogsParams) SetMaxLines(maxLines *int32)
SetMaxLines adds the maxLines to the get filtered logs params
func (*GetFilteredLogsParams) SetQueryRegex ¶
func (o *GetFilteredLogsParams) SetQueryRegex(queryRegex *string)
SetQueryRegex adds the queryRegex to the get filtered logs params
func (*GetFilteredLogsParams) SetTimeout ¶
func (o *GetFilteredLogsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get filtered logs params
func (*GetFilteredLogsParams) SetUniverseName ¶
func (o *GetFilteredLogsParams) SetUniverseName(universeName *string)
SetUniverseName adds the universeName to the get filtered logs params
func (*GetFilteredLogsParams) WithContext ¶
func (o *GetFilteredLogsParams) WithContext(ctx context.Context) *GetFilteredLogsParams
WithContext adds the context to the get filtered logs params
func (*GetFilteredLogsParams) WithDefaults ¶
func (o *GetFilteredLogsParams) WithDefaults() *GetFilteredLogsParams
WithDefaults hydrates default values in the get filtered logs params (not the query body).
All values with no default are reset to their zero value.
func (*GetFilteredLogsParams) WithHTTPClient ¶
func (o *GetFilteredLogsParams) WithHTTPClient(client *http.Client) *GetFilteredLogsParams
WithHTTPClient adds the HTTPClient to the get filtered logs params
func (*GetFilteredLogsParams) WithMaxLines ¶
func (o *GetFilteredLogsParams) WithMaxLines(maxLines *int32) *GetFilteredLogsParams
WithMaxLines adds the maxLines to the get filtered logs params
func (*GetFilteredLogsParams) WithQueryRegex ¶
func (o *GetFilteredLogsParams) WithQueryRegex(queryRegex *string) *GetFilteredLogsParams
WithQueryRegex adds the queryRegex to the get filtered logs params
func (*GetFilteredLogsParams) WithTimeout ¶
func (o *GetFilteredLogsParams) WithTimeout(timeout time.Duration) *GetFilteredLogsParams
WithTimeout adds the timeout to the get filtered logs params
func (*GetFilteredLogsParams) WithUniverseName ¶
func (o *GetFilteredLogsParams) WithUniverseName(universeName *string) *GetFilteredLogsParams
WithUniverseName adds the universeName to the get filtered logs params
func (*GetFilteredLogsParams) WriteToRequest ¶
func (o *GetFilteredLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFilteredLogsReader ¶
type GetFilteredLogsReader struct {
// contains filtered or unexported fields
}
GetFilteredLogsReader is a Reader for the GetFilteredLogs structure.
func (*GetFilteredLogsReader) ReadResponse ¶
func (o *GetFilteredLogsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetLogsOK ¶
GetLogsOK describes a response with status code 200, with default header values.
successful operation
func NewGetLogsOK ¶
func NewGetLogsOK() *GetLogsOK
NewGetLogsOK creates a GetLogsOK with default headers values
func (*GetLogsOK) GetPayload ¶
type GetLogsParams ¶
type GetLogsParams struct { // MaxLines. // // Format: int32 MaxLines int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetLogsParams contains all the parameters to send to the API endpoint
for the get logs operation. Typically these are written to a http.Request.
func NewGetLogsParams ¶
func NewGetLogsParams() *GetLogsParams
NewGetLogsParams creates a new GetLogsParams 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 NewGetLogsParamsWithContext ¶
func NewGetLogsParamsWithContext(ctx context.Context) *GetLogsParams
NewGetLogsParamsWithContext creates a new GetLogsParams object with the ability to set a context for a request.
func NewGetLogsParamsWithHTTPClient ¶
func NewGetLogsParamsWithHTTPClient(client *http.Client) *GetLogsParams
NewGetLogsParamsWithHTTPClient creates a new GetLogsParams object with the ability to set a custom HTTPClient for a request.
func NewGetLogsParamsWithTimeout ¶
func NewGetLogsParamsWithTimeout(timeout time.Duration) *GetLogsParams
NewGetLogsParamsWithTimeout creates a new GetLogsParams object with the ability to set a timeout on a request.
func (*GetLogsParams) SetContext ¶
func (o *GetLogsParams) SetContext(ctx context.Context)
SetContext adds the context to the get logs params
func (*GetLogsParams) SetDefaults ¶
func (o *GetLogsParams) SetDefaults()
SetDefaults hydrates default values in the get logs params (not the query body).
All values with no default are reset to their zero value.
func (*GetLogsParams) SetHTTPClient ¶
func (o *GetLogsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get logs params
func (*GetLogsParams) SetMaxLines ¶
func (o *GetLogsParams) SetMaxLines(maxLines int32)
SetMaxLines adds the maxLines to the get logs params
func (*GetLogsParams) SetTimeout ¶
func (o *GetLogsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get logs params
func (*GetLogsParams) WithContext ¶
func (o *GetLogsParams) WithContext(ctx context.Context) *GetLogsParams
WithContext adds the context to the get logs params
func (*GetLogsParams) WithDefaults ¶
func (o *GetLogsParams) WithDefaults() *GetLogsParams
WithDefaults hydrates default values in the get logs params (not the query body).
All values with no default are reset to their zero value.
func (*GetLogsParams) WithHTTPClient ¶
func (o *GetLogsParams) WithHTTPClient(client *http.Client) *GetLogsParams
WithHTTPClient adds the HTTPClient to the get logs params
func (*GetLogsParams) WithMaxLines ¶
func (o *GetLogsParams) WithMaxLines(maxLines int32) *GetLogsParams
WithMaxLines adds the maxLines to the get logs params
func (*GetLogsParams) WithTimeout ¶
func (o *GetLogsParams) WithTimeout(timeout time.Duration) *GetLogsParams
WithTimeout adds the timeout to the get logs params
func (*GetLogsParams) WriteToRequest ¶
func (o *GetLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLogsReader ¶
type GetLogsReader struct {
// contains filtered or unexported fields
}
GetLogsReader is a Reader for the GetLogs structure.
func (*GetLogsReader) ReadResponse ¶
func (o *GetLogsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSessionInfoOK ¶
type GetSessionInfoOK struct {
Payload *models.SessionInfo
}
GetSessionInfoOK describes a response with status code 200, with default header values.
successful operation
func NewGetSessionInfoOK ¶
func NewGetSessionInfoOK() *GetSessionInfoOK
NewGetSessionInfoOK creates a GetSessionInfoOK with default headers values
func (*GetSessionInfoOK) Error ¶
func (o *GetSessionInfoOK) Error() string
func (*GetSessionInfoOK) GetPayload ¶
func (o *GetSessionInfoOK) GetPayload() *models.SessionInfo
type GetSessionInfoParams ¶
type GetSessionInfoParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSessionInfoParams contains all the parameters to send to the API endpoint
for the get session info operation. Typically these are written to a http.Request.
func NewGetSessionInfoParams ¶
func NewGetSessionInfoParams() *GetSessionInfoParams
NewGetSessionInfoParams creates a new GetSessionInfoParams 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 NewGetSessionInfoParamsWithContext ¶
func NewGetSessionInfoParamsWithContext(ctx context.Context) *GetSessionInfoParams
NewGetSessionInfoParamsWithContext creates a new GetSessionInfoParams object with the ability to set a context for a request.
func NewGetSessionInfoParamsWithHTTPClient ¶
func NewGetSessionInfoParamsWithHTTPClient(client *http.Client) *GetSessionInfoParams
NewGetSessionInfoParamsWithHTTPClient creates a new GetSessionInfoParams object with the ability to set a custom HTTPClient for a request.
func NewGetSessionInfoParamsWithTimeout ¶
func NewGetSessionInfoParamsWithTimeout(timeout time.Duration) *GetSessionInfoParams
NewGetSessionInfoParamsWithTimeout creates a new GetSessionInfoParams object with the ability to set a timeout on a request.
func (*GetSessionInfoParams) SetContext ¶
func (o *GetSessionInfoParams) SetContext(ctx context.Context)
SetContext adds the context to the get session info params
func (*GetSessionInfoParams) SetDefaults ¶
func (o *GetSessionInfoParams) SetDefaults()
SetDefaults hydrates default values in the get session info params (not the query body).
All values with no default are reset to their zero value.
func (*GetSessionInfoParams) SetHTTPClient ¶
func (o *GetSessionInfoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get session info params
func (*GetSessionInfoParams) SetTimeout ¶
func (o *GetSessionInfoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get session info params
func (*GetSessionInfoParams) WithContext ¶
func (o *GetSessionInfoParams) WithContext(ctx context.Context) *GetSessionInfoParams
WithContext adds the context to the get session info params
func (*GetSessionInfoParams) WithDefaults ¶
func (o *GetSessionInfoParams) WithDefaults() *GetSessionInfoParams
WithDefaults hydrates default values in the get session info params (not the query body).
All values with no default are reset to their zero value.
func (*GetSessionInfoParams) WithHTTPClient ¶
func (o *GetSessionInfoParams) WithHTTPClient(client *http.Client) *GetSessionInfoParams
WithHTTPClient adds the HTTPClient to the get session info params
func (*GetSessionInfoParams) WithTimeout ¶
func (o *GetSessionInfoParams) WithTimeout(timeout time.Duration) *GetSessionInfoParams
WithTimeout adds the timeout to the get session info params
func (*GetSessionInfoParams) WriteToRequest ¶
func (o *GetSessionInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSessionInfoReader ¶
type GetSessionInfoReader struct {
// contains filtered or unexported fields
}
GetSessionInfoReader is a Reader for the GetSessionInfo structure.
func (*GetSessionInfoReader) ReadResponse ¶
func (o *GetSessionInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RegisterCustomerOK ¶
type RegisterCustomerOK struct {
Payload *models.SessionInfo
}
RegisterCustomerOK describes a response with status code 200, with default header values.
successful operation
func NewRegisterCustomerOK ¶
func NewRegisterCustomerOK() *RegisterCustomerOK
NewRegisterCustomerOK creates a RegisterCustomerOK with default headers values
func (*RegisterCustomerOK) Error ¶
func (o *RegisterCustomerOK) Error() string
func (*RegisterCustomerOK) GetPayload ¶
func (o *RegisterCustomerOK) GetPayload() *models.SessionInfo
type RegisterCustomerParams ¶
type RegisterCustomerParams struct { // CustomerRegisterFormData. CustomerRegisterFormData *models.CustomerRegisterFormData // GenerateAPIToken. GenerateAPIToken *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RegisterCustomerParams contains all the parameters to send to the API endpoint
for the register customer operation. Typically these are written to a http.Request.
func NewRegisterCustomerParams ¶
func NewRegisterCustomerParams() *RegisterCustomerParams
NewRegisterCustomerParams creates a new RegisterCustomerParams 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 NewRegisterCustomerParamsWithContext ¶
func NewRegisterCustomerParamsWithContext(ctx context.Context) *RegisterCustomerParams
NewRegisterCustomerParamsWithContext creates a new RegisterCustomerParams object with the ability to set a context for a request.
func NewRegisterCustomerParamsWithHTTPClient ¶
func NewRegisterCustomerParamsWithHTTPClient(client *http.Client) *RegisterCustomerParams
NewRegisterCustomerParamsWithHTTPClient creates a new RegisterCustomerParams object with the ability to set a custom HTTPClient for a request.
func NewRegisterCustomerParamsWithTimeout ¶
func NewRegisterCustomerParamsWithTimeout(timeout time.Duration) *RegisterCustomerParams
NewRegisterCustomerParamsWithTimeout creates a new RegisterCustomerParams object with the ability to set a timeout on a request.
func (*RegisterCustomerParams) SetContext ¶
func (o *RegisterCustomerParams) SetContext(ctx context.Context)
SetContext adds the context to the register customer params
func (*RegisterCustomerParams) SetCustomerRegisterFormData ¶
func (o *RegisterCustomerParams) SetCustomerRegisterFormData(customerRegisterFormData *models.CustomerRegisterFormData)
SetCustomerRegisterFormData adds the customerRegisterFormData to the register customer params
func (*RegisterCustomerParams) SetDefaults ¶
func (o *RegisterCustomerParams) SetDefaults()
SetDefaults hydrates default values in the register customer params (not the query body).
All values with no default are reset to their zero value.
func (*RegisterCustomerParams) SetGenerateAPIToken ¶
func (o *RegisterCustomerParams) SetGenerateAPIToken(generateAPIToken *bool)
SetGenerateAPIToken adds the generateApiToken to the register customer params
func (*RegisterCustomerParams) SetHTTPClient ¶
func (o *RegisterCustomerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the register customer params
func (*RegisterCustomerParams) SetTimeout ¶
func (o *RegisterCustomerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the register customer params
func (*RegisterCustomerParams) WithContext ¶
func (o *RegisterCustomerParams) WithContext(ctx context.Context) *RegisterCustomerParams
WithContext adds the context to the register customer params
func (*RegisterCustomerParams) WithCustomerRegisterFormData ¶
func (o *RegisterCustomerParams) WithCustomerRegisterFormData(customerRegisterFormData *models.CustomerRegisterFormData) *RegisterCustomerParams
WithCustomerRegisterFormData adds the customerRegisterFormData to the register customer params
func (*RegisterCustomerParams) WithDefaults ¶
func (o *RegisterCustomerParams) WithDefaults() *RegisterCustomerParams
WithDefaults hydrates default values in the register customer params (not the query body).
All values with no default are reset to their zero value.
func (*RegisterCustomerParams) WithGenerateAPIToken ¶
func (o *RegisterCustomerParams) WithGenerateAPIToken(generateAPIToken *bool) *RegisterCustomerParams
WithGenerateAPIToken adds the generateAPIToken to the register customer params
func (*RegisterCustomerParams) WithHTTPClient ¶
func (o *RegisterCustomerParams) WithHTTPClient(client *http.Client) *RegisterCustomerParams
WithHTTPClient adds the HTTPClient to the register customer params
func (*RegisterCustomerParams) WithTimeout ¶
func (o *RegisterCustomerParams) WithTimeout(timeout time.Duration) *RegisterCustomerParams
WithTimeout adds the timeout to the register customer params
func (*RegisterCustomerParams) WriteToRequest ¶
func (o *RegisterCustomerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RegisterCustomerReader ¶
type RegisterCustomerReader struct {
// contains filtered or unexported fields
}
RegisterCustomerReader is a Reader for the RegisterCustomer structure.
func (*RegisterCustomerReader) ReadResponse ¶
func (o *RegisterCustomerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- app_version_parameters.go
- app_version_responses.go
- customer_count_parameters.go
- customer_count_responses.go
- get_filtered_logs_parameters.go
- get_filtered_logs_responses.go
- get_logs_parameters.go
- get_logs_responses.go
- get_session_info_parameters.go
- get_session_info_responses.go
- register_customer_parameters.go
- register_customer_responses.go
- session_management_client.go