Documentation ¶
Index ¶
- type Client
- type SyslogOK
- type SyslogParams
- func (o *SyslogParams) SetBody(body *models.LogListLogRequest)
- func (o *SyslogParams) SetContext(ctx context.Context)
- func (o *SyslogParams) SetHTTPClient(client *http.Client)
- func (o *SyslogParams) SetTimeout(timeout time.Duration)
- func (o *SyslogParams) WithBody(body *models.LogListLogRequest) *SyslogParams
- func (o *SyslogParams) WithContext(ctx context.Context) *SyslogParams
- func (o *SyslogParams) WithHTTPClient(client *http.Client) *SyslogParams
- func (o *SyslogParams) WithTimeout(timeout time.Duration) *SyslogParams
- func (o *SyslogParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SyslogReader
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 log service API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new log service API client.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type SyslogOK ¶
type SyslogOK struct {
Payload *models.RestLogMessageCollection
}
SyslogOK handles this case with default header values.
SyslogOK syslog o k
func NewSyslogOK ¶
func NewSyslogOK() *SyslogOK
NewSyslogOK creates a SyslogOK with default headers values
type SyslogParams ¶
type SyslogParams struct { /*Body*/ Body *models.LogListLogRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SyslogParams contains all the parameters to send to the API endpoint for the syslog operation typically these are written to a http.Request
func NewSyslogParams ¶
func NewSyslogParams() *SyslogParams
NewSyslogParams creates a new SyslogParams object with the default values initialized.
func NewSyslogParamsWithContext ¶
func NewSyslogParamsWithContext(ctx context.Context) *SyslogParams
NewSyslogParamsWithContext creates a new SyslogParams object with the default values initialized, and the ability to set a context for a request
func NewSyslogParamsWithHTTPClient ¶
func NewSyslogParamsWithHTTPClient(client *http.Client) *SyslogParams
NewSyslogParamsWithHTTPClient creates a new SyslogParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSyslogParamsWithTimeout ¶
func NewSyslogParamsWithTimeout(timeout time.Duration) *SyslogParams
NewSyslogParamsWithTimeout creates a new SyslogParams object with the default values initialized, and the ability to set a timeout on a request
func (*SyslogParams) SetBody ¶
func (o *SyslogParams) SetBody(body *models.LogListLogRequest)
SetBody adds the body to the syslog params
func (*SyslogParams) SetContext ¶
func (o *SyslogParams) SetContext(ctx context.Context)
SetContext adds the context to the syslog params
func (*SyslogParams) SetHTTPClient ¶
func (o *SyslogParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the syslog params
func (*SyslogParams) SetTimeout ¶
func (o *SyslogParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the syslog params
func (*SyslogParams) WithBody ¶
func (o *SyslogParams) WithBody(body *models.LogListLogRequest) *SyslogParams
WithBody adds the body to the syslog params
func (*SyslogParams) WithContext ¶
func (o *SyslogParams) WithContext(ctx context.Context) *SyslogParams
WithContext adds the context to the syslog params
func (*SyslogParams) WithHTTPClient ¶
func (o *SyslogParams) WithHTTPClient(client *http.Client) *SyslogParams
WithHTTPClient adds the HTTPClient to the syslog params
func (*SyslogParams) WithTimeout ¶
func (o *SyslogParams) WithTimeout(timeout time.Duration) *SyslogParams
WithTimeout adds the timeout to the syslog params
func (*SyslogParams) WriteToRequest ¶
func (o *SyslogParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SyslogReader ¶
type SyslogReader struct {
// contains filtered or unexported fields
}
SyslogReader is a Reader for the Syslog structure.
func (*SyslogReader) ReadResponse ¶
func (o *SyslogReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.