system_metrics

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2018 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllOK

type AllOK struct {
	Payload AllOKBody
}

AllOK handles this case with default header values.

No response was specified

func NewAllOK

func NewAllOK() *AllOK

NewAllOK creates a AllOK with default headers values

func (*AllOK) Error

func (o *AllOK) Error() string

type AllOKBody

type AllOKBody interface{}

AllOKBody all o k body swagger:model AllOKBody

type AllParams

type AllParams struct {

	/*Page
	  Page

	*/
	Page *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AllParams contains all the parameters to send to the API endpoint for the all operation typically these are written to a http.Request

func NewAllParams

func NewAllParams() *AllParams

NewAllParams creates a new AllParams object with the default values initialized.

func NewAllParamsWithContext

func NewAllParamsWithContext(ctx context.Context) *AllParams

NewAllParamsWithContext creates a new AllParams object with the default values initialized, and the ability to set a context for a request

func NewAllParamsWithHTTPClient

func NewAllParamsWithHTTPClient(client *http.Client) *AllParams

NewAllParamsWithHTTPClient creates a new AllParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAllParamsWithTimeout

func NewAllParamsWithTimeout(timeout time.Duration) *AllParams

NewAllParamsWithTimeout creates a new AllParams object with the default values initialized, and the ability to set a timeout on a request

func (*AllParams) SetContext

func (o *AllParams) SetContext(ctx context.Context)

SetContext adds the context to the all params

func (*AllParams) SetHTTPClient

func (o *AllParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the all params

func (*AllParams) SetPage

func (o *AllParams) SetPage(page *int64)

SetPage adds the page to the all params

func (*AllParams) SetTimeout

func (o *AllParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the all params

func (*AllParams) WithContext

func (o *AllParams) WithContext(ctx context.Context) *AllParams

WithContext adds the context to the all params

func (*AllParams) WithHTTPClient

func (o *AllParams) WithHTTPClient(client *http.Client) *AllParams

WithHTTPClient adds the HTTPClient to the all params

func (*AllParams) WithPage

func (o *AllParams) WithPage(page *int64) *AllParams

WithPage adds the page to the all params

func (*AllParams) WithTimeout

func (o *AllParams) WithTimeout(timeout time.Duration) *AllParams

WithTimeout adds the timeout to the all params

func (*AllParams) WriteToRequest

func (o *AllParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AllReader

type AllReader struct {
	// contains filtered or unexported fields
}

AllReader is a Reader for the All structure.

func (*AllReader) ReadResponse

func (o *AllReader) 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 system metrics API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new system metrics API client.

func (*Client) All

func (a *Client) All(params *AllParams, authInfo runtime.ClientAuthInfoWriter) (*AllOK, error)

All gets internal graylog system messages

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

Jump to

Keyboard shortcuts

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