system_lookup

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: 11 Imported by: 0

Documentation

Index

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 lookup API

func New

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

New creates a new system lookup API client.

func (*Client) Loggers

func (a *Client) Loggers(params *LoggersParams, authInfo runtime.ClientAuthInfoWriter) (*LoggersOK, error)

Loggers lists all loggers and their current levels

func (*Client) Messages

func (a *Client) Messages(params *MessagesParams, authInfo runtime.ClientAuthInfoWriter) (*MessagesOK, error)

Messages gets recent internal log messages

func (*Client) SetSingleLoggerLevel

func (a *Client) SetSingleLoggerLevel(params *SetSingleLoggerLevelParams, authInfo runtime.ClientAuthInfoWriter) (*SetSingleLoggerLevelOK, error)

SetSingleLoggerLevel sets the loglevel of a single logger

Provided level is falling back to DEBUG if it does not exist

func (*Client) SetSubsystemLoggerLevel

func (a *Client) SetSubsystemLoggerLevel(params *SetSubsystemLoggerLevelParams, authInfo runtime.ClientAuthInfoWriter) (*SetSubsystemLoggerLevelOK, error)

SetSubsystemLoggerLevel sets the loglevel of a whole subsystem

Provided level is falling back to DEBUG if it does not exist

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) Subsystems

func (a *Client) Subsystems(params *SubsystemsParams, authInfo runtime.ClientAuthInfoWriter) (*SubsystemsOK, error)

Subsystems lists all logger subsystems and their current levels

type LoggersOK

type LoggersOK struct {
	Payload *models.LoggersSummary
}

LoggersOK handles this case with default header values.

No response was specified

func NewLoggersOK

func NewLoggersOK() *LoggersOK

NewLoggersOK creates a LoggersOK with default headers values

func (*LoggersOK) Error

func (o *LoggersOK) Error() string

type LoggersParams

type LoggersParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

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

func NewLoggersParams

func NewLoggersParams() *LoggersParams

NewLoggersParams creates a new LoggersParams object with the default values initialized.

func NewLoggersParamsWithContext

func NewLoggersParamsWithContext(ctx context.Context) *LoggersParams

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

func NewLoggersParamsWithHTTPClient

func NewLoggersParamsWithHTTPClient(client *http.Client) *LoggersParams

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

func NewLoggersParamsWithTimeout

func NewLoggersParamsWithTimeout(timeout time.Duration) *LoggersParams

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

func (*LoggersParams) SetContext

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

SetContext adds the context to the loggers params

func (*LoggersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the loggers params

func (*LoggersParams) SetTimeout

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

SetTimeout adds the timeout to the loggers params

func (*LoggersParams) WithContext

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

WithContext adds the context to the loggers params

func (*LoggersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the loggers params

func (*LoggersParams) WithTimeout

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

WithTimeout adds the timeout to the loggers params

func (*LoggersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type LoggersReader

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

LoggersReader is a Reader for the Loggers structure.

func (*LoggersReader) ReadResponse

func (o *LoggersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type MessagesInternalServerError

type MessagesInternalServerError struct {
}

MessagesInternalServerError handles this case with default header values.

Memory appender is broken.

func NewMessagesInternalServerError

func NewMessagesInternalServerError() *MessagesInternalServerError

NewMessagesInternalServerError creates a MessagesInternalServerError with default headers values

func (*MessagesInternalServerError) Error

type MessagesNotFound

type MessagesNotFound struct {
}

MessagesNotFound handles this case with default header values.

Memory appender is disabled.

func NewMessagesNotFound

func NewMessagesNotFound() *MessagesNotFound

NewMessagesNotFound creates a MessagesNotFound with default headers values

func (*MessagesNotFound) Error

func (o *MessagesNotFound) Error() string

type MessagesOK

type MessagesOK struct {
	Payload *models.LogMessagesSummary
}

MessagesOK handles this case with default header values.

No response was specified

func NewMessagesOK

func NewMessagesOK() *MessagesOK

NewMessagesOK creates a MessagesOK with default headers values

func (*MessagesOK) Error

func (o *MessagesOK) Error() string

type MessagesParams

type MessagesParams struct {

	/*Level
	  Which log level (or higher) should the messages have

	*/
	Level *string
	/*Limit
	  How many log messages should be returned

	*/
	Limit *int64

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

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

func NewMessagesParams

func NewMessagesParams() *MessagesParams

NewMessagesParams creates a new MessagesParams object with the default values initialized.

func NewMessagesParamsWithContext

func NewMessagesParamsWithContext(ctx context.Context) *MessagesParams

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

func NewMessagesParamsWithHTTPClient

func NewMessagesParamsWithHTTPClient(client *http.Client) *MessagesParams

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

func NewMessagesParamsWithTimeout

func NewMessagesParamsWithTimeout(timeout time.Duration) *MessagesParams

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

func (*MessagesParams) SetContext

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

SetContext adds the context to the messages params

func (*MessagesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the messages params

func (*MessagesParams) SetLevel

func (o *MessagesParams) SetLevel(level *string)

SetLevel adds the level to the messages params

func (*MessagesParams) SetLimit

func (o *MessagesParams) SetLimit(limit *int64)

SetLimit adds the limit to the messages params

func (*MessagesParams) SetTimeout

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

SetTimeout adds the timeout to the messages params

func (*MessagesParams) WithContext

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

WithContext adds the context to the messages params

func (*MessagesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the messages params

func (*MessagesParams) WithLevel

func (o *MessagesParams) WithLevel(level *string) *MessagesParams

WithLevel adds the level to the messages params

func (*MessagesParams) WithLimit

func (o *MessagesParams) WithLimit(limit *int64) *MessagesParams

WithLimit adds the limit to the messages params

func (*MessagesParams) WithTimeout

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

WithTimeout adds the timeout to the messages params

func (*MessagesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type MessagesReader

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

MessagesReader is a Reader for the Messages structure.

func (*MessagesReader) ReadResponse

func (o *MessagesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SetSingleLoggerLevelOK

type SetSingleLoggerLevelOK struct {
}

SetSingleLoggerLevelOK handles this case with default header values.

No response was specified

func NewSetSingleLoggerLevelOK

func NewSetSingleLoggerLevelOK() *SetSingleLoggerLevelOK

NewSetSingleLoggerLevelOK creates a SetSingleLoggerLevelOK with default headers values

func (*SetSingleLoggerLevelOK) Error

func (o *SetSingleLoggerLevelOK) Error() string

type SetSingleLoggerLevelParams

type SetSingleLoggerLevelParams struct {

	/*Level*/
	Level string
	/*LoggerName*/
	LoggerName string

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

SetSingleLoggerLevelParams contains all the parameters to send to the API endpoint for the set single logger level operation typically these are written to a http.Request

func NewSetSingleLoggerLevelParams

func NewSetSingleLoggerLevelParams() *SetSingleLoggerLevelParams

NewSetSingleLoggerLevelParams creates a new SetSingleLoggerLevelParams object with the default values initialized.

func NewSetSingleLoggerLevelParamsWithContext

func NewSetSingleLoggerLevelParamsWithContext(ctx context.Context) *SetSingleLoggerLevelParams

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

func NewSetSingleLoggerLevelParamsWithHTTPClient

func NewSetSingleLoggerLevelParamsWithHTTPClient(client *http.Client) *SetSingleLoggerLevelParams

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

func NewSetSingleLoggerLevelParamsWithTimeout

func NewSetSingleLoggerLevelParamsWithTimeout(timeout time.Duration) *SetSingleLoggerLevelParams

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

func (*SetSingleLoggerLevelParams) SetContext

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

SetContext adds the context to the set single logger level params

func (*SetSingleLoggerLevelParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the set single logger level params

func (*SetSingleLoggerLevelParams) SetLevel

func (o *SetSingleLoggerLevelParams) SetLevel(level string)

SetLevel adds the level to the set single logger level params

func (*SetSingleLoggerLevelParams) SetLoggerName

func (o *SetSingleLoggerLevelParams) SetLoggerName(loggerName string)

SetLoggerName adds the loggerName to the set single logger level params

func (*SetSingleLoggerLevelParams) SetTimeout

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

SetTimeout adds the timeout to the set single logger level params

func (*SetSingleLoggerLevelParams) WithContext

WithContext adds the context to the set single logger level params

func (*SetSingleLoggerLevelParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the set single logger level params

func (*SetSingleLoggerLevelParams) WithLevel

WithLevel adds the level to the set single logger level params

func (*SetSingleLoggerLevelParams) WithLoggerName

func (o *SetSingleLoggerLevelParams) WithLoggerName(loggerName string) *SetSingleLoggerLevelParams

WithLoggerName adds the loggerName to the set single logger level params

func (*SetSingleLoggerLevelParams) WithTimeout

WithTimeout adds the timeout to the set single logger level params

func (*SetSingleLoggerLevelParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SetSingleLoggerLevelReader

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

SetSingleLoggerLevelReader is a Reader for the SetSingleLoggerLevel structure.

func (*SetSingleLoggerLevelReader) ReadResponse

func (o *SetSingleLoggerLevelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SetSubsystemLoggerLevelNotFound

type SetSubsystemLoggerLevelNotFound struct {
}

SetSubsystemLoggerLevelNotFound handles this case with default header values.

No such subsystem.

func NewSetSubsystemLoggerLevelNotFound

func NewSetSubsystemLoggerLevelNotFound() *SetSubsystemLoggerLevelNotFound

NewSetSubsystemLoggerLevelNotFound creates a SetSubsystemLoggerLevelNotFound with default headers values

func (*SetSubsystemLoggerLevelNotFound) Error

type SetSubsystemLoggerLevelOK

type SetSubsystemLoggerLevelOK struct {
}

SetSubsystemLoggerLevelOK handles this case with default header values.

No response was specified

func NewSetSubsystemLoggerLevelOK

func NewSetSubsystemLoggerLevelOK() *SetSubsystemLoggerLevelOK

NewSetSubsystemLoggerLevelOK creates a SetSubsystemLoggerLevelOK with default headers values

func (*SetSubsystemLoggerLevelOK) Error

func (o *SetSubsystemLoggerLevelOK) Error() string

type SetSubsystemLoggerLevelParams

type SetSubsystemLoggerLevelParams struct {

	/*Level*/
	Level string
	/*Subsystem*/
	Subsystem string

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

SetSubsystemLoggerLevelParams contains all the parameters to send to the API endpoint for the set subsystem logger level operation typically these are written to a http.Request

func NewSetSubsystemLoggerLevelParams

func NewSetSubsystemLoggerLevelParams() *SetSubsystemLoggerLevelParams

NewSetSubsystemLoggerLevelParams creates a new SetSubsystemLoggerLevelParams object with the default values initialized.

func NewSetSubsystemLoggerLevelParamsWithContext

func NewSetSubsystemLoggerLevelParamsWithContext(ctx context.Context) *SetSubsystemLoggerLevelParams

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

func NewSetSubsystemLoggerLevelParamsWithHTTPClient

func NewSetSubsystemLoggerLevelParamsWithHTTPClient(client *http.Client) *SetSubsystemLoggerLevelParams

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

func NewSetSubsystemLoggerLevelParamsWithTimeout

func NewSetSubsystemLoggerLevelParamsWithTimeout(timeout time.Duration) *SetSubsystemLoggerLevelParams

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

func (*SetSubsystemLoggerLevelParams) SetContext

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

SetContext adds the context to the set subsystem logger level params

func (*SetSubsystemLoggerLevelParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the set subsystem logger level params

func (*SetSubsystemLoggerLevelParams) SetLevel

func (o *SetSubsystemLoggerLevelParams) SetLevel(level string)

SetLevel adds the level to the set subsystem logger level params

func (*SetSubsystemLoggerLevelParams) SetSubsystem

func (o *SetSubsystemLoggerLevelParams) SetSubsystem(subsystem string)

SetSubsystem adds the subsystem to the set subsystem logger level params

func (*SetSubsystemLoggerLevelParams) SetTimeout

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

SetTimeout adds the timeout to the set subsystem logger level params

func (*SetSubsystemLoggerLevelParams) WithContext

WithContext adds the context to the set subsystem logger level params

func (*SetSubsystemLoggerLevelParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the set subsystem logger level params

func (*SetSubsystemLoggerLevelParams) WithLevel

WithLevel adds the level to the set subsystem logger level params

func (*SetSubsystemLoggerLevelParams) WithSubsystem

WithSubsystem adds the subsystem to the set subsystem logger level params

func (*SetSubsystemLoggerLevelParams) WithTimeout

WithTimeout adds the timeout to the set subsystem logger level params

func (*SetSubsystemLoggerLevelParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SetSubsystemLoggerLevelReader

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

SetSubsystemLoggerLevelReader is a Reader for the SetSubsystemLoggerLevel structure.

func (*SetSubsystemLoggerLevelReader) ReadResponse

func (o *SetSubsystemLoggerLevelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SubsystemsOK

type SubsystemsOK struct {
	Payload *models.SubsystemSummary
}

SubsystemsOK handles this case with default header values.

No response was specified

func NewSubsystemsOK

func NewSubsystemsOK() *SubsystemsOK

NewSubsystemsOK creates a SubsystemsOK with default headers values

func (*SubsystemsOK) Error

func (o *SubsystemsOK) Error() string

type SubsystemsParams

type SubsystemsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

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

func NewSubsystemsParams

func NewSubsystemsParams() *SubsystemsParams

NewSubsystemsParams creates a new SubsystemsParams object with the default values initialized.

func NewSubsystemsParamsWithContext

func NewSubsystemsParamsWithContext(ctx context.Context) *SubsystemsParams

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

func NewSubsystemsParamsWithHTTPClient

func NewSubsystemsParamsWithHTTPClient(client *http.Client) *SubsystemsParams

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

func NewSubsystemsParamsWithTimeout

func NewSubsystemsParamsWithTimeout(timeout time.Duration) *SubsystemsParams

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

func (*SubsystemsParams) SetContext

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

SetContext adds the context to the subsystems params

func (*SubsystemsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the subsystems params

func (*SubsystemsParams) SetTimeout

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

SetTimeout adds the timeout to the subsystems params

func (*SubsystemsParams) WithContext

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

WithContext adds the context to the subsystems params

func (*SubsystemsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the subsystems params

func (*SubsystemsParams) WithTimeout

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

WithTimeout adds the timeout to the subsystems params

func (*SubsystemsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SubsystemsReader

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

SubsystemsReader is a Reader for the Subsystems structure.

func (*SubsystemsReader) ReadResponse

func (o *SubsystemsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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