Documentation ¶
Index ¶
- type Client
- func (a *Client) FsStats(params *FsStatsParams, authInfo runtime.ClientAuthInfoWriter) (*FsStatsOK, error)
- func (a *Client) JvmStats(params *JvmStatsParams, authInfo runtime.ClientAuthInfoWriter) (*JvmStatsOK, error)
- func (a *Client) NetworkStats(params *NetworkStatsParams, authInfo runtime.ClientAuthInfoWriter) (*NetworkStatsOK, error)
- func (a *Client) OsStats(params *OsStatsParams, authInfo runtime.ClientAuthInfoWriter) (*OsStatsOK, error)
- func (a *Client) ProcessStats(params *ProcessStatsParams, authInfo runtime.ClientAuthInfoWriter) (*ProcessStatsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) SystemStats(params *SystemStatsParams, authInfo runtime.ClientAuthInfoWriter) (*SystemStatsOK, error)
- type FsStatsOK
- type FsStatsParams
- func (o *FsStatsParams) SetContext(ctx context.Context)
- func (o *FsStatsParams) SetHTTPClient(client *http.Client)
- func (o *FsStatsParams) SetTimeout(timeout time.Duration)
- func (o *FsStatsParams) WithContext(ctx context.Context) *FsStatsParams
- func (o *FsStatsParams) WithHTTPClient(client *http.Client) *FsStatsParams
- func (o *FsStatsParams) WithTimeout(timeout time.Duration) *FsStatsParams
- func (o *FsStatsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FsStatsReader
- type JvmStatsOK
- type JvmStatsParams
- func (o *JvmStatsParams) SetContext(ctx context.Context)
- func (o *JvmStatsParams) SetHTTPClient(client *http.Client)
- func (o *JvmStatsParams) SetTimeout(timeout time.Duration)
- func (o *JvmStatsParams) WithContext(ctx context.Context) *JvmStatsParams
- func (o *JvmStatsParams) WithHTTPClient(client *http.Client) *JvmStatsParams
- func (o *JvmStatsParams) WithTimeout(timeout time.Duration) *JvmStatsParams
- func (o *JvmStatsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type JvmStatsReader
- type NetworkStatsOK
- type NetworkStatsParams
- func (o *NetworkStatsParams) SetContext(ctx context.Context)
- func (o *NetworkStatsParams) SetHTTPClient(client *http.Client)
- func (o *NetworkStatsParams) SetTimeout(timeout time.Duration)
- func (o *NetworkStatsParams) WithContext(ctx context.Context) *NetworkStatsParams
- func (o *NetworkStatsParams) WithHTTPClient(client *http.Client) *NetworkStatsParams
- func (o *NetworkStatsParams) WithTimeout(timeout time.Duration) *NetworkStatsParams
- func (o *NetworkStatsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type NetworkStatsReader
- type OsStatsOK
- type OsStatsParams
- func (o *OsStatsParams) SetContext(ctx context.Context)
- func (o *OsStatsParams) SetHTTPClient(client *http.Client)
- func (o *OsStatsParams) SetTimeout(timeout time.Duration)
- func (o *OsStatsParams) WithContext(ctx context.Context) *OsStatsParams
- func (o *OsStatsParams) WithHTTPClient(client *http.Client) *OsStatsParams
- func (o *OsStatsParams) WithTimeout(timeout time.Duration) *OsStatsParams
- func (o *OsStatsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OsStatsReader
- type ProcessStatsOK
- type ProcessStatsParams
- func (o *ProcessStatsParams) SetContext(ctx context.Context)
- func (o *ProcessStatsParams) SetHTTPClient(client *http.Client)
- func (o *ProcessStatsParams) SetTimeout(timeout time.Duration)
- func (o *ProcessStatsParams) WithContext(ctx context.Context) *ProcessStatsParams
- func (o *ProcessStatsParams) WithHTTPClient(client *http.Client) *ProcessStatsParams
- func (o *ProcessStatsParams) WithTimeout(timeout time.Duration) *ProcessStatsParams
- func (o *ProcessStatsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProcessStatsReader
- type SystemStatsOK
- type SystemStatsParams
- func (o *SystemStatsParams) SetContext(ctx context.Context)
- func (o *SystemStatsParams) SetHTTPClient(client *http.Client)
- func (o *SystemStatsParams) SetTimeout(timeout time.Duration)
- func (o *SystemStatsParams) WithContext(ctx context.Context) *SystemStatsParams
- func (o *SystemStatsParams) WithHTTPClient(client *http.Client) *SystemStatsParams
- func (o *SystemStatsParams) WithTimeout(timeout time.Duration) *SystemStatsParams
- func (o *SystemStatsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SystemStatsReader
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 system throughput API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new system throughput API client.
func (*Client) FsStats ¶
func (a *Client) FsStats(params *FsStatsParams, authInfo runtime.ClientAuthInfoWriter) (*FsStatsOK, error)
FsStats filesystems information about this node
This resource returns information about the filesystems of this node.
func (*Client) JvmStats ¶
func (a *Client) JvmStats(params *JvmStatsParams, authInfo runtime.ClientAuthInfoWriter) (*JvmStatsOK, error)
JvmStats js VM information about this node
This resource returns information about the Java Virtual Machine of this node.
func (*Client) NetworkStats ¶
func (a *Client) NetworkStats(params *NetworkStatsParams, authInfo runtime.ClientAuthInfoWriter) (*NetworkStatsOK, error)
NetworkStats networkings information about this node
This resource returns information about the networking system this node is running with.
func (*Client) OsStats ¶
func (a *Client) OsStats(params *OsStatsParams, authInfo runtime.ClientAuthInfoWriter) (*OsStatsOK, error)
OsStats os s information about this node
This resource returns information about the operating system this node is running on.
func (*Client) ProcessStats ¶
func (a *Client) ProcessStats(params *ProcessStatsParams, authInfo runtime.ClientAuthInfoWriter) (*ProcessStatsOK, error)
ProcessStats processes information about this node
This resource returns information about the process this node is running as.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) SystemStats ¶
func (a *Client) SystemStats(params *SystemStatsParams, authInfo runtime.ClientAuthInfoWriter) (*SystemStatsOK, error)
SystemStats systems information about this node
This resource returns information about the system this node is running on.
type FsStatsOK ¶
FsStatsOK handles this case with default header values.
No response was specified
func NewFsStatsOK ¶
func NewFsStatsOK() *FsStatsOK
NewFsStatsOK creates a FsStatsOK with default headers values
type FsStatsParams ¶
type FsStatsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
FsStatsParams contains all the parameters to send to the API endpoint for the fs stats operation typically these are written to a http.Request
func NewFsStatsParams ¶
func NewFsStatsParams() *FsStatsParams
NewFsStatsParams creates a new FsStatsParams object with the default values initialized.
func NewFsStatsParamsWithContext ¶
func NewFsStatsParamsWithContext(ctx context.Context) *FsStatsParams
NewFsStatsParamsWithContext creates a new FsStatsParams object with the default values initialized, and the ability to set a context for a request
func NewFsStatsParamsWithHTTPClient ¶
func NewFsStatsParamsWithHTTPClient(client *http.Client) *FsStatsParams
NewFsStatsParamsWithHTTPClient creates a new FsStatsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewFsStatsParamsWithTimeout ¶
func NewFsStatsParamsWithTimeout(timeout time.Duration) *FsStatsParams
NewFsStatsParamsWithTimeout creates a new FsStatsParams object with the default values initialized, and the ability to set a timeout on a request
func (*FsStatsParams) SetContext ¶
func (o *FsStatsParams) SetContext(ctx context.Context)
SetContext adds the context to the fs stats params
func (*FsStatsParams) SetHTTPClient ¶
func (o *FsStatsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the fs stats params
func (*FsStatsParams) SetTimeout ¶
func (o *FsStatsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the fs stats params
func (*FsStatsParams) WithContext ¶
func (o *FsStatsParams) WithContext(ctx context.Context) *FsStatsParams
WithContext adds the context to the fs stats params
func (*FsStatsParams) WithHTTPClient ¶
func (o *FsStatsParams) WithHTTPClient(client *http.Client) *FsStatsParams
WithHTTPClient adds the HTTPClient to the fs stats params
func (*FsStatsParams) WithTimeout ¶
func (o *FsStatsParams) WithTimeout(timeout time.Duration) *FsStatsParams
WithTimeout adds the timeout to the fs stats params
func (*FsStatsParams) WriteToRequest ¶
func (o *FsStatsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FsStatsReader ¶
type FsStatsReader struct {
// contains filtered or unexported fields
}
FsStatsReader is a Reader for the FsStats structure.
func (*FsStatsReader) ReadResponse ¶
func (o *FsStatsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type JvmStatsOK ¶
JvmStatsOK handles this case with default header values.
No response was specified
func NewJvmStatsOK ¶
func NewJvmStatsOK() *JvmStatsOK
NewJvmStatsOK creates a JvmStatsOK with default headers values
func (*JvmStatsOK) Error ¶
func (o *JvmStatsOK) Error() string
type JvmStatsParams ¶
type JvmStatsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
JvmStatsParams contains all the parameters to send to the API endpoint for the jvm stats operation typically these are written to a http.Request
func NewJvmStatsParams ¶
func NewJvmStatsParams() *JvmStatsParams
NewJvmStatsParams creates a new JvmStatsParams object with the default values initialized.
func NewJvmStatsParamsWithContext ¶
func NewJvmStatsParamsWithContext(ctx context.Context) *JvmStatsParams
NewJvmStatsParamsWithContext creates a new JvmStatsParams object with the default values initialized, and the ability to set a context for a request
func NewJvmStatsParamsWithHTTPClient ¶
func NewJvmStatsParamsWithHTTPClient(client *http.Client) *JvmStatsParams
NewJvmStatsParamsWithHTTPClient creates a new JvmStatsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewJvmStatsParamsWithTimeout ¶
func NewJvmStatsParamsWithTimeout(timeout time.Duration) *JvmStatsParams
NewJvmStatsParamsWithTimeout creates a new JvmStatsParams object with the default values initialized, and the ability to set a timeout on a request
func (*JvmStatsParams) SetContext ¶
func (o *JvmStatsParams) SetContext(ctx context.Context)
SetContext adds the context to the jvm stats params
func (*JvmStatsParams) SetHTTPClient ¶
func (o *JvmStatsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the jvm stats params
func (*JvmStatsParams) SetTimeout ¶
func (o *JvmStatsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the jvm stats params
func (*JvmStatsParams) WithContext ¶
func (o *JvmStatsParams) WithContext(ctx context.Context) *JvmStatsParams
WithContext adds the context to the jvm stats params
func (*JvmStatsParams) WithHTTPClient ¶
func (o *JvmStatsParams) WithHTTPClient(client *http.Client) *JvmStatsParams
WithHTTPClient adds the HTTPClient to the jvm stats params
func (*JvmStatsParams) WithTimeout ¶
func (o *JvmStatsParams) WithTimeout(timeout time.Duration) *JvmStatsParams
WithTimeout adds the timeout to the jvm stats params
func (*JvmStatsParams) WriteToRequest ¶
func (o *JvmStatsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type JvmStatsReader ¶
type JvmStatsReader struct {
// contains filtered or unexported fields
}
JvmStatsReader is a Reader for the JvmStats structure.
func (*JvmStatsReader) ReadResponse ¶
func (o *JvmStatsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type NetworkStatsOK ¶
type NetworkStatsOK struct {
Payload *models.NetworkStats
}
NetworkStatsOK handles this case with default header values.
No response was specified
func NewNetworkStatsOK ¶
func NewNetworkStatsOK() *NetworkStatsOK
NewNetworkStatsOK creates a NetworkStatsOK with default headers values
func (*NetworkStatsOK) Error ¶
func (o *NetworkStatsOK) Error() string
type NetworkStatsParams ¶
type NetworkStatsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
NetworkStatsParams contains all the parameters to send to the API endpoint for the network stats operation typically these are written to a http.Request
func NewNetworkStatsParams ¶
func NewNetworkStatsParams() *NetworkStatsParams
NewNetworkStatsParams creates a new NetworkStatsParams object with the default values initialized.
func NewNetworkStatsParamsWithContext ¶
func NewNetworkStatsParamsWithContext(ctx context.Context) *NetworkStatsParams
NewNetworkStatsParamsWithContext creates a new NetworkStatsParams object with the default values initialized, and the ability to set a context for a request
func NewNetworkStatsParamsWithHTTPClient ¶
func NewNetworkStatsParamsWithHTTPClient(client *http.Client) *NetworkStatsParams
NewNetworkStatsParamsWithHTTPClient creates a new NetworkStatsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewNetworkStatsParamsWithTimeout ¶
func NewNetworkStatsParamsWithTimeout(timeout time.Duration) *NetworkStatsParams
NewNetworkStatsParamsWithTimeout creates a new NetworkStatsParams object with the default values initialized, and the ability to set a timeout on a request
func (*NetworkStatsParams) SetContext ¶
func (o *NetworkStatsParams) SetContext(ctx context.Context)
SetContext adds the context to the network stats params
func (*NetworkStatsParams) SetHTTPClient ¶
func (o *NetworkStatsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the network stats params
func (*NetworkStatsParams) SetTimeout ¶
func (o *NetworkStatsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the network stats params
func (*NetworkStatsParams) WithContext ¶
func (o *NetworkStatsParams) WithContext(ctx context.Context) *NetworkStatsParams
WithContext adds the context to the network stats params
func (*NetworkStatsParams) WithHTTPClient ¶
func (o *NetworkStatsParams) WithHTTPClient(client *http.Client) *NetworkStatsParams
WithHTTPClient adds the HTTPClient to the network stats params
func (*NetworkStatsParams) WithTimeout ¶
func (o *NetworkStatsParams) WithTimeout(timeout time.Duration) *NetworkStatsParams
WithTimeout adds the timeout to the network stats params
func (*NetworkStatsParams) WriteToRequest ¶
func (o *NetworkStatsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type NetworkStatsReader ¶
type NetworkStatsReader struct {
// contains filtered or unexported fields
}
NetworkStatsReader is a Reader for the NetworkStats structure.
func (*NetworkStatsReader) ReadResponse ¶
func (o *NetworkStatsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type OsStatsOK ¶
OsStatsOK handles this case with default header values.
No response was specified
func NewOsStatsOK ¶
func NewOsStatsOK() *OsStatsOK
NewOsStatsOK creates a OsStatsOK with default headers values
type OsStatsParams ¶
type OsStatsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
OsStatsParams contains all the parameters to send to the API endpoint for the os stats operation typically these are written to a http.Request
func NewOsStatsParams ¶
func NewOsStatsParams() *OsStatsParams
NewOsStatsParams creates a new OsStatsParams object with the default values initialized.
func NewOsStatsParamsWithContext ¶
func NewOsStatsParamsWithContext(ctx context.Context) *OsStatsParams
NewOsStatsParamsWithContext creates a new OsStatsParams object with the default values initialized, and the ability to set a context for a request
func NewOsStatsParamsWithHTTPClient ¶
func NewOsStatsParamsWithHTTPClient(client *http.Client) *OsStatsParams
NewOsStatsParamsWithHTTPClient creates a new OsStatsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewOsStatsParamsWithTimeout ¶
func NewOsStatsParamsWithTimeout(timeout time.Duration) *OsStatsParams
NewOsStatsParamsWithTimeout creates a new OsStatsParams object with the default values initialized, and the ability to set a timeout on a request
func (*OsStatsParams) SetContext ¶
func (o *OsStatsParams) SetContext(ctx context.Context)
SetContext adds the context to the os stats params
func (*OsStatsParams) SetHTTPClient ¶
func (o *OsStatsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the os stats params
func (*OsStatsParams) SetTimeout ¶
func (o *OsStatsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the os stats params
func (*OsStatsParams) WithContext ¶
func (o *OsStatsParams) WithContext(ctx context.Context) *OsStatsParams
WithContext adds the context to the os stats params
func (*OsStatsParams) WithHTTPClient ¶
func (o *OsStatsParams) WithHTTPClient(client *http.Client) *OsStatsParams
WithHTTPClient adds the HTTPClient to the os stats params
func (*OsStatsParams) WithTimeout ¶
func (o *OsStatsParams) WithTimeout(timeout time.Duration) *OsStatsParams
WithTimeout adds the timeout to the os stats params
func (*OsStatsParams) WriteToRequest ¶
func (o *OsStatsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OsStatsReader ¶
type OsStatsReader struct {
// contains filtered or unexported fields
}
OsStatsReader is a Reader for the OsStats structure.
func (*OsStatsReader) ReadResponse ¶
func (o *OsStatsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ProcessStatsOK ¶
type ProcessStatsOK struct {
Payload *models.ProcessStats
}
ProcessStatsOK handles this case with default header values.
No response was specified
func NewProcessStatsOK ¶
func NewProcessStatsOK() *ProcessStatsOK
NewProcessStatsOK creates a ProcessStatsOK with default headers values
func (*ProcessStatsOK) Error ¶
func (o *ProcessStatsOK) Error() string
type ProcessStatsParams ¶
type ProcessStatsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ProcessStatsParams contains all the parameters to send to the API endpoint for the process stats operation typically these are written to a http.Request
func NewProcessStatsParams ¶
func NewProcessStatsParams() *ProcessStatsParams
NewProcessStatsParams creates a new ProcessStatsParams object with the default values initialized.
func NewProcessStatsParamsWithContext ¶
func NewProcessStatsParamsWithContext(ctx context.Context) *ProcessStatsParams
NewProcessStatsParamsWithContext creates a new ProcessStatsParams object with the default values initialized, and the ability to set a context for a request
func NewProcessStatsParamsWithHTTPClient ¶
func NewProcessStatsParamsWithHTTPClient(client *http.Client) *ProcessStatsParams
NewProcessStatsParamsWithHTTPClient creates a new ProcessStatsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewProcessStatsParamsWithTimeout ¶
func NewProcessStatsParamsWithTimeout(timeout time.Duration) *ProcessStatsParams
NewProcessStatsParamsWithTimeout creates a new ProcessStatsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ProcessStatsParams) SetContext ¶
func (o *ProcessStatsParams) SetContext(ctx context.Context)
SetContext adds the context to the process stats params
func (*ProcessStatsParams) SetHTTPClient ¶
func (o *ProcessStatsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the process stats params
func (*ProcessStatsParams) SetTimeout ¶
func (o *ProcessStatsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the process stats params
func (*ProcessStatsParams) WithContext ¶
func (o *ProcessStatsParams) WithContext(ctx context.Context) *ProcessStatsParams
WithContext adds the context to the process stats params
func (*ProcessStatsParams) WithHTTPClient ¶
func (o *ProcessStatsParams) WithHTTPClient(client *http.Client) *ProcessStatsParams
WithHTTPClient adds the HTTPClient to the process stats params
func (*ProcessStatsParams) WithTimeout ¶
func (o *ProcessStatsParams) WithTimeout(timeout time.Duration) *ProcessStatsParams
WithTimeout adds the timeout to the process stats params
func (*ProcessStatsParams) WriteToRequest ¶
func (o *ProcessStatsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProcessStatsReader ¶
type ProcessStatsReader struct {
// contains filtered or unexported fields
}
ProcessStatsReader is a Reader for the ProcessStats structure.
func (*ProcessStatsReader) ReadResponse ¶
func (o *ProcessStatsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SystemStatsOK ¶
type SystemStatsOK struct {
Payload *models.SystemStats
}
SystemStatsOK handles this case with default header values.
No response was specified
func NewSystemStatsOK ¶
func NewSystemStatsOK() *SystemStatsOK
NewSystemStatsOK creates a SystemStatsOK with default headers values
func (*SystemStatsOK) Error ¶
func (o *SystemStatsOK) Error() string
type SystemStatsParams ¶
type SystemStatsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SystemStatsParams contains all the parameters to send to the API endpoint for the system stats operation typically these are written to a http.Request
func NewSystemStatsParams ¶
func NewSystemStatsParams() *SystemStatsParams
NewSystemStatsParams creates a new SystemStatsParams object with the default values initialized.
func NewSystemStatsParamsWithContext ¶
func NewSystemStatsParamsWithContext(ctx context.Context) *SystemStatsParams
NewSystemStatsParamsWithContext creates a new SystemStatsParams object with the default values initialized, and the ability to set a context for a request
func NewSystemStatsParamsWithHTTPClient ¶
func NewSystemStatsParamsWithHTTPClient(client *http.Client) *SystemStatsParams
NewSystemStatsParamsWithHTTPClient creates a new SystemStatsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSystemStatsParamsWithTimeout ¶
func NewSystemStatsParamsWithTimeout(timeout time.Duration) *SystemStatsParams
NewSystemStatsParamsWithTimeout creates a new SystemStatsParams object with the default values initialized, and the ability to set a timeout on a request
func (*SystemStatsParams) SetContext ¶
func (o *SystemStatsParams) SetContext(ctx context.Context)
SetContext adds the context to the system stats params
func (*SystemStatsParams) SetHTTPClient ¶
func (o *SystemStatsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the system stats params
func (*SystemStatsParams) SetTimeout ¶
func (o *SystemStatsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the system stats params
func (*SystemStatsParams) WithContext ¶
func (o *SystemStatsParams) WithContext(ctx context.Context) *SystemStatsParams
WithContext adds the context to the system stats params
func (*SystemStatsParams) WithHTTPClient ¶
func (o *SystemStatsParams) WithHTTPClient(client *http.Client) *SystemStatsParams
WithHTTPClient adds the HTTPClient to the system stats params
func (*SystemStatsParams) WithTimeout ¶
func (o *SystemStatsParams) WithTimeout(timeout time.Duration) *SystemStatsParams
WithTimeout adds the timeout to the system stats params
func (*SystemStatsParams) WriteToRequest ¶
func (o *SystemStatsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SystemStatsReader ¶
type SystemStatsReader struct {
// contains filtered or unexported fields
}
SystemStatsReader is a Reader for the SystemStats structure.
func (*SystemStatsReader) ReadResponse ¶
func (o *SystemStatsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- fs_stats_parameters.go
- fs_stats_responses.go
- jvm_stats_parameters.go
- jvm_stats_responses.go
- network_stats_parameters.go
- network_stats_responses.go
- os_stats_parameters.go
- os_stats_responses.go
- process_stats_parameters.go
- process_stats_responses.go
- system_stats_parameters.go
- system_stats_responses.go
- system_throughput_client.go