Help us shape the future of Go! Take the 2026 Go Developer Survey

logs

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2018 License: AGPL-3.0 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 *models.APILogsAllResponse
}

AllOK handles this case with default header values.

(empty)

func NewAllOK

func NewAllOK() *AllOK

NewAllOK creates a AllOK with default headers values

func (*AllOK) Error

func (o *AllOK) Error() string

type AllParams

type AllParams struct {
	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) 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) 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 logs API

func New

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

New creates a new logs API client.

func (*Client) All

func (a *Client) All(params *AllParams) (*AllOK, error)

All alls returns last lines of all log files

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