log_service_config

package
v2.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2023 License: ISC Imports: 10 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 log service config API

func (*Client) GetLogServiceConfigs

func (a *Client) GetLogServiceConfigs(params *GetLogServiceConfigsParams, opts ...ClientOption) (*GetLogServiceConfigsOK, error)

GetLogServiceConfigs get log service configs API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetLogServiceConfigs(params *GetLogServiceConfigsParams, opts ...ClientOption) (*GetLogServiceConfigsOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new log service config API client.

type GetLogServiceConfigsBadRequest

type GetLogServiceConfigsBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetLogServiceConfigsBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetLogServiceConfigsBadRequest

func NewGetLogServiceConfigsBadRequest() *GetLogServiceConfigsBadRequest

NewGetLogServiceConfigsBadRequest creates a GetLogServiceConfigsBadRequest with default headers values

func (*GetLogServiceConfigsBadRequest) Error

func (*GetLogServiceConfigsBadRequest) GetPayload

type GetLogServiceConfigsInternalServerError

type GetLogServiceConfigsInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetLogServiceConfigsInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetLogServiceConfigsInternalServerError

func NewGetLogServiceConfigsInternalServerError() *GetLogServiceConfigsInternalServerError

NewGetLogServiceConfigsInternalServerError creates a GetLogServiceConfigsInternalServerError with default headers values

func (*GetLogServiceConfigsInternalServerError) Error

func (*GetLogServiceConfigsInternalServerError) GetPayload

type GetLogServiceConfigsNotFound

type GetLogServiceConfigsNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetLogServiceConfigsNotFound describes a response with status code 404, with default header values.

Not found

func NewGetLogServiceConfigsNotFound

func NewGetLogServiceConfigsNotFound() *GetLogServiceConfigsNotFound

NewGetLogServiceConfigsNotFound creates a GetLogServiceConfigsNotFound with default headers values

func (*GetLogServiceConfigsNotFound) Error

func (*GetLogServiceConfigsNotFound) GetPayload

type GetLogServiceConfigsOK

type GetLogServiceConfigsOK struct {
	XTowerRequestID string

	Payload []*models.LogServiceConfig
}
GetLogServiceConfigsOK describes a response with status code 200, with default header values.

GetLogServiceConfigsOK get log service configs o k

func NewGetLogServiceConfigsOK

func NewGetLogServiceConfigsOK() *GetLogServiceConfigsOK

NewGetLogServiceConfigsOK creates a GetLogServiceConfigsOK with default headers values

func (*GetLogServiceConfigsOK) Error

func (o *GetLogServiceConfigsOK) Error() string

func (*GetLogServiceConfigsOK) GetPayload

func (o *GetLogServiceConfigsOK) GetPayload() []*models.LogServiceConfig

type GetLogServiceConfigsParams

type GetLogServiceConfigsParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetLogServiceConfigsRequestBody

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

GetLogServiceConfigsParams contains all the parameters to send to the API endpoint

for the get log service configs operation.

Typically these are written to a http.Request.

func NewGetLogServiceConfigsParams

func NewGetLogServiceConfigsParams() *GetLogServiceConfigsParams

NewGetLogServiceConfigsParams creates a new GetLogServiceConfigsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetLogServiceConfigsParamsWithContext

func NewGetLogServiceConfigsParamsWithContext(ctx context.Context) *GetLogServiceConfigsParams

NewGetLogServiceConfigsParamsWithContext creates a new GetLogServiceConfigsParams object with the ability to set a context for a request.

func NewGetLogServiceConfigsParamsWithHTTPClient

func NewGetLogServiceConfigsParamsWithHTTPClient(client *http.Client) *GetLogServiceConfigsParams

NewGetLogServiceConfigsParamsWithHTTPClient creates a new GetLogServiceConfigsParams object with the ability to set a custom HTTPClient for a request.

func NewGetLogServiceConfigsParamsWithTimeout

func NewGetLogServiceConfigsParamsWithTimeout(timeout time.Duration) *GetLogServiceConfigsParams

NewGetLogServiceConfigsParamsWithTimeout creates a new GetLogServiceConfigsParams object with the ability to set a timeout on a request.

func (*GetLogServiceConfigsParams) SetContentLanguage

func (o *GetLogServiceConfigsParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get log service configs params

func (*GetLogServiceConfigsParams) SetContext

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

SetContext adds the context to the get log service configs params

func (*GetLogServiceConfigsParams) SetDefaults

func (o *GetLogServiceConfigsParams) SetDefaults()

SetDefaults hydrates default values in the get log service configs params (not the query body).

All values with no default are reset to their zero value.

func (*GetLogServiceConfigsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get log service configs params

func (*GetLogServiceConfigsParams) SetRequestBody

func (o *GetLogServiceConfigsParams) SetRequestBody(requestBody *models.GetLogServiceConfigsRequestBody)

SetRequestBody adds the requestBody to the get log service configs params

func (*GetLogServiceConfigsParams) SetTimeout

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

SetTimeout adds the timeout to the get log service configs params

func (*GetLogServiceConfigsParams) WithContentLanguage

func (o *GetLogServiceConfigsParams) WithContentLanguage(contentLanguage *string) *GetLogServiceConfigsParams

WithContentLanguage adds the contentLanguage to the get log service configs params

func (*GetLogServiceConfigsParams) WithContext

WithContext adds the context to the get log service configs params

func (*GetLogServiceConfigsParams) WithDefaults

WithDefaults hydrates default values in the get log service configs params (not the query body).

All values with no default are reset to their zero value.

func (*GetLogServiceConfigsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get log service configs params

func (*GetLogServiceConfigsParams) WithRequestBody

WithRequestBody adds the requestBody to the get log service configs params

func (*GetLogServiceConfigsParams) WithTimeout

WithTimeout adds the timeout to the get log service configs params

func (*GetLogServiceConfigsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetLogServiceConfigsReader

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

GetLogServiceConfigsReader is a Reader for the GetLogServiceConfigs structure.

func (*GetLogServiceConfigsReader) ReadResponse

func (o *GetLogServiceConfigsReader) 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