otel_metrics_ingestion

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: Apache-2.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 Client

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

Client for otel metrics ingestion API

func (*Client) CreateOtelMetricsIngestion

func (a *Client) CreateOtelMetricsIngestion(params *CreateOtelMetricsIngestionParams, opts ...ClientOption) (*CreateOtelMetricsIngestionOK, error)

CreateOtelMetricsIngestion create otel metrics ingestion API

func (*Client) DeleteOtelMetricsIngestion

func (a *Client) DeleteOtelMetricsIngestion(params *DeleteOtelMetricsIngestionParams, opts ...ClientOption) (*DeleteOtelMetricsIngestionOK, error)

DeleteOtelMetricsIngestion delete otel metrics ingestion API

func (*Client) ReadOtelMetricsIngestion

func (a *Client) ReadOtelMetricsIngestion(params *ReadOtelMetricsIngestionParams, opts ...ClientOption) (*ReadOtelMetricsIngestionOK, error)

ReadOtelMetricsIngestion read otel metrics ingestion API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateOtelMetricsIngestion

func (a *Client) UpdateOtelMetricsIngestion(params *UpdateOtelMetricsIngestionParams, opts ...ClientOption) (*UpdateOtelMetricsIngestionOK, error)

UpdateOtelMetricsIngestion update otel metrics ingestion API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateOtelMetricsIngestion(params *CreateOtelMetricsIngestionParams, opts ...ClientOption) (*CreateOtelMetricsIngestionOK, error)

	DeleteOtelMetricsIngestion(params *DeleteOtelMetricsIngestionParams, opts ...ClientOption) (*DeleteOtelMetricsIngestionOK, error)

	ReadOtelMetricsIngestion(params *ReadOtelMetricsIngestionParams, opts ...ClientOption) (*ReadOtelMetricsIngestionOK, error)

	UpdateOtelMetricsIngestion(params *UpdateOtelMetricsIngestionParams, opts ...ClientOption) (*UpdateOtelMetricsIngestionOK, 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 otel metrics ingestion API client.

type CreateOtelMetricsIngestionBadRequest

type CreateOtelMetricsIngestionBadRequest struct {
	Payload *models.APIError
}

CreateOtelMetricsIngestionBadRequest describes a response with status code 400, with default header values.

Cannot create the OtelMetricsIngestion because the request is invalid.

func NewCreateOtelMetricsIngestionBadRequest

func NewCreateOtelMetricsIngestionBadRequest() *CreateOtelMetricsIngestionBadRequest

NewCreateOtelMetricsIngestionBadRequest creates a CreateOtelMetricsIngestionBadRequest with default headers values

func (*CreateOtelMetricsIngestionBadRequest) Code

Code gets the status code for the create otel metrics ingestion bad request response

func (*CreateOtelMetricsIngestionBadRequest) Error

func (*CreateOtelMetricsIngestionBadRequest) GetPayload

func (*CreateOtelMetricsIngestionBadRequest) IsClientError

func (o *CreateOtelMetricsIngestionBadRequest) IsClientError() bool

IsClientError returns true when this create otel metrics ingestion bad request response has a 4xx status code

func (*CreateOtelMetricsIngestionBadRequest) IsCode

IsCode returns true when this create otel metrics ingestion bad request response a status code equal to that given

func (*CreateOtelMetricsIngestionBadRequest) IsRedirect

IsRedirect returns true when this create otel metrics ingestion bad request response has a 3xx status code

func (*CreateOtelMetricsIngestionBadRequest) IsServerError

func (o *CreateOtelMetricsIngestionBadRequest) IsServerError() bool

IsServerError returns true when this create otel metrics ingestion bad request response has a 5xx status code

func (*CreateOtelMetricsIngestionBadRequest) IsSuccess

IsSuccess returns true when this create otel metrics ingestion bad request response has a 2xx status code

func (*CreateOtelMetricsIngestionBadRequest) String

type CreateOtelMetricsIngestionConflict

type CreateOtelMetricsIngestionConflict struct {
	Payload *models.APIError
}

CreateOtelMetricsIngestionConflict describes a response with status code 409, with default header values.

Cannot create the OtelMetricsIngestion because there is a conflict with an existing OtelMetricsIngestion.

func NewCreateOtelMetricsIngestionConflict

func NewCreateOtelMetricsIngestionConflict() *CreateOtelMetricsIngestionConflict

NewCreateOtelMetricsIngestionConflict creates a CreateOtelMetricsIngestionConflict with default headers values

func (*CreateOtelMetricsIngestionConflict) Code

Code gets the status code for the create otel metrics ingestion conflict response

func (*CreateOtelMetricsIngestionConflict) Error

func (*CreateOtelMetricsIngestionConflict) GetPayload

func (*CreateOtelMetricsIngestionConflict) IsClientError

func (o *CreateOtelMetricsIngestionConflict) IsClientError() bool

IsClientError returns true when this create otel metrics ingestion conflict response has a 4xx status code

func (*CreateOtelMetricsIngestionConflict) IsCode

IsCode returns true when this create otel metrics ingestion conflict response a status code equal to that given

func (*CreateOtelMetricsIngestionConflict) IsRedirect

func (o *CreateOtelMetricsIngestionConflict) IsRedirect() bool

IsRedirect returns true when this create otel metrics ingestion conflict response has a 3xx status code

func (*CreateOtelMetricsIngestionConflict) IsServerError

func (o *CreateOtelMetricsIngestionConflict) IsServerError() bool

IsServerError returns true when this create otel metrics ingestion conflict response has a 5xx status code

func (*CreateOtelMetricsIngestionConflict) IsSuccess

IsSuccess returns true when this create otel metrics ingestion conflict response has a 2xx status code

func (*CreateOtelMetricsIngestionConflict) String

type CreateOtelMetricsIngestionDefault

type CreateOtelMetricsIngestionDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

CreateOtelMetricsIngestionDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewCreateOtelMetricsIngestionDefault

func NewCreateOtelMetricsIngestionDefault(code int) *CreateOtelMetricsIngestionDefault

NewCreateOtelMetricsIngestionDefault creates a CreateOtelMetricsIngestionDefault with default headers values

func (*CreateOtelMetricsIngestionDefault) Code

Code gets the status code for the create otel metrics ingestion default response

func (*CreateOtelMetricsIngestionDefault) Error

func (*CreateOtelMetricsIngestionDefault) GetPayload

func (*CreateOtelMetricsIngestionDefault) IsClientError

func (o *CreateOtelMetricsIngestionDefault) IsClientError() bool

IsClientError returns true when this create otel metrics ingestion default response has a 4xx status code

func (*CreateOtelMetricsIngestionDefault) IsCode

func (o *CreateOtelMetricsIngestionDefault) IsCode(code int) bool

IsCode returns true when this create otel metrics ingestion default response a status code equal to that given

func (*CreateOtelMetricsIngestionDefault) IsRedirect

func (o *CreateOtelMetricsIngestionDefault) IsRedirect() bool

IsRedirect returns true when this create otel metrics ingestion default response has a 3xx status code

func (*CreateOtelMetricsIngestionDefault) IsServerError

func (o *CreateOtelMetricsIngestionDefault) IsServerError() bool

IsServerError returns true when this create otel metrics ingestion default response has a 5xx status code

func (*CreateOtelMetricsIngestionDefault) IsSuccess

func (o *CreateOtelMetricsIngestionDefault) IsSuccess() bool

IsSuccess returns true when this create otel metrics ingestion default response has a 2xx status code

func (*CreateOtelMetricsIngestionDefault) String

type CreateOtelMetricsIngestionInternalServerError

type CreateOtelMetricsIngestionInternalServerError struct {
	Payload *models.APIError
}

CreateOtelMetricsIngestionInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewCreateOtelMetricsIngestionInternalServerError

func NewCreateOtelMetricsIngestionInternalServerError() *CreateOtelMetricsIngestionInternalServerError

NewCreateOtelMetricsIngestionInternalServerError creates a CreateOtelMetricsIngestionInternalServerError with default headers values

func (*CreateOtelMetricsIngestionInternalServerError) Code

Code gets the status code for the create otel metrics ingestion internal server error response

func (*CreateOtelMetricsIngestionInternalServerError) Error

func (*CreateOtelMetricsIngestionInternalServerError) GetPayload

func (*CreateOtelMetricsIngestionInternalServerError) IsClientError

IsClientError returns true when this create otel metrics ingestion internal server error response has a 4xx status code

func (*CreateOtelMetricsIngestionInternalServerError) IsCode

IsCode returns true when this create otel metrics ingestion internal server error response a status code equal to that given

func (*CreateOtelMetricsIngestionInternalServerError) IsRedirect

IsRedirect returns true when this create otel metrics ingestion internal server error response has a 3xx status code

func (*CreateOtelMetricsIngestionInternalServerError) IsServerError

IsServerError returns true when this create otel metrics ingestion internal server error response has a 5xx status code

func (*CreateOtelMetricsIngestionInternalServerError) IsSuccess

IsSuccess returns true when this create otel metrics ingestion internal server error response has a 2xx status code

func (*CreateOtelMetricsIngestionInternalServerError) String

type CreateOtelMetricsIngestionOK

type CreateOtelMetricsIngestionOK struct {
	Payload *models.Configv1CreateOtelMetricsIngestionResponse
}

CreateOtelMetricsIngestionOK describes a response with status code 200, with default header values.

A successful response containing the created OtelMetricsIngestion.

func NewCreateOtelMetricsIngestionOK

func NewCreateOtelMetricsIngestionOK() *CreateOtelMetricsIngestionOK

NewCreateOtelMetricsIngestionOK creates a CreateOtelMetricsIngestionOK with default headers values

func (*CreateOtelMetricsIngestionOK) Code

Code gets the status code for the create otel metrics ingestion o k response

func (*CreateOtelMetricsIngestionOK) Error

func (*CreateOtelMetricsIngestionOK) GetPayload

func (*CreateOtelMetricsIngestionOK) IsClientError

func (o *CreateOtelMetricsIngestionOK) IsClientError() bool

IsClientError returns true when this create otel metrics ingestion o k response has a 4xx status code

func (*CreateOtelMetricsIngestionOK) IsCode

func (o *CreateOtelMetricsIngestionOK) IsCode(code int) bool

IsCode returns true when this create otel metrics ingestion o k response a status code equal to that given

func (*CreateOtelMetricsIngestionOK) IsRedirect

func (o *CreateOtelMetricsIngestionOK) IsRedirect() bool

IsRedirect returns true when this create otel metrics ingestion o k response has a 3xx status code

func (*CreateOtelMetricsIngestionOK) IsServerError

func (o *CreateOtelMetricsIngestionOK) IsServerError() bool

IsServerError returns true when this create otel metrics ingestion o k response has a 5xx status code

func (*CreateOtelMetricsIngestionOK) IsSuccess

func (o *CreateOtelMetricsIngestionOK) IsSuccess() bool

IsSuccess returns true when this create otel metrics ingestion o k response has a 2xx status code

func (*CreateOtelMetricsIngestionOK) String

type CreateOtelMetricsIngestionParams

type CreateOtelMetricsIngestionParams struct {

	// Body.
	Body *models.Configv1CreateOtelMetricsIngestionRequest

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

CreateOtelMetricsIngestionParams contains all the parameters to send to the API endpoint

for the create otel metrics ingestion operation.

Typically these are written to a http.Request.

func NewCreateOtelMetricsIngestionParams

func NewCreateOtelMetricsIngestionParams() *CreateOtelMetricsIngestionParams

NewCreateOtelMetricsIngestionParams creates a new CreateOtelMetricsIngestionParams 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 NewCreateOtelMetricsIngestionParamsWithContext

func NewCreateOtelMetricsIngestionParamsWithContext(ctx context.Context) *CreateOtelMetricsIngestionParams

NewCreateOtelMetricsIngestionParamsWithContext creates a new CreateOtelMetricsIngestionParams object with the ability to set a context for a request.

func NewCreateOtelMetricsIngestionParamsWithHTTPClient

func NewCreateOtelMetricsIngestionParamsWithHTTPClient(client *http.Client) *CreateOtelMetricsIngestionParams

NewCreateOtelMetricsIngestionParamsWithHTTPClient creates a new CreateOtelMetricsIngestionParams object with the ability to set a custom HTTPClient for a request.

func NewCreateOtelMetricsIngestionParamsWithTimeout

func NewCreateOtelMetricsIngestionParamsWithTimeout(timeout time.Duration) *CreateOtelMetricsIngestionParams

NewCreateOtelMetricsIngestionParamsWithTimeout creates a new CreateOtelMetricsIngestionParams object with the ability to set a timeout on a request.

func (*CreateOtelMetricsIngestionParams) SetBody

SetBody adds the body to the create otel metrics ingestion params

func (*CreateOtelMetricsIngestionParams) SetContext

SetContext adds the context to the create otel metrics ingestion params

func (*CreateOtelMetricsIngestionParams) SetDefaults

func (o *CreateOtelMetricsIngestionParams) SetDefaults()

SetDefaults hydrates default values in the create otel metrics ingestion params (not the query body).

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

func (*CreateOtelMetricsIngestionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create otel metrics ingestion params

func (*CreateOtelMetricsIngestionParams) SetTimeout

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

SetTimeout adds the timeout to the create otel metrics ingestion params

func (*CreateOtelMetricsIngestionParams) WithBody

WithBody adds the body to the create otel metrics ingestion params

func (*CreateOtelMetricsIngestionParams) WithContext

WithContext adds the context to the create otel metrics ingestion params

func (*CreateOtelMetricsIngestionParams) WithDefaults

WithDefaults hydrates default values in the create otel metrics ingestion params (not the query body).

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

func (*CreateOtelMetricsIngestionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create otel metrics ingestion params

func (*CreateOtelMetricsIngestionParams) WithTimeout

WithTimeout adds the timeout to the create otel metrics ingestion params

func (*CreateOtelMetricsIngestionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateOtelMetricsIngestionReader

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

CreateOtelMetricsIngestionReader is a Reader for the CreateOtelMetricsIngestion structure.

func (*CreateOtelMetricsIngestionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteOtelMetricsIngestionBadRequest

type DeleteOtelMetricsIngestionBadRequest struct {
	Payload *models.APIError
}

DeleteOtelMetricsIngestionBadRequest describes a response with status code 400, with default header values.

Cannot delete the OtelMetricsIngestion because it is in use.

func NewDeleteOtelMetricsIngestionBadRequest

func NewDeleteOtelMetricsIngestionBadRequest() *DeleteOtelMetricsIngestionBadRequest

NewDeleteOtelMetricsIngestionBadRequest creates a DeleteOtelMetricsIngestionBadRequest with default headers values

func (*DeleteOtelMetricsIngestionBadRequest) Code

Code gets the status code for the delete otel metrics ingestion bad request response

func (*DeleteOtelMetricsIngestionBadRequest) Error

func (*DeleteOtelMetricsIngestionBadRequest) GetPayload

func (*DeleteOtelMetricsIngestionBadRequest) IsClientError

func (o *DeleteOtelMetricsIngestionBadRequest) IsClientError() bool

IsClientError returns true when this delete otel metrics ingestion bad request response has a 4xx status code

func (*DeleteOtelMetricsIngestionBadRequest) IsCode

IsCode returns true when this delete otel metrics ingestion bad request response a status code equal to that given

func (*DeleteOtelMetricsIngestionBadRequest) IsRedirect

IsRedirect returns true when this delete otel metrics ingestion bad request response has a 3xx status code

func (*DeleteOtelMetricsIngestionBadRequest) IsServerError

func (o *DeleteOtelMetricsIngestionBadRequest) IsServerError() bool

IsServerError returns true when this delete otel metrics ingestion bad request response has a 5xx status code

func (*DeleteOtelMetricsIngestionBadRequest) IsSuccess

IsSuccess returns true when this delete otel metrics ingestion bad request response has a 2xx status code

func (*DeleteOtelMetricsIngestionBadRequest) String

type DeleteOtelMetricsIngestionDefault

type DeleteOtelMetricsIngestionDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

DeleteOtelMetricsIngestionDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewDeleteOtelMetricsIngestionDefault

func NewDeleteOtelMetricsIngestionDefault(code int) *DeleteOtelMetricsIngestionDefault

NewDeleteOtelMetricsIngestionDefault creates a DeleteOtelMetricsIngestionDefault with default headers values

func (*DeleteOtelMetricsIngestionDefault) Code

Code gets the status code for the delete otel metrics ingestion default response

func (*DeleteOtelMetricsIngestionDefault) Error

func (*DeleteOtelMetricsIngestionDefault) GetPayload

func (*DeleteOtelMetricsIngestionDefault) IsClientError

func (o *DeleteOtelMetricsIngestionDefault) IsClientError() bool

IsClientError returns true when this delete otel metrics ingestion default response has a 4xx status code

func (*DeleteOtelMetricsIngestionDefault) IsCode

func (o *DeleteOtelMetricsIngestionDefault) IsCode(code int) bool

IsCode returns true when this delete otel metrics ingestion default response a status code equal to that given

func (*DeleteOtelMetricsIngestionDefault) IsRedirect

func (o *DeleteOtelMetricsIngestionDefault) IsRedirect() bool

IsRedirect returns true when this delete otel metrics ingestion default response has a 3xx status code

func (*DeleteOtelMetricsIngestionDefault) IsServerError

func (o *DeleteOtelMetricsIngestionDefault) IsServerError() bool

IsServerError returns true when this delete otel metrics ingestion default response has a 5xx status code

func (*DeleteOtelMetricsIngestionDefault) IsSuccess

func (o *DeleteOtelMetricsIngestionDefault) IsSuccess() bool

IsSuccess returns true when this delete otel metrics ingestion default response has a 2xx status code

func (*DeleteOtelMetricsIngestionDefault) String

type DeleteOtelMetricsIngestionInternalServerError

type DeleteOtelMetricsIngestionInternalServerError struct {
	Payload *models.APIError
}

DeleteOtelMetricsIngestionInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewDeleteOtelMetricsIngestionInternalServerError

func NewDeleteOtelMetricsIngestionInternalServerError() *DeleteOtelMetricsIngestionInternalServerError

NewDeleteOtelMetricsIngestionInternalServerError creates a DeleteOtelMetricsIngestionInternalServerError with default headers values

func (*DeleteOtelMetricsIngestionInternalServerError) Code

Code gets the status code for the delete otel metrics ingestion internal server error response

func (*DeleteOtelMetricsIngestionInternalServerError) Error

func (*DeleteOtelMetricsIngestionInternalServerError) GetPayload

func (*DeleteOtelMetricsIngestionInternalServerError) IsClientError

IsClientError returns true when this delete otel metrics ingestion internal server error response has a 4xx status code

func (*DeleteOtelMetricsIngestionInternalServerError) IsCode

IsCode returns true when this delete otel metrics ingestion internal server error response a status code equal to that given

func (*DeleteOtelMetricsIngestionInternalServerError) IsRedirect

IsRedirect returns true when this delete otel metrics ingestion internal server error response has a 3xx status code

func (*DeleteOtelMetricsIngestionInternalServerError) IsServerError

IsServerError returns true when this delete otel metrics ingestion internal server error response has a 5xx status code

func (*DeleteOtelMetricsIngestionInternalServerError) IsSuccess

IsSuccess returns true when this delete otel metrics ingestion internal server error response has a 2xx status code

func (*DeleteOtelMetricsIngestionInternalServerError) String

type DeleteOtelMetricsIngestionNotFound

type DeleteOtelMetricsIngestionNotFound struct {
	Payload *models.APIError
}

DeleteOtelMetricsIngestionNotFound describes a response with status code 404, with default header values.

Cannot delete the OtelMetricsIngestion because the slug does not exist.

func NewDeleteOtelMetricsIngestionNotFound

func NewDeleteOtelMetricsIngestionNotFound() *DeleteOtelMetricsIngestionNotFound

NewDeleteOtelMetricsIngestionNotFound creates a DeleteOtelMetricsIngestionNotFound with default headers values

func (*DeleteOtelMetricsIngestionNotFound) Code

Code gets the status code for the delete otel metrics ingestion not found response

func (*DeleteOtelMetricsIngestionNotFound) Error

func (*DeleteOtelMetricsIngestionNotFound) GetPayload

func (*DeleteOtelMetricsIngestionNotFound) IsClientError

func (o *DeleteOtelMetricsIngestionNotFound) IsClientError() bool

IsClientError returns true when this delete otel metrics ingestion not found response has a 4xx status code

func (*DeleteOtelMetricsIngestionNotFound) IsCode

IsCode returns true when this delete otel metrics ingestion not found response a status code equal to that given

func (*DeleteOtelMetricsIngestionNotFound) IsRedirect

func (o *DeleteOtelMetricsIngestionNotFound) IsRedirect() bool

IsRedirect returns true when this delete otel metrics ingestion not found response has a 3xx status code

func (*DeleteOtelMetricsIngestionNotFound) IsServerError

func (o *DeleteOtelMetricsIngestionNotFound) IsServerError() bool

IsServerError returns true when this delete otel metrics ingestion not found response has a 5xx status code

func (*DeleteOtelMetricsIngestionNotFound) IsSuccess

IsSuccess returns true when this delete otel metrics ingestion not found response has a 2xx status code

func (*DeleteOtelMetricsIngestionNotFound) String

type DeleteOtelMetricsIngestionOK

type DeleteOtelMetricsIngestionOK struct {
	Payload models.Configv1DeleteOtelMetricsIngestionResponse
}

DeleteOtelMetricsIngestionOK describes a response with status code 200, with default header values.

A successful response.

func NewDeleteOtelMetricsIngestionOK

func NewDeleteOtelMetricsIngestionOK() *DeleteOtelMetricsIngestionOK

NewDeleteOtelMetricsIngestionOK creates a DeleteOtelMetricsIngestionOK with default headers values

func (*DeleteOtelMetricsIngestionOK) Code

Code gets the status code for the delete otel metrics ingestion o k response

func (*DeleteOtelMetricsIngestionOK) Error

func (*DeleteOtelMetricsIngestionOK) GetPayload

func (*DeleteOtelMetricsIngestionOK) IsClientError

func (o *DeleteOtelMetricsIngestionOK) IsClientError() bool

IsClientError returns true when this delete otel metrics ingestion o k response has a 4xx status code

func (*DeleteOtelMetricsIngestionOK) IsCode

func (o *DeleteOtelMetricsIngestionOK) IsCode(code int) bool

IsCode returns true when this delete otel metrics ingestion o k response a status code equal to that given

func (*DeleteOtelMetricsIngestionOK) IsRedirect

func (o *DeleteOtelMetricsIngestionOK) IsRedirect() bool

IsRedirect returns true when this delete otel metrics ingestion o k response has a 3xx status code

func (*DeleteOtelMetricsIngestionOK) IsServerError

func (o *DeleteOtelMetricsIngestionOK) IsServerError() bool

IsServerError returns true when this delete otel metrics ingestion o k response has a 5xx status code

func (*DeleteOtelMetricsIngestionOK) IsSuccess

func (o *DeleteOtelMetricsIngestionOK) IsSuccess() bool

IsSuccess returns true when this delete otel metrics ingestion o k response has a 2xx status code

func (*DeleteOtelMetricsIngestionOK) String

type DeleteOtelMetricsIngestionParams

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

DeleteOtelMetricsIngestionParams contains all the parameters to send to the API endpoint

for the delete otel metrics ingestion operation.

Typically these are written to a http.Request.

func NewDeleteOtelMetricsIngestionParams

func NewDeleteOtelMetricsIngestionParams() *DeleteOtelMetricsIngestionParams

NewDeleteOtelMetricsIngestionParams creates a new DeleteOtelMetricsIngestionParams 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 NewDeleteOtelMetricsIngestionParamsWithContext

func NewDeleteOtelMetricsIngestionParamsWithContext(ctx context.Context) *DeleteOtelMetricsIngestionParams

NewDeleteOtelMetricsIngestionParamsWithContext creates a new DeleteOtelMetricsIngestionParams object with the ability to set a context for a request.

func NewDeleteOtelMetricsIngestionParamsWithHTTPClient

func NewDeleteOtelMetricsIngestionParamsWithHTTPClient(client *http.Client) *DeleteOtelMetricsIngestionParams

NewDeleteOtelMetricsIngestionParamsWithHTTPClient creates a new DeleteOtelMetricsIngestionParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteOtelMetricsIngestionParamsWithTimeout

func NewDeleteOtelMetricsIngestionParamsWithTimeout(timeout time.Duration) *DeleteOtelMetricsIngestionParams

NewDeleteOtelMetricsIngestionParamsWithTimeout creates a new DeleteOtelMetricsIngestionParams object with the ability to set a timeout on a request.

func (*DeleteOtelMetricsIngestionParams) SetContext

SetContext adds the context to the delete otel metrics ingestion params

func (*DeleteOtelMetricsIngestionParams) SetDefaults

func (o *DeleteOtelMetricsIngestionParams) SetDefaults()

SetDefaults hydrates default values in the delete otel metrics ingestion params (not the query body).

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

func (*DeleteOtelMetricsIngestionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete otel metrics ingestion params

func (*DeleteOtelMetricsIngestionParams) SetTimeout

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

SetTimeout adds the timeout to the delete otel metrics ingestion params

func (*DeleteOtelMetricsIngestionParams) WithContext

WithContext adds the context to the delete otel metrics ingestion params

func (*DeleteOtelMetricsIngestionParams) WithDefaults

WithDefaults hydrates default values in the delete otel metrics ingestion params (not the query body).

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

func (*DeleteOtelMetricsIngestionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete otel metrics ingestion params

func (*DeleteOtelMetricsIngestionParams) WithTimeout

WithTimeout adds the timeout to the delete otel metrics ingestion params

func (*DeleteOtelMetricsIngestionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteOtelMetricsIngestionReader

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

DeleteOtelMetricsIngestionReader is a Reader for the DeleteOtelMetricsIngestion structure.

func (*DeleteOtelMetricsIngestionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReadOtelMetricsIngestionDefault

type ReadOtelMetricsIngestionDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

ReadOtelMetricsIngestionDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewReadOtelMetricsIngestionDefault

func NewReadOtelMetricsIngestionDefault(code int) *ReadOtelMetricsIngestionDefault

NewReadOtelMetricsIngestionDefault creates a ReadOtelMetricsIngestionDefault with default headers values

func (*ReadOtelMetricsIngestionDefault) Code

Code gets the status code for the read otel metrics ingestion default response

func (*ReadOtelMetricsIngestionDefault) Error

func (*ReadOtelMetricsIngestionDefault) GetPayload

func (*ReadOtelMetricsIngestionDefault) IsClientError

func (o *ReadOtelMetricsIngestionDefault) IsClientError() bool

IsClientError returns true when this read otel metrics ingestion default response has a 4xx status code

func (*ReadOtelMetricsIngestionDefault) IsCode

func (o *ReadOtelMetricsIngestionDefault) IsCode(code int) bool

IsCode returns true when this read otel metrics ingestion default response a status code equal to that given

func (*ReadOtelMetricsIngestionDefault) IsRedirect

func (o *ReadOtelMetricsIngestionDefault) IsRedirect() bool

IsRedirect returns true when this read otel metrics ingestion default response has a 3xx status code

func (*ReadOtelMetricsIngestionDefault) IsServerError

func (o *ReadOtelMetricsIngestionDefault) IsServerError() bool

IsServerError returns true when this read otel metrics ingestion default response has a 5xx status code

func (*ReadOtelMetricsIngestionDefault) IsSuccess

func (o *ReadOtelMetricsIngestionDefault) IsSuccess() bool

IsSuccess returns true when this read otel metrics ingestion default response has a 2xx status code

func (*ReadOtelMetricsIngestionDefault) String

type ReadOtelMetricsIngestionInternalServerError

type ReadOtelMetricsIngestionInternalServerError struct {
	Payload *models.APIError
}

ReadOtelMetricsIngestionInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewReadOtelMetricsIngestionInternalServerError

func NewReadOtelMetricsIngestionInternalServerError() *ReadOtelMetricsIngestionInternalServerError

NewReadOtelMetricsIngestionInternalServerError creates a ReadOtelMetricsIngestionInternalServerError with default headers values

func (*ReadOtelMetricsIngestionInternalServerError) Code

Code gets the status code for the read otel metrics ingestion internal server error response

func (*ReadOtelMetricsIngestionInternalServerError) Error

func (*ReadOtelMetricsIngestionInternalServerError) GetPayload

func (*ReadOtelMetricsIngestionInternalServerError) IsClientError

IsClientError returns true when this read otel metrics ingestion internal server error response has a 4xx status code

func (*ReadOtelMetricsIngestionInternalServerError) IsCode

IsCode returns true when this read otel metrics ingestion internal server error response a status code equal to that given

func (*ReadOtelMetricsIngestionInternalServerError) IsRedirect

IsRedirect returns true when this read otel metrics ingestion internal server error response has a 3xx status code

func (*ReadOtelMetricsIngestionInternalServerError) IsServerError

IsServerError returns true when this read otel metrics ingestion internal server error response has a 5xx status code

func (*ReadOtelMetricsIngestionInternalServerError) IsSuccess

IsSuccess returns true when this read otel metrics ingestion internal server error response has a 2xx status code

func (*ReadOtelMetricsIngestionInternalServerError) String

type ReadOtelMetricsIngestionNotFound

type ReadOtelMetricsIngestionNotFound struct {
	Payload *models.APIError
}

ReadOtelMetricsIngestionNotFound describes a response with status code 404, with default header values.

Cannot read the OtelMetricsIngestion because OtelMetricsIngestion has not been created.

func NewReadOtelMetricsIngestionNotFound

func NewReadOtelMetricsIngestionNotFound() *ReadOtelMetricsIngestionNotFound

NewReadOtelMetricsIngestionNotFound creates a ReadOtelMetricsIngestionNotFound with default headers values

func (*ReadOtelMetricsIngestionNotFound) Code

Code gets the status code for the read otel metrics ingestion not found response

func (*ReadOtelMetricsIngestionNotFound) Error

func (*ReadOtelMetricsIngestionNotFound) GetPayload

func (*ReadOtelMetricsIngestionNotFound) IsClientError

func (o *ReadOtelMetricsIngestionNotFound) IsClientError() bool

IsClientError returns true when this read otel metrics ingestion not found response has a 4xx status code

func (*ReadOtelMetricsIngestionNotFound) IsCode

func (o *ReadOtelMetricsIngestionNotFound) IsCode(code int) bool

IsCode returns true when this read otel metrics ingestion not found response a status code equal to that given

func (*ReadOtelMetricsIngestionNotFound) IsRedirect

func (o *ReadOtelMetricsIngestionNotFound) IsRedirect() bool

IsRedirect returns true when this read otel metrics ingestion not found response has a 3xx status code

func (*ReadOtelMetricsIngestionNotFound) IsServerError

func (o *ReadOtelMetricsIngestionNotFound) IsServerError() bool

IsServerError returns true when this read otel metrics ingestion not found response has a 5xx status code

func (*ReadOtelMetricsIngestionNotFound) IsSuccess

func (o *ReadOtelMetricsIngestionNotFound) IsSuccess() bool

IsSuccess returns true when this read otel metrics ingestion not found response has a 2xx status code

func (*ReadOtelMetricsIngestionNotFound) String

type ReadOtelMetricsIngestionOK

type ReadOtelMetricsIngestionOK struct {
	Payload *models.Configv1ReadOtelMetricsIngestionResponse
}

ReadOtelMetricsIngestionOK describes a response with status code 200, with default header values.

A successful response.

func NewReadOtelMetricsIngestionOK

func NewReadOtelMetricsIngestionOK() *ReadOtelMetricsIngestionOK

NewReadOtelMetricsIngestionOK creates a ReadOtelMetricsIngestionOK with default headers values

func (*ReadOtelMetricsIngestionOK) Code

func (o *ReadOtelMetricsIngestionOK) Code() int

Code gets the status code for the read otel metrics ingestion o k response

func (*ReadOtelMetricsIngestionOK) Error

func (*ReadOtelMetricsIngestionOK) GetPayload

func (*ReadOtelMetricsIngestionOK) IsClientError

func (o *ReadOtelMetricsIngestionOK) IsClientError() bool

IsClientError returns true when this read otel metrics ingestion o k response has a 4xx status code

func (*ReadOtelMetricsIngestionOK) IsCode

func (o *ReadOtelMetricsIngestionOK) IsCode(code int) bool

IsCode returns true when this read otel metrics ingestion o k response a status code equal to that given

func (*ReadOtelMetricsIngestionOK) IsRedirect

func (o *ReadOtelMetricsIngestionOK) IsRedirect() bool

IsRedirect returns true when this read otel metrics ingestion o k response has a 3xx status code

func (*ReadOtelMetricsIngestionOK) IsServerError

func (o *ReadOtelMetricsIngestionOK) IsServerError() bool

IsServerError returns true when this read otel metrics ingestion o k response has a 5xx status code

func (*ReadOtelMetricsIngestionOK) IsSuccess

func (o *ReadOtelMetricsIngestionOK) IsSuccess() bool

IsSuccess returns true when this read otel metrics ingestion o k response has a 2xx status code

func (*ReadOtelMetricsIngestionOK) String

func (o *ReadOtelMetricsIngestionOK) String() string

type ReadOtelMetricsIngestionParams

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

ReadOtelMetricsIngestionParams contains all the parameters to send to the API endpoint

for the read otel metrics ingestion operation.

Typically these are written to a http.Request.

func NewReadOtelMetricsIngestionParams

func NewReadOtelMetricsIngestionParams() *ReadOtelMetricsIngestionParams

NewReadOtelMetricsIngestionParams creates a new ReadOtelMetricsIngestionParams 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 NewReadOtelMetricsIngestionParamsWithContext

func NewReadOtelMetricsIngestionParamsWithContext(ctx context.Context) *ReadOtelMetricsIngestionParams

NewReadOtelMetricsIngestionParamsWithContext creates a new ReadOtelMetricsIngestionParams object with the ability to set a context for a request.

func NewReadOtelMetricsIngestionParamsWithHTTPClient

func NewReadOtelMetricsIngestionParamsWithHTTPClient(client *http.Client) *ReadOtelMetricsIngestionParams

NewReadOtelMetricsIngestionParamsWithHTTPClient creates a new ReadOtelMetricsIngestionParams object with the ability to set a custom HTTPClient for a request.

func NewReadOtelMetricsIngestionParamsWithTimeout

func NewReadOtelMetricsIngestionParamsWithTimeout(timeout time.Duration) *ReadOtelMetricsIngestionParams

NewReadOtelMetricsIngestionParamsWithTimeout creates a new ReadOtelMetricsIngestionParams object with the ability to set a timeout on a request.

func (*ReadOtelMetricsIngestionParams) SetContext

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

SetContext adds the context to the read otel metrics ingestion params

func (*ReadOtelMetricsIngestionParams) SetDefaults

func (o *ReadOtelMetricsIngestionParams) SetDefaults()

SetDefaults hydrates default values in the read otel metrics ingestion params (not the query body).

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

func (*ReadOtelMetricsIngestionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the read otel metrics ingestion params

func (*ReadOtelMetricsIngestionParams) SetTimeout

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

SetTimeout adds the timeout to the read otel metrics ingestion params

func (*ReadOtelMetricsIngestionParams) WithContext

WithContext adds the context to the read otel metrics ingestion params

func (*ReadOtelMetricsIngestionParams) WithDefaults

WithDefaults hydrates default values in the read otel metrics ingestion params (not the query body).

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

func (*ReadOtelMetricsIngestionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the read otel metrics ingestion params

func (*ReadOtelMetricsIngestionParams) WithTimeout

WithTimeout adds the timeout to the read otel metrics ingestion params

func (*ReadOtelMetricsIngestionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ReadOtelMetricsIngestionReader

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

ReadOtelMetricsIngestionReader is a Reader for the ReadOtelMetricsIngestion structure.

func (*ReadOtelMetricsIngestionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateOtelMetricsIngestionBadRequest

type UpdateOtelMetricsIngestionBadRequest struct {
	Payload *models.APIError
}

UpdateOtelMetricsIngestionBadRequest describes a response with status code 400, with default header values.

Cannot update the OtelMetricsIngestion because the request is invalid.

func NewUpdateOtelMetricsIngestionBadRequest

func NewUpdateOtelMetricsIngestionBadRequest() *UpdateOtelMetricsIngestionBadRequest

NewUpdateOtelMetricsIngestionBadRequest creates a UpdateOtelMetricsIngestionBadRequest with default headers values

func (*UpdateOtelMetricsIngestionBadRequest) Code

Code gets the status code for the update otel metrics ingestion bad request response

func (*UpdateOtelMetricsIngestionBadRequest) Error

func (*UpdateOtelMetricsIngestionBadRequest) GetPayload

func (*UpdateOtelMetricsIngestionBadRequest) IsClientError

func (o *UpdateOtelMetricsIngestionBadRequest) IsClientError() bool

IsClientError returns true when this update otel metrics ingestion bad request response has a 4xx status code

func (*UpdateOtelMetricsIngestionBadRequest) IsCode

IsCode returns true when this update otel metrics ingestion bad request response a status code equal to that given

func (*UpdateOtelMetricsIngestionBadRequest) IsRedirect

IsRedirect returns true when this update otel metrics ingestion bad request response has a 3xx status code

func (*UpdateOtelMetricsIngestionBadRequest) IsServerError

func (o *UpdateOtelMetricsIngestionBadRequest) IsServerError() bool

IsServerError returns true when this update otel metrics ingestion bad request response has a 5xx status code

func (*UpdateOtelMetricsIngestionBadRequest) IsSuccess

IsSuccess returns true when this update otel metrics ingestion bad request response has a 2xx status code

func (*UpdateOtelMetricsIngestionBadRequest) String

type UpdateOtelMetricsIngestionDefault

type UpdateOtelMetricsIngestionDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

UpdateOtelMetricsIngestionDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewUpdateOtelMetricsIngestionDefault

func NewUpdateOtelMetricsIngestionDefault(code int) *UpdateOtelMetricsIngestionDefault

NewUpdateOtelMetricsIngestionDefault creates a UpdateOtelMetricsIngestionDefault with default headers values

func (*UpdateOtelMetricsIngestionDefault) Code

Code gets the status code for the update otel metrics ingestion default response

func (*UpdateOtelMetricsIngestionDefault) Error

func (*UpdateOtelMetricsIngestionDefault) GetPayload

func (*UpdateOtelMetricsIngestionDefault) IsClientError

func (o *UpdateOtelMetricsIngestionDefault) IsClientError() bool

IsClientError returns true when this update otel metrics ingestion default response has a 4xx status code

func (*UpdateOtelMetricsIngestionDefault) IsCode

func (o *UpdateOtelMetricsIngestionDefault) IsCode(code int) bool

IsCode returns true when this update otel metrics ingestion default response a status code equal to that given

func (*UpdateOtelMetricsIngestionDefault) IsRedirect

func (o *UpdateOtelMetricsIngestionDefault) IsRedirect() bool

IsRedirect returns true when this update otel metrics ingestion default response has a 3xx status code

func (*UpdateOtelMetricsIngestionDefault) IsServerError

func (o *UpdateOtelMetricsIngestionDefault) IsServerError() bool

IsServerError returns true when this update otel metrics ingestion default response has a 5xx status code

func (*UpdateOtelMetricsIngestionDefault) IsSuccess

func (o *UpdateOtelMetricsIngestionDefault) IsSuccess() bool

IsSuccess returns true when this update otel metrics ingestion default response has a 2xx status code

func (*UpdateOtelMetricsIngestionDefault) String

type UpdateOtelMetricsIngestionInternalServerError

type UpdateOtelMetricsIngestionInternalServerError struct {
	Payload *models.APIError
}

UpdateOtelMetricsIngestionInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewUpdateOtelMetricsIngestionInternalServerError

func NewUpdateOtelMetricsIngestionInternalServerError() *UpdateOtelMetricsIngestionInternalServerError

NewUpdateOtelMetricsIngestionInternalServerError creates a UpdateOtelMetricsIngestionInternalServerError with default headers values

func (*UpdateOtelMetricsIngestionInternalServerError) Code

Code gets the status code for the update otel metrics ingestion internal server error response

func (*UpdateOtelMetricsIngestionInternalServerError) Error

func (*UpdateOtelMetricsIngestionInternalServerError) GetPayload

func (*UpdateOtelMetricsIngestionInternalServerError) IsClientError

IsClientError returns true when this update otel metrics ingestion internal server error response has a 4xx status code

func (*UpdateOtelMetricsIngestionInternalServerError) IsCode

IsCode returns true when this update otel metrics ingestion internal server error response a status code equal to that given

func (*UpdateOtelMetricsIngestionInternalServerError) IsRedirect

IsRedirect returns true when this update otel metrics ingestion internal server error response has a 3xx status code

func (*UpdateOtelMetricsIngestionInternalServerError) IsServerError

IsServerError returns true when this update otel metrics ingestion internal server error response has a 5xx status code

func (*UpdateOtelMetricsIngestionInternalServerError) IsSuccess

IsSuccess returns true when this update otel metrics ingestion internal server error response has a 2xx status code

func (*UpdateOtelMetricsIngestionInternalServerError) String

type UpdateOtelMetricsIngestionNotFound

type UpdateOtelMetricsIngestionNotFound struct {
	Payload *models.APIError
}

UpdateOtelMetricsIngestionNotFound describes a response with status code 404, with default header values.

Cannot update the OtelMetricsIngestion because OtelMetricsIngestion has not been created.

func NewUpdateOtelMetricsIngestionNotFound

func NewUpdateOtelMetricsIngestionNotFound() *UpdateOtelMetricsIngestionNotFound

NewUpdateOtelMetricsIngestionNotFound creates a UpdateOtelMetricsIngestionNotFound with default headers values

func (*UpdateOtelMetricsIngestionNotFound) Code

Code gets the status code for the update otel metrics ingestion not found response

func (*UpdateOtelMetricsIngestionNotFound) Error

func (*UpdateOtelMetricsIngestionNotFound) GetPayload

func (*UpdateOtelMetricsIngestionNotFound) IsClientError

func (o *UpdateOtelMetricsIngestionNotFound) IsClientError() bool

IsClientError returns true when this update otel metrics ingestion not found response has a 4xx status code

func (*UpdateOtelMetricsIngestionNotFound) IsCode

IsCode returns true when this update otel metrics ingestion not found response a status code equal to that given

func (*UpdateOtelMetricsIngestionNotFound) IsRedirect

func (o *UpdateOtelMetricsIngestionNotFound) IsRedirect() bool

IsRedirect returns true when this update otel metrics ingestion not found response has a 3xx status code

func (*UpdateOtelMetricsIngestionNotFound) IsServerError

func (o *UpdateOtelMetricsIngestionNotFound) IsServerError() bool

IsServerError returns true when this update otel metrics ingestion not found response has a 5xx status code

func (*UpdateOtelMetricsIngestionNotFound) IsSuccess

IsSuccess returns true when this update otel metrics ingestion not found response has a 2xx status code

func (*UpdateOtelMetricsIngestionNotFound) String

type UpdateOtelMetricsIngestionOK

type UpdateOtelMetricsIngestionOK struct {
	Payload *models.Configv1UpdateOtelMetricsIngestionResponse
}

UpdateOtelMetricsIngestionOK describes a response with status code 200, with default header values.

A successful response containing the updated OtelMetricsIngestion.

func NewUpdateOtelMetricsIngestionOK

func NewUpdateOtelMetricsIngestionOK() *UpdateOtelMetricsIngestionOK

NewUpdateOtelMetricsIngestionOK creates a UpdateOtelMetricsIngestionOK with default headers values

func (*UpdateOtelMetricsIngestionOK) Code

Code gets the status code for the update otel metrics ingestion o k response

func (*UpdateOtelMetricsIngestionOK) Error

func (*UpdateOtelMetricsIngestionOK) GetPayload

func (*UpdateOtelMetricsIngestionOK) IsClientError

func (o *UpdateOtelMetricsIngestionOK) IsClientError() bool

IsClientError returns true when this update otel metrics ingestion o k response has a 4xx status code

func (*UpdateOtelMetricsIngestionOK) IsCode

func (o *UpdateOtelMetricsIngestionOK) IsCode(code int) bool

IsCode returns true when this update otel metrics ingestion o k response a status code equal to that given

func (*UpdateOtelMetricsIngestionOK) IsRedirect

func (o *UpdateOtelMetricsIngestionOK) IsRedirect() bool

IsRedirect returns true when this update otel metrics ingestion o k response has a 3xx status code

func (*UpdateOtelMetricsIngestionOK) IsServerError

func (o *UpdateOtelMetricsIngestionOK) IsServerError() bool

IsServerError returns true when this update otel metrics ingestion o k response has a 5xx status code

func (*UpdateOtelMetricsIngestionOK) IsSuccess

func (o *UpdateOtelMetricsIngestionOK) IsSuccess() bool

IsSuccess returns true when this update otel metrics ingestion o k response has a 2xx status code

func (*UpdateOtelMetricsIngestionOK) String

type UpdateOtelMetricsIngestionParams

type UpdateOtelMetricsIngestionParams struct {

	// Body.
	Body *models.Configv1UpdateOtelMetricsIngestionRequest

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

UpdateOtelMetricsIngestionParams contains all the parameters to send to the API endpoint

for the update otel metrics ingestion operation.

Typically these are written to a http.Request.

func NewUpdateOtelMetricsIngestionParams

func NewUpdateOtelMetricsIngestionParams() *UpdateOtelMetricsIngestionParams

NewUpdateOtelMetricsIngestionParams creates a new UpdateOtelMetricsIngestionParams 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 NewUpdateOtelMetricsIngestionParamsWithContext

func NewUpdateOtelMetricsIngestionParamsWithContext(ctx context.Context) *UpdateOtelMetricsIngestionParams

NewUpdateOtelMetricsIngestionParamsWithContext creates a new UpdateOtelMetricsIngestionParams object with the ability to set a context for a request.

func NewUpdateOtelMetricsIngestionParamsWithHTTPClient

func NewUpdateOtelMetricsIngestionParamsWithHTTPClient(client *http.Client) *UpdateOtelMetricsIngestionParams

NewUpdateOtelMetricsIngestionParamsWithHTTPClient creates a new UpdateOtelMetricsIngestionParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateOtelMetricsIngestionParamsWithTimeout

func NewUpdateOtelMetricsIngestionParamsWithTimeout(timeout time.Duration) *UpdateOtelMetricsIngestionParams

NewUpdateOtelMetricsIngestionParamsWithTimeout creates a new UpdateOtelMetricsIngestionParams object with the ability to set a timeout on a request.

func (*UpdateOtelMetricsIngestionParams) SetBody

SetBody adds the body to the update otel metrics ingestion params

func (*UpdateOtelMetricsIngestionParams) SetContext

SetContext adds the context to the update otel metrics ingestion params

func (*UpdateOtelMetricsIngestionParams) SetDefaults

func (o *UpdateOtelMetricsIngestionParams) SetDefaults()

SetDefaults hydrates default values in the update otel metrics ingestion params (not the query body).

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

func (*UpdateOtelMetricsIngestionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update otel metrics ingestion params

func (*UpdateOtelMetricsIngestionParams) SetTimeout

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

SetTimeout adds the timeout to the update otel metrics ingestion params

func (*UpdateOtelMetricsIngestionParams) WithBody

WithBody adds the body to the update otel metrics ingestion params

func (*UpdateOtelMetricsIngestionParams) WithContext

WithContext adds the context to the update otel metrics ingestion params

func (*UpdateOtelMetricsIngestionParams) WithDefaults

WithDefaults hydrates default values in the update otel metrics ingestion params (not the query body).

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

func (*UpdateOtelMetricsIngestionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update otel metrics ingestion params

func (*UpdateOtelMetricsIngestionParams) WithTimeout

WithTimeout adds the timeout to the update otel metrics ingestion params

func (*UpdateOtelMetricsIngestionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateOtelMetricsIngestionReader

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

UpdateOtelMetricsIngestionReader is a Reader for the UpdateOtelMetricsIngestion structure.

func (*UpdateOtelMetricsIngestionReader) ReadResponse

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